aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/globals.h
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2020-11-01 21:54:51 +0100
committerGitHub <noreply@github.com>2020-11-01 21:54:51 +0100
commitd1091bc658a7992b9c3eaaba1b701187a60f0b5e (patch)
treeeeb5cdfc10bfe2aa968c63186551ef6564e6f2f3 /src/nvim/globals.h
parent720d442d19de4908e22ecf18223358bb7bbb0753 (diff)
parentc146eddc8b768f1cd395ea0ce54c19e64eff0c08 (diff)
downloadrneovim-d1091bc658a7992b9c3eaaba1b701187a60f0b5e.tar.gz
rneovim-d1091bc658a7992b9c3eaaba1b701187a60f0b5e.tar.bz2
rneovim-d1091bc658a7992b9c3eaaba1b701187a60f0b5e.zip
Merge pull request #12870 from bfredl/themepark
Color themes (per window/line) and lua theme providers
Diffstat (limited to 'src/nvim/globals.h')
-rw-r--r--src/nvim/globals.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nvim/globals.h b/src/nvim/globals.h
index 9e52a4a938..31dd3fc848 100644
--- a/src/nvim/globals.h
+++ b/src/nvim/globals.h
@@ -92,6 +92,10 @@ EXTERN struct nvim_stats_s {
EXTERN int Rows INIT(= DFLT_ROWS); // nr of rows in the screen
EXTERN int Columns INIT(= DFLT_COLS); // nr of columns in the screen
+EXTERN NS ns_hl_active INIT(= 0); // current ns that defines highlights
+EXTERN bool ns_hl_changed INIT(= false); // highlight need update
+
+
// We use 64-bit file functions here, if available. E.g. ftello() returns
// off_t instead of long, which helps if long is 32 bit and off_t is 64 bit.
// We assume that when fseeko() is available then ftello() is too.