Commit graph

1320 commits

Author SHA1 Message Date
antonk52
68bf36c917 highlights(ecma): use KeywordFunction as a highlight group for function 2021-05-17 19:22:00 +02:00
GitHub
f51e07e9fa Update lockfile.json 2021-05-17 15:00:30 +02:00
Stephan Seitz
4dcc3fb4b3 Update queries/php/highlights.scm
Co-authored-by: Santos Gallegos <stsewd@protonmail.com>
2021-05-17 13:27:58 +02:00
Stephan Seitz
fe8264e3f6 highlights/locals(php): rename type_name -> named_type 2021-05-17 13:27:58 +02:00
GitHub
6d8267468b Update lockfile.json 2021-05-17 13:27:58 +02:00
Omar Zeghouani
71247a4a65 comment: remove @combined 2021-05-17 00:37:32 +02:00
Sergio Alejandro Vargas
d2a5e207b8 Add Julia queries 2021-05-16 21:26:06 +02:00
Sergio Alejandro Vargas
4ad6c526f3 Add do_statement to lua folds 2021-05-16 21:26:06 +02:00
Camden Cheek
d0cefbb5a3 Add filetype detection for go.mod files 2021-05-16 21:18:46 +02:00
Stephan Seitz
fe4f320b66 highlights(python): use any-of? 2021-05-16 21:13:12 +02:00
Stephan Seitz
efbb1c66d2 highlights(latex): fix regexes with backslashes
https://github.com/neovim/neovim/pull/14382 requires to escape `\` is regexes if they are verbatim `\`

They change in Neovim was incompatible so people that are still behind that revision will have this regex not matching (but it should at least not error)
2021-05-12 01:12:24 +02:00
GitHub
f7422402ca Update lockfile.json 2021-05-11 23:38:59 +02:00
Pau Ruiz Safont
048682a3ae highlights(ocaml): add hash and sign operators 2021-05-11 23:24:10 +02:00
GitHub
9f7920a17b Update lockfile.json 2021-05-11 23:24:10 +02:00
Camden Cheek
40ffe75bd2
Add config for Dockerfile parser (#1288) 2021-05-11 16:03:36 +00:00
Shatur95
9e0f764b67 Use BufNewFile,BufRead for query filetype 2021-05-08 12:44:25 +02:00
Shatur95
45e6ea9996 Add GDScript filetype 2021-05-08 12:44:25 +02:00
Github Actions
25081a1d63 [docgen] Update README.md
skip-checks: true
2021-05-07 20:59:34 +02:00
Thomas Vigouroux
0704c73595 chore(erlang): don't generate parser from grammar 2021-05-07 20:59:34 +02:00
GitHub
9370a5ba61 Update lockfile.json 2021-05-07 17:12:50 +02:00
Santos Gallegos
67f0857015 Revert "Comment: use @combined to create just one tree per buffer (#1252)"
This reverts commit 4a7a713c52.
2021-05-07 16:51:57 +02:00
Omar Zeghouani
83f7739071 Add fish queries
Add isatty as builtin

Update function_definition option

Update highlights.scm per review

Fix list indentation

Add maintainer names
2021-05-07 10:12:31 +02:00
Github Actions
509bc1a8e1 [docgen] Update README.md
skip-checks: true
2021-05-07 10:12:31 +02:00
Stephan Seitz
68d2b01572 parsers: add tree-sitter-fish
Addresses #1268
2021-05-07 10:12:31 +02:00
Stephan Seitz
2873d1efda highlights(c): highlight (escape_sequence) 2021-05-01 09:39:41 +02:00
GitHub
bbf3f87884 Update lockfile.json 2021-04-28 17:57:03 +02:00
Camden Cheek
7390cf4590 Fix indentation 2021-04-28 17:37:33 +02:00
Github Actions
859fbf8240 [docgen] Update README.md
skip-checks: true
2021-04-28 17:37:33 +02:00
Camden Cheek
07fc8cc20e Add go-mod tree-sitter config
Adds a tree-sitter config for go.mod files as well as highlighting
queries.
2021-04-28 17:37:33 +02:00
Stephan Seitz
788d212ab3
locals(js,ts): Add parameters again (#1231) 2021-04-28 07:39:14 -05:00
Santos Gallegos
4a7a713c52
Comment: use @combined to create just one tree per buffer (#1252)
* Comment: use `@combined` to create just one tree per buffer

There is no need to create a tree per line/block for comments.
Should fix https://github.com/nvim-treesitter/nvim-treesitter/issues/1251

* Add injections for scss

* Fix jsonc

* Combine jsdoc
2021-04-28 07:19:07 -05:00
Stephan Seitz
563616738b folds(c): fold at case_statement 2021-04-26 05:15:55 +02:00
Stephan Seitz
98b9e271ba highlights(cpp): highlight namespaces in using declartions 2021-04-26 01:29:22 +02:00
Stephan Seitz
19efc3d8f3 highlights(cpp): reduce number of regexes 2021-04-26 01:18:28 +02:00
Stephan Seitz
b79e400a51 highlights(cpp): avoid overwriting C CONSTANTS 2021-04-26 01:18:28 +02:00
Santos Gallegos
054c2a5747 Link TSComment to Comment
Fix https://github.com/nvim-treesitter/nvim-treesitter/issues/1246
2021-04-24 19:12:58 +02:00
Munif Tanjim
4a80228220 docs: update nvim-treesitter-highlights 2021-04-24 16:52:37 +02:00
Munif Tanjim
1cc06ac8ba highlight: add 'comment' to hlmap 2021-04-24 16:52:37 +02:00
Hennadii Chernyshchyk
b68f0cc700 Update lockfile.json
My [PR](https://github.com/PrestonKnopp/tree-sitter-gdscript/pull/5) was merged.
2021-04-24 10:04:56 +02:00
GitHub
79d38fe123 Update lockfile.json 2021-04-23 23:44:14 +02:00
Stephan Seitz
eca826b703 highlights(julia): add "type"/"primitive" keyword 2021-04-23 23:18:00 +02:00
Stephan Seitz
1353292813 highlights(julia): add punctuation 2021-04-23 23:18:00 +02:00
Jędrzej Boczar
af3537fbe5 tests/indent: factor out most of the code into common.lua 2021-04-23 21:21:38 +02:00
Jędrzej Boczar
dbb1550aaf tests/indent: move common code out of main lua/ directory 2021-04-23 21:21:38 +02:00
Jędrzej Boczar
db97170e4e tests/indent: move the run helper functions to top-level 2021-04-23 21:21:38 +02:00
Jędrzej Boczar
63a88c873f move all tests to top-level tests/ directory 2021-04-23 21:21:38 +02:00
Jędrzej Boczar
d4e8d3e659 ignore Lua indent test files when doing style-check 2021-04-23 21:21:38 +02:00
Jędrzej Boczar
17ca7725d2 tests/indent: remove indentexpr fix 2021-04-23 21:21:38 +02:00
Jędrzej Boczar
dfcefb3895 tests/indent: improve assertion to print side-by-side diff 2021-04-23 21:21:38 +02:00
Jędrzej Boczar
9f8ff8f6b6 tests/indent: use custom assertion with better suited output 2021-04-23 21:21:38 +02:00