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
 

Macros

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

Typedefs

typedef uint16_t DecorPriority
 

Enumerations

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

Functions

const EXTERN char *const virt_text_pos_str[] INIT (={ "eol", "overlay", "win_col", "right_align" })
 
typedef kvec_t (VirtTextChunk) VirtText
 
typedef kvec_t (struct virt_line { VirtText line;bool left_col;}) VirtLines
 

Macro Definition Documentation

◆ DECOR_PRIORITY_BASE

#define DECOR_PRIORITY_BASE   0x1000

◆ DECORATION_INIT

#define DECORATION_INIT
Value:
kHlModeUnknown, false, false, false, false, DECOR_PRIORITY_BASE, \
0, 0, NULL, 0, 0, 0, 0, 0, false }

◆ 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()

const EXTERN char* const virt_text_pos_str [] INIT ( )

◆ kvec_t() [1/2]

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

◆ kvec_t() [2/2]

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
NULL
return NULL
Definition: eval.c:9968