Commit graph

1297 commits

Author SHA1 Message Date
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
Jędrzej Boczar
70ebdac96a tests/indent: add Lua tests 2021-04-23 21:21:38 +02:00
Jędrzej Boczar
1d7e5144ab tests/indent: improve Rust tests 2021-04-23 21:21:38 +02:00
Jędrzej Boczar
69dda8c09d tests/indent: add normal o tests for Python 2021-04-23 21:21:38 +02:00
Jędrzej Boczar
8bbe33b10d tests/indent: test cases with normal o for C/C++ 2021-04-23 21:21:38 +02:00
Jędrzej Boczar
15f0813b6e tests/indent: add multiple C/C++ tests 2021-04-23 21:21:38 +02:00
Jędrzej Boczar
77c97d0f8b tests/indent: refactor indent test runner and auto-discover language test files 2021-04-23 21:21:38 +02:00
Jędrzej Boczar
db1b6dc1cb scripts: print test results summary with --summary 2021-04-23 21:21:38 +02:00
Jędrzej Boczar
975ef08616 scripts: fix wrong swapfile setting in minimal_init 2021-04-23 21:21:38 +02:00
Jędrzej Boczar
f026747aa4 fix lua style checks 2021-04-23 21:21:38 +02:00
Jędrzej Boczar
4454459fb2 tests/indent: add basic examples for C and Rust 2021-04-23 21:21:38 +02:00
Jędrzej Boczar
67f2c7149c Initial sketch of automated indent tests 2021-04-23 21:21:38 +02:00
Alvaro Muñoz
eefa5662e6 replace @class with @type 2021-04-23 21:18:55 +02:00
Alvaro Muñoz
3472947027 Add Codeql indents.scm 2021-04-23 21:18:55 +02:00
Stephan Seitz
ac05d4db50 injections(tsx): inherit injections from ecma
Fixes #1237
2021-04-23 20:33:34 +02:00
GitHub
aff9255ffa Update lockfile.json 2021-04-23 19:41:44 +02:00
Grzegorz Rozdzialik
aee9ba401e fix(folds): use the correct rational operator
Fixes a bug introduced in 41ed83ffc7
Closes #1226
2021-04-23 19:27:21 +02:00
GitHub
6fbdf14695 Update lockfile.json 2021-04-23 16:46:26 +02:00
Github Actions
e15762dac9 [docgen] Update README.md
skip-checks: true
2021-04-23 16:03:18 +02:00
Stephan Seitz
88e8eefb2d highlights(fortran): extend queries 2021-04-23 16:03:18 +02:00
Stephan Seitz
9820c8ca7d Add Fortran queries from @oponkork 2021-04-23 16:03:18 +02:00
Stephan Seitz
3b8d23ca30 parsers: Add Fortran parser
Fixes: https://github.com/nvim-treesitter/nvim-treesitter/issues/1194

Refs:
- https://nvim-treesitter.zulipchat.com/#narrow/stream/252271-general/topic/Meeting.20everyone/near/219174700
2021-04-23 16:03:18 +02:00
GitHub
9e46322532 Update lockfile.json 2021-04-23 15:37:36 +02:00
Stephan Seitz
082d2ef6e1
Add JS/TS parameters again (#1227)
* highlights(js): add parameters

* highlights(ts): add Typescript parameters
2021-04-23 07:20:51 -05:00