mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-03 03:56:52 -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
3
runtime/queries/haskell_persistent/folds.scm
Normal file
3
runtime/queries/haskell_persistent/folds.scm
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
[
|
||||
(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) @float
|
||||
(char) @character
|
||||
(string) @string
|
||||
(attribute_name) @attribute
|
||||
(attribute_exclamation_mark) @attribute
|
||||
|
||||
(con_unit) @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