Commit graph

1276 commits

Author SHA1 Message Date
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
Thomas Vigouroux
9cfd3377e3 fix(highlights): always highlight ternary operator as operator 2021-04-22 17:50:56 +02:00
Thomas Vigouroux
41ed83ffc7 fix(folds): always fold more than one line 2021-04-22 16:30:31 +02:00
Thomas Vigouroux
03bb038c70 fix(c): fold switch statements 2021-04-22 16:30:31 +02:00
Stephan Seitz
e86544caa7 Try out llvm --HEAD 2021-04-22 15:38:18 +02:00
Stephan Seitz
006aceb574 fix(CI): install newer version of clang on MacOS 2021-04-22 15:38:18 +02:00
Stephan Seitz
966096b502 fix(CI): ensure parsers that don't require tree-sitter CLI are installed 2021-04-22 15:38:18 +02:00
Stephan Seitz
ddc0f1b606 fix: Sort parsers for :TSInstallInfo 2021-04-21 23:12:17 +02:00
Stephan Seitz
9ebe0bd8d7 Fix svelte highlights 2021-04-21 19:15:54 +02:00
GitHub
d25ff8c495 Update lockfile.json 2021-04-21 19:15:54 +02:00
Stephan Seitz
423fb7b4aa C highlights: Make char_literal @character 2021-04-21 18:37:38 +02:00
Stephan Seitz
df189e28a4 Fix #1207: update Haskell
Otherwise the Haskell parser would eat up all your RAM within seconds.
2021-04-20 00:17:31 +02:00