diff options
| author | Eleanor Bartle <eleanor@eleanor-nb.com> | 2023-02-14 08:39:37 +1100 |
|---|---|---|
| committer | Stephan Seitz <stephan.seitz@fau.de> | 2023-02-17 14:30:42 -0800 |
| commit | 9a0e095eba093460a2f8018d693dc410500b4eef (patch) | |
| tree | b153bdc4d54971b68e886b3e5fd2552bc367faa6 | |
| parent | Update Zig highlights (diff) | |
| download | nvim-treesitter-9a0e095eba093460a2f8018d693dc410500b4eef.tar nvim-treesitter-9a0e095eba093460a2f8018d693dc410500b4eef.tar.gz nvim-treesitter-9a0e095eba093460a2f8018d693dc410500b4eef.tar.bz2 nvim-treesitter-9a0e095eba093460a2f8018d693dc410500b4eef.tar.lz nvim-treesitter-9a0e095eba093460a2f8018d693dc410500b4eef.tar.xz nvim-treesitter-9a0e095eba093460a2f8018d693dc410500b4eef.tar.zst nvim-treesitter-9a0e095eba093460a2f8018d693dc410500b4eef.zip | |
Add spelling checks to strings and comments
I didn't touch these bits so they aren't in status quo, but sure, I'll fix them.
| -rw-r--r-- | queries/zig/highlights.scm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/queries/zig/highlights.scm b/queries/zig/highlights.scm index 943d2f2c5..d459314a4 100644 --- a/queries/zig/highlights.scm +++ b/queries/zig/highlights.scm @@ -2,7 +2,7 @@ (container_doc_comment) (doc_comment) (line_comment) -] @comment +] @comment @spell [ variable: (IDENTIFIER) @@ -82,7 +82,7 @@ field_constant: (IDENTIFIER) @constant [ (LINESTRING) (STRINGLITERALSINGLE) -] @string +] @string @spell (CHAR_LITERAL) @character (EscapeSequence) @string.escape |
