mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-06 13:30:01 -04:00
feat!: drop modules, general refactor and cleanup
This commit is contained in:
parent
c13e28f894
commit
2c8f2f2fad
829 changed files with 4905 additions and 8010 deletions
18
runtime/queries/gomod/highlights.scm
Normal file
18
runtime/queries/gomod/highlights.scm
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
[
|
||||
"require"
|
||||
"replace"
|
||||
"go"
|
||||
"exclude"
|
||||
"retract"
|
||||
"module"
|
||||
] @keyword
|
||||
|
||||
"=>" @operator
|
||||
|
||||
(comment) @comment
|
||||
(module_path) @text.uri
|
||||
|
||||
[
|
||||
(version)
|
||||
(go_version)
|
||||
] @string
|
||||
2
runtime/queries/gomod/injections.scm
Normal file
2
runtime/queries/gomod/injections.scm
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
((comment) @injection.content
|
||||
(#set! injection.language "comment"))
|
||||
Loading…
Add table
Add a link
Reference in a new issue