aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries
diff options
context:
space:
mode:
authorLewis Russell <me@lewisr.dev>2022-09-06 11:23:01 +0100
committerGitHub <noreply@github.com>2022-09-06 11:23:01 +0100
commit84d1094958fdbdda67f629197924d4146e2a1887 (patch)
tree98e20f97a5c5ce818ade4f330bca45ca1d4d26bf /runtime/queries
parent05893aea391d91e159a41f03acc20049c7049510 (diff)
parent75adfefc85bcf0d62d2c0f51a951e6003b595cea (diff)
downloadrneovim-84d1094958fdbdda67f629197924d4146e2a1887.tar.gz
rneovim-84d1094958fdbdda67f629197924d4146e2a1887.tar.bz2
rneovim-84d1094958fdbdda67f629197924d4146e2a1887.zip
Merge pull request #19419 from vigoux/extmark_spell
Co-authored-by: Lewis Russell <lewis6991@gmail.com> Co-authored-by: Björn Linse <bjorn.linse@gmail.com>
Diffstat (limited to 'runtime/queries')
-rw-r--r--runtime/queries/c/highlights.scm2
-rw-r--r--runtime/queries/lua/highlights.scm2
-rw-r--r--runtime/queries/vim/highlights.scm2
3 files changed, 6 insertions, 0 deletions
diff --git a/runtime/queries/c/highlights.scm b/runtime/queries/c/highlights.scm
index 260750a85b..33e6df74ab 100644
--- a/runtime/queries/c/highlights.scm
+++ b/runtime/queries/c/highlights.scm
@@ -101,6 +101,7 @@
[ "(" ")" "[" "]" "{" "}"] @punctuation.bracket
(string_literal) @string
+(string_literal) @spell
(system_lib_string) @string
(null) @constant.builtin
@@ -148,6 +149,7 @@
(comment) @comment
+(comment) @spell
;; Parameters
(parameter_declaration
diff --git a/runtime/queries/lua/highlights.scm b/runtime/queries/lua/highlights.scm
index 92baba0f39..054d787932 100644
--- a/runtime/queries/lua/highlights.scm
+++ b/runtime/queries/lua/highlights.scm
@@ -181,12 +181,14 @@
;; Others
(comment) @comment
+(comment) @spell
(hash_bang_line) @comment
(number) @number
(string) @string
+(string) @spell
;; Error
(ERROR) @error
diff --git a/runtime/queries/vim/highlights.scm b/runtime/queries/vim/highlights.scm
index c02e226b66..1bbaebef01 100644
--- a/runtime/queries/vim/highlights.scm
+++ b/runtime/queries/vim/highlights.scm
@@ -162,9 +162,11 @@
;; Literals
(string_literal) @string
+(string_literal) @spell
(integer_literal) @number
(float_literal) @float
(comment) @comment
+(comment) @spell
(pattern) @string.special
(pattern_multi) @string.regex
(filename) @string