Commit graph

1287 commits

Author SHA1 Message Date
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
Artur Tagisow
e8e8c0f0f2 Highlight v-bind using javascript 2021-04-22 21:24:12 +02:00
Thomas Vigouroux
8e2f79d7ad fix: use correct name in FUNDING.yml 2021-04-22 19:24:16 +02:00
Stephan Seitz
8704b0f388 Allow failures for defined parsers 2021-04-22 18:37:04 +02:00
Thomas Vigouroux
04982cde88 chore: add funding informations 2021-04-22 18:25:41 +02:00
Thomas Vigouroux
a74484a8ac docs: Update vimdoc file
Adds the new maintainers (that were actually added a long time ago),
fix inconsistent formatting, and unneeded or old/wrong docs.
2021-04-22 18:25:41 +02:00
Thomas Vigouroux
afd5d11519 feat(incremental_selection): don't require locals 2021-04-22 18:12:03 +02:00
Stephan Seitz
3695e58dd3 highlights(csharp): add "with" as @keyword.operator 2021-04-22 18:07:36 +02:00
Stephan Seitz
e062f8dade parsers: nix no longer requires_generate_from_grammar
Not required after https://github.com/cstrahan/tree-sitter-nix/pull/11
2021-04-22 17:58:51 +02:00
GitHub
cf0bbab53e Update lockfile.json 2021-04-22 17:58:51 +02:00
Thomas Vigouroux
f0ab5edab9 fix(lua): correctly highlight field names 2021-04-22 17:51:43 +02:00