mirror of
https://github.com/neovim/neovim.git
synced 2025-09-27 13:38:34 +00:00
27 lines
540 B
C
27 lines
540 B
C
#ifndef NVIM_SIGN_DEFS_H
|
|
#define NVIM_SIGN_DEFS_H
|
|
|
|
#include "nvim/pos.h"
|
|
|
|
// signs: line annotations
|
|
|
|
typedef struct signlist signlist_T;
|
|
|
|
struct signlist
|
|
{
|
|
int id; /* unique identifier for each placed sign */
|
|
linenr_T lnum; /* line number which has this sign */
|
|
int typenr; /* typenr of sign */
|
|
signlist_T *next; /* next signlist entry */
|
|
};
|
|
|
|
/* type argument for buf_getsigntype() */
|
|
#define SIGN_ANY 0
|
|
#define SIGN_LINEHL 1
|
|
#define SIGN_ICON 2
|
|
#define SIGN_TEXT 3
|
|
|
|
|
|
|
|
#endif // NVIM_SIGN_DEFS_H
|