Commit graph

1719 commits

Author SHA1 Message Date
Matthias Queitsch
e3a1ae4c4e highlights(sql): add missing keywords 2023-03-04 06:14:31 -05:00
Amaan Qureshi
376d74006f feat: add cue 2023-03-04 05:08:18 -05:00
Amaan Qureshi
c553e6c560 fix(ecma): properly capture constants in const declarations 2023-03-04 05:00:39 -05:00
Evan Phoenix
28f84d69e3 fix(go): Indent on type switch case properly 2023-03-03 23:36:51 -05:00
Yochem van Rosmalen
190561df89 v(injections): inject regex for some methods in re module 2023-03-03 15:14:58 -05:00
Amaan Qureshi
3c42fb9d70 refactor(svelte): match certain keywords for conditional and exception 2023-03-03 07:07:52 -08:00
Amaan Qureshi
d2a45aa531 refactor(zig): @type.definition items belong in @keyword, differentiate @boolean from @constant.builtin 2023-03-03 07:07:52 -08:00
Amaan Qureshi
3c8842c79a refactor(ruby): move keywords appropriately 2023-03-03 07:07:52 -08:00
Amaan Qureshi
33ba346e60 feat!: add @keyword.coroutine capture 2023-03-03 07:07:52 -08:00
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