diff options
| author | Pham Huy Hoang <hoangtun0810@gmail.com> | 2024-01-06 15:05:50 +0900 |
|---|---|---|
| committer | Christian Clason <c.clason@uni-graz.at> | 2024-01-19 16:58:37 +0100 |
| commit | 57a8acf0c4ed5e7f6dda83c3f9b073f8a99a70f9 (patch) | |
| tree | 70bf645539882b88e6fa129cefd30986b89bbac3 /queries/haskell_persistent/highlights.scm | |
| parent | ci: add query lint job (diff) | |
| download | nvim-treesitter-57a8acf0c4ed5e7f6dda83c3f9b073f8a99a70f9.tar nvim-treesitter-57a8acf0c4ed5e7f6dda83c3f9b073f8a99a70f9.tar.gz nvim-treesitter-57a8acf0c4ed5e7f6dda83c3f9b073f8a99a70f9.tar.bz2 nvim-treesitter-57a8acf0c4ed5e7f6dda83c3f9b073f8a99a70f9.tar.lz nvim-treesitter-57a8acf0c4ed5e7f6dda83c3f9b073f8a99a70f9.tar.xz nvim-treesitter-57a8acf0c4ed5e7f6dda83c3f9b073f8a99a70f9.tar.zst nvim-treesitter-57a8acf0c4ed5e7f6dda83c3f9b073f8a99a70f9.zip | |
chore: query formatting
Diffstat (limited to 'queries/haskell_persistent/highlights.scm')
| -rw-r--r-- | queries/haskell_persistent/highlights.scm | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/queries/haskell_persistent/highlights.scm b/queries/haskell_persistent/highlights.scm index e806befcf..22cbf5cb3 100644 --- a/queries/haskell_persistent/highlights.scm +++ b/queries/haskell_persistent/highlights.scm @@ -1,20 +1,23 @@ -;; ---------------------------------------------------------------------------- -;; Literals and comments - +; ---------------------------------------------------------------------------- +; 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 () +(con_unit) @string.special.symbol ; unit, as in () (comment) @comment @spell -;; ---------------------------------------------------------------------------- -;; Keywords, operators, includes - +; ---------------------------------------------------------------------------- +; Keywords, operators, includes [ "Id" "Primary" @@ -24,15 +27,12 @@ "=" @operator - -;; ---------------------------------------------------------------------------- -;; Functions and variables - +; ---------------------------------------------------------------------------- +; Functions and variables (variable) @variable -;; ---------------------------------------------------------------------------- -;; Types - +; ---------------------------------------------------------------------------- +; Types (type) @type (constructor) @constructor |
