aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/drawline.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/drawline.h')
-rw-r--r--src/nvim/drawline.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/nvim/drawline.h b/src/nvim/drawline.h
index 5a7f220a13..9112deddb3 100644
--- a/src/nvim/drawline.h
+++ b/src/nvim/drawline.h
@@ -4,14 +4,12 @@
#include <stdint.h>
#include "klib/kvec.h"
-#include "nvim/decoration_provider.h"
-#include "nvim/fold_defs.h"
+#include "nvim/fold_defs.h" // IWYU pragma: keep
#include "nvim/macros_defs.h"
#include "nvim/pos_defs.h"
#include "nvim/types_defs.h"
-// Maximum columns for terminal highlight attributes
-#define TERM_ATTRS_MAX 1024
+enum { TERM_ATTRS_MAX = 1024, }; ///< Maximum columns for terminal highlight attributes
typedef struct {
NS ns_id;
@@ -23,7 +21,7 @@ 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().
+/// 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