diff options
Diffstat (limited to 'src/nvim/drawline.h')
-rw-r--r-- | src/nvim/drawline.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/nvim/drawline.h b/src/nvim/drawline.h index 91261aba78..9a917df0c5 100644 --- a/src/nvim/drawline.h +++ b/src/nvim/drawline.h @@ -23,6 +23,17 @@ EXTERN kvec_t(WinExtmark) win_extmark_arr INIT(= KV_INITIAL_VALUE); EXTERN bool conceal_cursor_used INIT(= false); +// Spell checking variables passed from win_update() to win_line(). +typedef struct { + bool spv_has_spell; ///< drawn window has spell checking + bool spv_unchanged; ///< not updating for changed text + int spv_checked_col; ///< column in "checked_lnum" up to + ///< which there are no spell errors + linenr_T spv_checked_lnum; ///< line number for "checked_col" + int spv_cap_col; ///< column to check for Cap word + linenr_T spv_capcol_lnum; ///< line number for "cap_col" +} spellvars_T; + #ifdef INCLUDE_GENERATED_DECLARATIONS # include "drawline.h.generated.h" #endif |