Commit graph

2283 commits

Author SHA1 Message Date
Stephan Seitz
693dae241d indens(c): use (comment) @auto 2022-02-05 18:54:55 +01:00
Stephan Seitz
07e07cf303 fix(indents): ignore comment_parsers for indentation 2022-02-05 18:54:55 +01:00
Stephan Seitz
66f33ddd8b Update lua/nvim-treesitter/indent.lua
Co-authored-by: Kiyan <yazdani.kiyan@protonmail.com>
2022-02-05 18:54:55 +01:00
Stephan Seitz
b9069a81b9 tests: only compare indents not contents in indent tests 2022-02-05 18:54:55 +01:00
Stephan Seitz
ca06ff0a61 indents(r): fix all R tests 2022-02-05 18:54:55 +01:00
Stephan Seitz
9f25d66f7d indents(go): perform some changes as go fmt dictates 2022-02-05 18:54:55 +01:00
Stephan Seitz
0d1c1efff5 indents(go): fix aligned_indent for parameter_list 2022-02-05 18:54:55 +01:00
Stephan Seitz
5d954f1812 indents(go): add tests 2022-02-05 18:54:55 +01:00
Stephan Seitz
b7c72e9992 indents(go): remove function_declaration from indents 2022-02-05 18:54:55 +01:00
Stephan Seitz
992926ab99 indents(php): add another test 2022-02-05 18:54:55 +01:00
Stephan Seitz
1b0a74afa8 indent(lua): ignore comment 2022-02-05 18:54:55 +01:00
Stephan Seitz
aa035cdf2a workaround(indents): avoid reparsing for indent sensitive yaml/python 2022-02-05 18:54:55 +01:00
Stephan Seitz
d615497e7e indents(python): remove branches.py from expected failures
The previous indentation actually causes a linter warning when using
pep8
2022-02-05 18:54:55 +01:00
Stephan Seitz
dccf0f0cb8 indents(c): indent always after init_declarator 2022-02-05 18:54:55 +01:00
Stephan Seitz
ff96940767 docs: add @zero_indent to CONTRIBUTING.md 2022-02-05 18:54:55 +01:00
Stephan Seitz
eb2b73a5b0 indents(lua): fix comment indentation 2022-02-05 18:54:55 +01:00
Stephan Seitz
b06961a519 fix(indents): re-parse before each indent 2022-02-05 18:54:55 +01:00
Stephan Seitz
fd5a551d7c indents(c): add zero_indent for #if 2022-02-05 18:54:55 +01:00
Stephan Seitz
616dc885fc indents(c): fix indentation on block comment 2022-02-05 18:54:55 +01:00
Stephan Seitz
346366a330 indents(c): indent at expression_statement 2022-02-05 18:54:55 +01:00
Stephan Seitz
b9c38a48ca indents: refactor hanging indent 2022-02-05 18:54:55 +01:00
Stephan Seitz
059fbc487c indents: allow aligned_indent for unfinished calls in C and Python 2022-02-05 18:54:55 +01:00
Stephan Seitz
62982378b8 indents(cpp): indent at field_initializer_list 2022-02-05 18:54:55 +01:00
Stephan Seitz
7654bbc04b feat(indents): add support for language injection 2022-02-05 18:54:55 +01:00
Stephan Seitz
3ff725e654 indents(c): fix ternary 2022-02-05 18:54:55 +01:00
Dundar Göc
cf8ca7ee4e ci: combine "Compile parsers" steps into a single step 2022-02-05 18:26:06 +01:00
Dundar Göc
4e1a1e1750 ci: combine "Check query files" steps into a single step 2022-02-05 18:26:06 +01:00
Dundar Göc
e18e518751 ci: introduce platform-independent environment variable NVIM 2022-02-05 18:26:06 +01:00
Stephan Seitz
4d552d9fda injections(yaml): inject at command list for Gitlab script 2022-02-05 18:25:35 +01:00
Stephan Seitz
71cfcff510 injections(yaml): injection on Gitlab's before_script/after_script 2022-02-05 18:25:35 +01:00
Christian Clason
8e780a4c9d
refactor(latex): improve queries (#2457) 2022-02-05 16:09:35 +01:00
Uy Ha
c999f9aa13 Rename captures 2022-02-05 00:28:48 +01:00
Uy Ha
2dcfefa9da Improve set queries 2022-02-05 00:28:48 +01:00
GitHub
0a8842a454 Update lockfile.json 2022-02-04 22:32:21 +01:00
Stephan Seitz
31e33b0e66 injections(latex): add support for minted language injection 2022-02-04 22:15:47 +01:00
Munif Tanjim
11e7ee1d91
fix(indent): lua - support @indent_end (#2454) 2022-02-04 22:08:18 +01:00
GitHub
9f69999e2a Update lockfile.json 2022-02-04 21:24:34 +01:00
kylo252
8980197d61 fix(makefile): scanner.c isn't always available
certain parsers like `tree-sitter-go` only contain parser.{c|cc}
2022-02-04 20:35:26 +01:00
github-actions[bot]
4e6cb69114
Update lockfile.json (#2449)
Co-authored-by: GitHub <noreply@github.com>
2022-02-04 12:06:44 +00:00
dundargoc
f42b8a9d10
ci: make io_print accept nil as input argument (#2445)
Convert nil to an empty string, which mimicks the behavior of standard
print
2022-02-04 12:02:01 +01:00
github-actions[bot]
aefabaa1d4
Update README (#2447)
Co-authored-by: Github Actions <actions@github>
2022-02-04 10:42:36 +00:00
Christian Clason
a80c8bc506
chore(latex)!: update parser and queries (#2436)
BREAKING CHANGE: queries for latex need adaptation
2022-02-04 10:29:46 +00:00
github-actions[bot]
7867d997e7
Update lockfile.json (#2440)
Co-authored-by: Github Actions <actions@github>
2022-02-04 09:09:24 +00:00
github-actions[bot]
3cfbde4db0
Update README (#2443)
Co-authored-by: Github Actions <actions@github>
2022-02-03 18:23:04 +00:00
Andrew Helwer
b12c10778c
Updated TLA+ version, queries, maintainers (#2442) 2022-02-03 19:12:22 +01:00
Michael Lan
50cf31065c fix(utils): adjust truncation condition 2022-02-03 08:38:50 +01:00
github-actions[bot]
c9b11ac70c
Update lockfile.json (#2434)
Co-authored-by: GitHub <noreply@github.com>
2022-02-02 14:18:56 +00:00
Jade Lovelace
c2d2557526
verilog highlight: add some keywords, tidy keywords (#2432)
* Add a bunch of the OO keywords and some of the more unusual block
  delimiter types
* Highlight macromodule like module is.
* Highlight new as seen in constructor declarations like
  `class blah; function new(...); ... endfunction endclass`
* Make endfunction a @keyword.function. This matches how lua does it.
* Make tasks @keyword.function: tasks in SystemVerilog are more or less just
  impure functions
* Highlight casex/casez like case is currently highlighted (previously
  these were not highlighted at all)
* Highlight unique, unique0, priority for constructs like
  `unique case (...) ... endcase` and `priority if (...) ...`
2022-02-02 08:13:01 +01:00
github-actions[bot]
c39cd92a14
Update lockfile.json (#2433)
Co-authored-by: GitHub <noreply@github.com>
2022-02-02 08:12:48 +01:00
github-actions[bot]
647c55cb6f
Update lockfile.json (#2431)
Co-authored-by: GitHub <noreply@github.com>
2022-02-01 16:55:09 +00:00