robin/laufey
git clone https://git.robinwobin.dev/robin/laufey
38986188ba
master
1#pragma once 2 3#include <stdbool.h> 4#include <stdint.h> 5 6#include "klib/kvec.h" 7#include "nvim/fold_defs.h" // IWYU pragma: keep 8#include "nvim/macros_defs.h" 9#include "nvim/pos_defs.h" 10#include "nvim/types_defs.h" 11 12enum {TERM_ATTRS_MAX = 1024 , };///< Maximum columns for terminal highlight attributes 13 14typedef struct { 15NS ns_id ; 16uint64_t mark_id ; 17int win_row ; 18int win_col ; 19}WinExtmark ; 20EXTERN kvec_t (WinExtmark )win_extmark_arr INIT (= KV_INITIAL_VALUE ); 21 22/// Spell checking variables passed from win_update() to win_line(). 23typedef struct { 24bool spv_has_spell ;///< drawn window has spell checking 25bool spv_unchanged ;///< not updating for changed text 26int spv_checked_col ;///< column in "checked_lnum" up to 27///< which there are no spell errors 28linenr_T spv_checked_lnum ;///< line number for "checked_col" 29int spv_cap_col ;///< column to check for Cap word 30linenr_T spv_capcol_lnum ;///< line number for "cap_col" 31}spellvars_T ; 32 33#include "drawline.h.generated.h"