aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/globals.h
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2020-09-08 09:47:10 +0200
committerBjörn Linse <bjorn.linse@gmail.com>2020-11-01 19:14:56 +0100
commitc146eddc8b768f1cd395ea0ce54c19e64eff0c08 (patch)
treeda1fe59768dcc60901da66b18d848b2d81b6e072 /src/nvim/globals.h
parent037ffd54dcd8edba6787d93273e6696b7a366ac6 (diff)
downloadrneovim-c146eddc8b768f1cd395ea0ce54c19e64eff0c08.tar.gz
rneovim-c146eddc8b768f1cd395ea0ce54c19e64eff0c08.tar.bz2
rneovim-c146eddc8b768f1cd395ea0ce54c19e64eff0c08.zip
api: add API for themes
co-author: hlpr98 <hlpr98@gmail.com> (dict2hlattrs function) orange is sus?? NOVEMBER DAWN erase the lie that is redraw_later()
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 2db8689a56..7f3e4a7dfc 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.