Anthony Shi
8894d78f63
Update highlights.scm for Python
...
Added new keywords "is not" and "not in"
2023-03-02 22:54:45 -05:00
Matthias Queitsch
e9fb90da02
feat(prql): update queries
2023-03-02 15:57:18 -05:00
Preston Knopp
36b1038a65
Update gdscript queries ( #4405 )
...
* locals(gdscript): update locals
* folds(gdscript): add folds
* indents(gdscript): update indents with notes
* highlights(gdscript): update highlights
* docs(gdscript): add gdscript maintainer
* indents(gdscript): add ERROR auto indent
Co-authored-by: Amaan Qureshi <amaanq12@gmail.com>
* highlights(gdscript): use text.uri for get_node and node_path
* highlights(gdscript): add "@" of annotation as attribute
* highlights(gdscript): use keyword.operator for "new", match all attribute_call
* highlights(gdscript): update (underscore) and (pattern_open_ending)
---------
Co-authored-by: Amaan Qureshi <amaanq12@gmail.com>
2023-03-02 07:28:13 +00:00
Yochem van Rosmalen
252c1011c4
comment(highlights): add @nospell to tags and user mentions
2023-03-01 15:22:10 -05:00
Matthias Q
0572657d4d
feat: add prql ( #4393 )
...
* feat: add prql
* highlights(prql): null as constant.builtin
* highlights(prql): add missing kwd, update queries
* highlights(prql): remove redundant queries
* highlights(prql): make `->` a delimiter
* highlights(prql): instructions to `@method.call`
2023-03-01 15:21:11 -05:00
Amaan Qureshi
75d98eaac4
feat(kdl): update parser & queries fixing the comment bug
2023-03-01 02:57:26 -05:00
Amaan Qureshi
5b9339f6f4
feat: add PO
2023-03-01 02:56:14 -05:00
Amaan Qureshi
ba4ecfe471
feat: add qmldir
2023-03-01 02:28:48 -05:00
Amaan Qureshi
3fe80dbecd
feat: add passwd
2023-02-28 17:48:11 -05:00
Christian Clason
f95ffd09ed
python(highlights): adapt query to parser change
2023-02-28 20:27:09 +01:00
Amaan Qureshi
418caac89d
feat(starlark): improve assertion parsing
2023-02-28 02:52:23 -05:00
Amaan Qureshi
316200f77d
feat: add matlab
2023-02-28 02:51:00 -05:00
Amaan Qureshi
5cfb5d7768
feat(fortran): update highlight queries
2023-02-27 20:24:32 -05:00
Uy Ha
e2a9fc8e5c
use lua-match where possible
2023-02-27 20:23:53 -05:00
Philipp Mildenberger
b9a7591b6c
feat: add yuck
2023-02-27 17:57:04 -05:00
Uy Ha
04b87c7b6e
move the catch uppercase query to the top to make it overridable, add back the more useful queries
2023-02-27 14:52:26 -08:00
Uy Ha
28475d5676
add highlighting for elseif
2023-02-27 14:52:26 -08:00
Uy Ha
a5a6590f15
only match unquoted arguments
2023-02-27 14:52:26 -08:00
Uy Ha
cf718048ca
simplify cmake highlight queries
2023-02-27 14:52:26 -08:00
Benny Powers
5070936137
feat(html): lit attr binding interpolation
2023-02-26 18:56:38 +02:00
Benny Powers
8d2f9903f1
feat(ecma): include outerHTML and innerHTML
2023-02-25 11:17:13 -05:00
Benny Powers
248a87ef65
feat(ecma): add innerHTML injection
2023-02-25 11:17:13 -05:00
Amaan Qureshi
53695580e3
feat(dart): add folds
2023-02-24 16:24:23 -08:00
Philipp Mildenberger
fe80f7c2bb
feat: add ungrammar
2023-02-24 18:42:35 -05:00
Stephen Bolton
a744ed1b27
Fix elixir @function captures
...
When viewing the previous rule in the `TSPlayground` the `@function`
captures were not actually matching. This led all functions to get the
`@function.call` group applied to them. This change makes it so that the
capture now works and where functions are defined will get the
`@function` group.
2023-02-24 17:50:17 -05:00
Amaan Qureshi
028b7dfbdd
feat: add bicep
2023-02-24 17:43:13 -05:00
SzeLamC
68ab44277c
fix(dart): add @indent_end to } ( #4167 )
...
* fix dart indentation after }
* add some simple test case
2023-02-24 16:06:31 -05:00
Amaan Qureshi
5c511dd124
feat(solidity): use maintained parser and update highlights accordingly
2023-02-24 13:05:33 -08:00
Amaan Qureshi
a3213e3dd7
fix(go): apply indents in a communication case in a select statement
2023-02-24 01:37:58 -08:00
Amaan Qureshi
c38646edf2
feat: add cpon
2023-02-24 01:14:47 -08:00
Amaan Qureshi
fceb4ed0ec
feat: add dhall
2023-02-24 09:10:11 +02:00
Cameron
1e8ad621a5
Extend injections for Lua to use query parser
2023-02-24 09:03:50 +02:00
Amaan Qureshi
f8595b13bf
feat(java): some instances of definition.var should be definition.parameter
2023-02-23 15:41:26 -08:00
Amaan Qureshi
7dfaa60a85
feat(java): distinguish escape sequences, move certain keywords to more appropriate places
2023-02-23 15:41:26 -08:00
Amaan Qureshi
1641c4f3b4
feat: add starlark
2023-02-23 15:28:30 -08:00
dundargoc
4612212c72
docs: fix typos
2023-02-23 11:39:43 -08:00
Amaan Qureshi
454876fc6d
feat(capnp): improve queries
2023-02-23 08:35:27 +02:00
Josef Litoš
a4b72d4f7f
Update highlights.scm
2023-02-22 10:08:30 -08:00
Josef Litoš
3f5ff9b434
Update queries/kotlin/highlights.scm
...
Co-authored-by: ObserverOfTime <chronobserver@disroot.org>
2023-02-22 10:08:30 -08:00
JosefLitos
94f3e8b069
feat(kotlin): improved highlight queries
2023-02-22 10:08:30 -08:00
Amaan Qureshi
2277c0c2a7
feat(elsa): improve queries
2023-02-22 19:06:35 +02:00
Amaan Qureshi
8c4a22fd50
feat(smali): improve queries
2023-02-22 14:11:22 +01:00
Matthias Queitsch
c9d7f9c920
highlights(sql): update highlight queries
...
highlights(sql): add bool, attributes, conditionals
highlights(sql): add builtins
highlights(sql): add parameters
highlights(sql): add temp table attribute
update sql highlights; add floats
bump sql version
bump upstream sql version
highlights(sql): fix float regex
fix upstream changes; bump sql version
2023-02-20 22:47:45 -08:00
Laytan Laats
ce0dba96f4
feat(go): add folds for type switch and switch cases
2023-02-19 08:16:30 -08:00
Amaan Qureshi
93386fc725
feat(thrift): improve queries
2023-02-18 09:37:41 -08:00
Amaan Qureshi
17d7cf6f4b
feat: add @text.uri where applicable to thrift and gosum
2023-02-18 02:07:28 -08:00
ray-x
0493aa026b
highlight for module path
2023-02-17 16:54:18 -08:00
Eleanor Bartle
2e95d25412
Split out @keyword.return
...
Moves `break` and `continue` to `@repeat`. Leave coroutine keywords in `@keyword.return`. I'd really like a `@keyword.coroutine`.
2023-02-17 14:30:42 -08:00
Eleanor Bartle
9a0e095eba
Add spelling checks to strings and comments
...
I didn't touch these bits so they aren't in status quo, but sure, I'll fix them.
2023-02-17 14:30:42 -08:00
Eleanor Bartle
bf3b792ce6
Update Zig highlights
...
Recently I rearranged the keywords. This PR brings the highlights query file up to date with that.
2023-02-17 14:30:42 -08:00