Data Structures | Macros | Typedefs | Enumerations | Functions
decoration.h File Reference
#include "nvim/buffer_defs.h"
#include "nvim/extmark_defs.h"
#include "nvim/pos.h"

Go to the source code of this file.

Data Structures

struct  Decoration
 
struct  DecorRange
 
struct  DecorState
 
struct  DecorProvider
 

Macros

#define DECOR_PRIORITY_BASE   0x1000
 
#define VIRTTEXT_EMPTY   ((VirtText)KV_INITIAL_VALUE)
 
#define DECORATION_INIT
 
#define DECORATION_PROVIDER_INIT(ns_id)
 

Typedefs

typedef uint16_t DecorPriority
 

Enumerations

enum  VirtTextPos { kVTEndOfLine, kVTOverlay, kVTWinCol, kVTRightAlign }
 
enum  HlMode { kHlModeUnknown, kHlModeReplace, kHlModeCombine, kHlModeBlend }
 

Functions

typedef kvec_t (VirtTextChunk) VirtText
 
typedef kvec_t (struct virt_line { VirtText line;bool left_col;}) VirtLines
 
EXTERN kvec_t (DecorProvider) decor_providers INIT(
 
EXTERN DecorState decor_state INIT (={ 0 })
 

Macro Definition Documentation

◆ DECOR_PRIORITY_BASE

#define DECOR_PRIORITY_BASE   0x1000

◆ DECORATION_INIT

#define DECORATION_INIT
Value:
false, false, false, false, DECOR_PRIORITY_BASE, 0, 0 }

◆ DECORATION_PROVIDER_INIT

#define DECORATION_PROVIDER_INIT (   ns_id)
Value:
{ ns_id, false, LUA_NOREF, LUA_NOREF, \
LUA_NOREF, LUA_NOREF, LUA_NOREF, \
LUA_NOREF, -1 }

◆ VIRTTEXT_EMPTY

#define VIRTTEXT_EMPTY   ((VirtText)KV_INITIAL_VALUE)

Typedef Documentation

◆ DecorPriority

typedef uint16_t DecorPriority

Enumeration Type Documentation

◆ HlMode

enum HlMode
Enumerator
kHlModeUnknown 
kHlModeReplace 
kHlModeCombine 
kHlModeBlend 

◆ VirtTextPos

Enumerator
kVTEndOfLine 
kVTOverlay 
kVTWinCol 
kVTRightAlign 

Function Documentation

◆ INIT()

EXTERN DecorState decor_state INIT ( )

◆ kvec_t() [1/3]

EXTERN kvec_t ( DecorProvider  )

◆ kvec_t() [2/3]

typedef kvec_t ( struct virt_line { VirtText line;bool left_col;}  )

◆ kvec_t() [3/3]

typedef kvec_t ( VirtTextChunk  )
kVTEndOfLine
@ kVTEndOfLine
Definition: decoration.h:14
KV_INITIAL_VALUE
#define KV_INITIAL_VALUE
Definition: kvec.h:51
DECOR_PRIORITY_BASE
#define DECOR_PRIORITY_BASE
Definition: decoration.h:11
DecorProvider
Definition: decoration.h:77
kHlModeUnknown
@ kHlModeUnknown
Definition: decoration.h:21