Pierrick Guillaume
c867d483a5
add(vim): add highlight for more keywords
2022-02-08 16:27:40 +01:00
Stephan Seitz
fbcfa7ebee
locals(python): adapt as_pattern to upstream change
2022-02-07 22:36:46 +01:00
Sergio A. Vargas
3914267577
feat(highlights/julia): Add missing highlights ( #2464 )
...
- Add highlights for:
+ command strings
+ abstract type definitions
+ module `end` delimiters
- Distinguish `:` in quotes and ranges (it's already highlighted
differently in ternary expressions).
2022-02-07 22:16:58 +01:00
Zoltán Reegn
d6e6581a25
feat(vim): highlight default parameters
2022-02-07 13:42:34 +01:00
Stephan Seitz
5fd68ba0c2
indents(lua): make ")" `@indent_end
...
Fixes #2476
2022-02-06 20:47:15 +01:00
Stephan Seitz
2caac44720
fix: Allow re-parsing in Python, XFAIL \ indentation test
2022-02-06 19:42:57 +01:00
Stephan Seitz
a14970861c
indents(lua): use (comment) @auto
2022-02-05 18:54:55 +01:00
Stephan Seitz
693dae241d
indens(c): use (comment) @auto
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
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
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
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
3ff725e654
indents(c): fix ternary
2022-02-05 18:54:55 +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
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
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
Andrew Helwer
b12c10778c
Updated TLA+ version, queries, maintainers ( #2442 )
2022-02-03 19:12:22 +01: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
Clay
083aee0873
Support HEEx slots
2022-01-31 09:19:01 +01:00
Stephan Seitz
49f910e9f2
highlights(d): highlight ":"
2022-01-30 11:10:08 +01:00
Stephan Seitz
fa8172ffb4
highlights(lua): don't highlight arguments as parameters
2022-01-30 09:55:48 +01:00
Stephan Seitz
7289e801f7
highlights(vala): add "=" and ":" to highlights
2022-01-29 18:43:44 +01:00
Mateus B. Melchiades
461da95b7b
Add brackets to Vala highlights
2022-01-29 18:43:44 +01:00
Mateus B. Melchiades
cb7ea44a7b
Update Vala highlights
2022-01-29 18:43:44 +01:00
Mateus B. Melchiades
3f046500ae
Simplify vala highlights.scm
2022-01-29 18:43:44 +01:00
Mateus Melchiades
5fc4cb5d2d
Vala language support
2022-01-29 18:43:44 +01:00
Pedro Castro
29fc7ed14c
indents(r): update @indent group
2022-01-29 15:25:56 +01:00
Pedro Castro
807b20d0de
indents(r): add indents support
2022-01-29 15:25:56 +01:00
Stephan Seitz
e4675bc410
highlights(c/cpp): highlight case labels as constants
2022-01-29 13:11:56 +01:00
Stephan Seitz
1d3111ccb1
highlights(c): highlight enum variants as @constant
...
Fixes #2120
2022-01-29 13:11:56 +01:00
Stephan Seitz
974e2181a0
highlights(cpp): fix function highlighting of Foo::bar::baz()
...
Fixes https://github.com/nvim-treesitter/nvim-treesitter/issues/2396
2022-01-29 12:40:35 +01:00
Mads Kjeldgaard
0f6492506d
supercollider: add support for const
2022-01-29 11:10:24 +01:00
Mads Kjeldgaard
631734743a
supercollider: update indent query to match upstream
2022-01-29 11:10:24 +01:00
Stephan Seitz
7f7ef0af9d
folds(c): fold raw compound_statements
...
This will fold in particular around raw braces
as reported in #2359 while avoiding to have double folds
at functions+braces.
2022-01-28 19:54:26 +01:00