mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-08 22:40:12 -04:00
feat!: drop modules, general refactor and cleanup
This commit is contained in:
parent
310f0925ec
commit
692b051b09
1247 changed files with 6096 additions and 9074 deletions
1
runtime/queries/haskell_persistent/folds.scm
Normal file
1
runtime/queries/haskell_persistent/folds.scm
Normal file
|
|
@ -0,0 +1 @@
|
|||
(entity_definition) @fold
|
||||
38
runtime/queries/haskell_persistent/highlights.scm
Normal file
38
runtime/queries/haskell_persistent/highlights.scm
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
; ----------------------------------------------------------------------------
|
||||
; Literals and comments
|
||||
(integer) @number
|
||||
|
||||
(float) @number.float
|
||||
|
||||
(char) @character
|
||||
|
||||
(string) @string
|
||||
|
||||
(attribute_name) @attribute
|
||||
|
||||
(attribute_exclamation_mark) @attribute
|
||||
|
||||
(con_unit) @string.special.symbol ; unit, as in ()
|
||||
|
||||
(comment) @comment @spell
|
||||
|
||||
; ----------------------------------------------------------------------------
|
||||
; Keywords, operators, includes
|
||||
[
|
||||
"Id"
|
||||
"Primary"
|
||||
"Foreign"
|
||||
"deriving"
|
||||
] @keyword
|
||||
|
||||
"=" @operator
|
||||
|
||||
; ----------------------------------------------------------------------------
|
||||
; Functions and variables
|
||||
(variable) @variable
|
||||
|
||||
; ----------------------------------------------------------------------------
|
||||
; Types
|
||||
(type) @type
|
||||
|
||||
(constructor) @constructor
|
||||
Loading…
Add table
Add a link
Reference in a new issue