aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZyX <kp-pav@yandex.ru>2017-05-20 04:42:26 +0300
committerZyX <kp-pav@yandex.ru>2017-05-20 04:47:01 +0300
commit1dafe1e002d17377d0713a31761164a062a24133 (patch)
tree1f96482cc700a5f8a88651174ce22e3ff481c866
parenta494bf847d7370d53db66a7f5382365cc11af0f0 (diff)
downloadrneovim-1dafe1e002d17377d0713a31761164a062a24133.tar.gz
rneovim-1dafe1e002d17377d0713a31761164a062a24133.tar.bz2
rneovim-1dafe1e002d17377d0713a31761164a062a24133.zip
syntax: Silence V782
Just another pointer hack used with hash tables.
-rw-r--r--src/nvim/syntax.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nvim/syntax.c b/src/nvim/syntax.c
index a0725c5831..a4bb260183 100644
--- a/src/nvim/syntax.c
+++ b/src/nvim/syntax.c
@@ -309,6 +309,8 @@ static keyentry_T dumkey;
#define HIKEY2KE(p) ((keyentry_T *)((p) - (dumkey.keyword - (char_u *)&dumkey)))
#define HI2KE(hi) HIKEY2KE((hi)->hi_key)
+// -V:HI2KE:782
+
/*
* To reduce the time spent in keepend(), remember at which level in the state
* stack the first item with "keepend" is present. When "-1", there is no