adrian5
fa6031d81a
highlights(bash): add more builtins
2022-04-04 18:52:14 +02:00
Stephan Seitz
bda4b35f76
indents(ecma): use auto indent on (ERROR)
...
Fixes #2515
2022-04-04 09:03:30 +02:00
Daniel Woznicki
e1f8a8a6f8
Fixed incorrect Java indentation for method chaining
2022-04-04 06:58:26 +02:00
Omer Tuchfeld
2472e47e15
Add highlighting query for Scss @for loops
...
The Scss language only had highlighting queries for `@each` loops, this
commit adds support for `@for` loops as well.
Also moved all loop-related keywords (including newly added ones) to
`@repeat` rather than `@keyword`
2022-04-03 15:29:13 +02:00
Oleksii Demennikov
7ae5d4f2c8
Added true/false to the highlights
2022-04-03 14:47:06 +02:00
Oleksii Demennikov
8dbe97afa2
Added injections
2022-04-03 14:47:06 +02:00
Oleksii Demennikov
00197398bd
Added the initial version for the support of rego language
2022-04-03 14:47:06 +02:00
Stephan Seitz
b8d1c2445a
highlights(python): "from" in yield should be @keyword.return
...
Fixes #2712
2022-04-01 17:00:21 +02:00
Stephan Seitz
4b9aec69bd
highlights(fennel): fix "collect" "icollect" "accumulate"
...
They are now anonymous nodes.
Fixes #2707
2022-04-01 16:58:05 +02:00
Tobias Frilling
570ad70bbb
refactor(queries): simplify highlight queries for elvish
2022-04-01 09:51:42 +02:00
Tobias Frilling
e06b54b64e
Add elvish
2022-04-01 09:51:42 +02:00
Christian Clason
7e9c46b678
feat: add vimdoc parser and highlight queries
2022-03-29 18:25:23 +02:00
Pedro Castro
cf9faaa0e3
r(indents): fix brace_list alignment
2022-03-29 08:43:38 +02:00
Pedro Castro
3b974b7257
r(highlights): fix default_parameter
2022-03-28 22:21:25 +02:00
Pedro Castro
249cd3ac3e
r(highlights): add default parameter/argument ( #2688 )
...
* Update lockfile.json
* r(highlights): default argument/parameter and some updates
2022-03-28 21:17:28 +02:00
Stephan Seitz
cd4d802175
highlights: conceal " in JSON
...
Fixes #645
2022-03-26 18:36:49 +01:00
Alexey Orlenko
2f704e538c
fix(prisma): highlight "type" keyword
2022-03-24 09:43:33 +01:00
Pedro Castro
e775d0331e
injections(r): add comment
2022-03-19 22:44:43 +01:00
Daniel Woznicki
b1380560a0
Added fix for incorrect CSS indent after closing bracket
...
Added a failing test for possible broken CSS syntax tree
2022-03-19 12:29:36 +01:00
Wilman Barrios
fd92e70c69
highlights(php): argument name as parameter
2022-03-17 21:09:15 +01:00
Addison Chan
2dfe7a5839
Add Cooklang
2022-03-17 08:40:34 +01:00
Stephan Seitz
4fa30b5249
highlights(bash): add operators ">>", "<<"
2022-03-16 15:05:03 +01:00
Omar Zeghouani
44bf2b7fac
highlight(fish): dollar command substitution
2022-03-16 13:11:23 +01:00
Gustaf Lindstedt
01150f50e7
Highlight markdown uri_autolink as @text.uri
2022-03-14 21:34:15 +01:00
Harry Gallagher
a0c0269cbf
properly bind function names to the parent scope
2022-03-12 23:03:16 +01:00
Christian Clason
6ece0ca4e6
fix(lua): restore precedence for @variable.builtin and @constant.builtin
2022-03-12 23:00:08 +01:00
Nick Pezza
cd421899a8
Add more indentations
2022-03-12 17:57:00 +01:00
Nick Pezza
6a56be08e1
Dedent on end in ruby files
...
Fixes #2554
2022-03-12 17:57:00 +01:00
Stephan Seitz
f301caffc5
highlights(rust): highlight as in <Struct as Trait>::Type
2022-03-11 19:07:11 +01:00
YongJieYongJie
fc0b881f93
Refactor solidity highlights.scm further
...
- Instead of @keyword, use @conditional, @exception, @return, @function
as appropriate
- Standardize to using @field (instead of @property)for struct members
2022-03-11 19:06:39 +01:00
YongJieYongJie
8f3991065d
Refactor solidity highlights.scm
...
- Use more specific/appropriate captures; change invalid captures
- Don't highlight punctuations in type names (e.g., the brackets in
'bytes32[]')
2022-03-11 19:06:39 +01:00
YongJieYongJie
a180859eea
Add highlights query for Solidity
2022-03-11 19:06:39 +01:00
Jared Moulton
cc4f373bb4
Add slint parser configuration and queries ( #2598 )
...
* Add slint parser
* Mark slint as experimental
* Remove filetype and add slint to the lockfile
* Update queries
* Update varibable.builtin's and repeats
* Update slint true false
* Change export back to keyword
* Change export back to include :)
2022-03-07 23:10:31 +00:00
Mateus Melchiades
cbfa53db22
highlights(vala): Reflect upstream refactor
2022-03-07 15:51:08 +01:00
Fabian Viöl
68c36cc59f
highlights(cpp): Add operator cast highlight
...
See https://en.cppreference.com/w/cpp/language/cast_operator for
reference.
2022-03-02 11:00:01 +01:00
Daniel Woznicki
3d6f2637a2
Made block comment indent @auto so that new lines line up nicely with existing comment block
...
Previous indentation:
/**
*
*/
New indentation:
/**
*
*/
2022-03-01 21:12:14 +01:00
Daniel Woznicki
d71da4f63e
Added catchall (ERROR) @auto rule for Java to at least attempt something reasonable when the tree is in a broken state
2022-03-01 21:12:14 +01:00
Daniel Woznicki
e23f5d48be
Modified Java indent rules to stop ignoring block comments because javadoc blocks were defaulting to indent 0
2022-03-01 21:12:14 +01:00
Daniel Woznicki
bf2493f5e1
Added fix for Java interfaces not being indented properly
2022-03-01 21:12:14 +01:00
Arnar Gauti Ingason
202cbc10ad
parsers: Add todotxt parser
2022-02-28 22:46:47 +01:00
Christian Clason
4d75800991
fix(gleam): update parser and queries
2022-02-27 18:19:51 +01:00
Christian Clason
b6ebdaeb44
fix(latex): update parser and queries
2022-02-27 12:38:45 +01:00
Wilman Barrios
689a078f91
highlights(php): add namespace aliasing name as type
2022-02-26 16:05:22 +01:00
Munif Tanjim
3ef2c77e13
fix(indent): ecma - parenthesized expression indentation
2022-02-26 15:44:37 +01:00
Munif Tanjim
20168d8e20
fix(indent): ecma - class method indentation
2022-02-26 15:44:11 +01:00
Mateus Melchiades
84e4e0237f
highlights(vala): Re-update highlights and lockfile
2022-02-26 15:12:17 +01:00
Daniel Woznicki
18c558fd92
Fixed a bug where indentation was not correct for class/enum bodies that had an annotation
2022-02-25 08:03:43 +01:00
Daniel Woznicki
1b47af43ce
Fixed a bug where Java enum body indentation was not correct
...
Added test for Java enum indentation
2022-02-25 08:03:43 +01:00
Daniel Woznicki
b425a9c813
Added fix for incorrect Java indentation after a closing "}" in a method declaration
...
Added tests for Java indentation, including one for issue 2571
2022-02-25 00:58:59 +01:00
Paul "LeoNerd" Evans
3533721282
Initial attempt at queries/perl/folds.scm
2022-02-22 14:13:48 +01:00