robin/laufey
git clone https://git.robinwobin.dev/robin/laufey
6a886a2511
master
1#pragma once 2 3#include "nvim/decoration_defs.h" 4#include "nvim/types_defs.h" 5 6/// Sign attributes. Used by the screen refresh routines. 7typedef struct { 8schar_T text [SIGN_WIDTH ]; 9int hl_id ; 10}SignTextAttrs ; 11 12/// Struct to hold the sign properties. 13typedef struct { 14char * sn_name ;// name of sign 15char * sn_icon ;// name of pixmap 16schar_T sn_text [SIGN_WIDTH ];// text used instead of pixmap 17int sn_line_hl ;// highlight ID for line 18int sn_text_hl ;// highlight ID for text 19int sn_cul_hl ;// highlight ID for text on current line when 'cursorline' is set 20int sn_num_hl ;// highlight ID for line number 21int sn_priority ;// default priority of this sign, -1 means SIGN_DEF_PRIO 22}sign_T ; 23 24typedef struct { 25DecorSignHighlight * sh ; 26uint32_t id ; 27}SignItem ; 28 29enum {SIGN_SHOW_MAX = 9 , };///< Maximum number of signs shown on a single line 30enum {SIGN_DEF_PRIO = 10 , };///< Default sign highlight priority