Commit graph

1737 commits

Author SHA1 Message Date
Amaan Qureshi
0db1cc348e feat: add gitconfig 2023-03-10 03:00:55 -05:00
Amaan Qureshi
c8c083e8ce fix(gleam): update highlights from upstream 2023-03-10 02:41:45 -05:00
Amaan Qureshi
964dc882e9 Partially Revert "fix(ecma): properly capture constants in const declarations"
This partially reverts commit c553e6c560.
2023-03-10 02:38:36 -05:00
Philipp Mildenberger
1de237d10d feat: improve yuck highlighting 2023-03-09 22:43:55 -05:00
Matthias Queitsch
fc1ca10bfb highlights(sql): add new keywords and datatypes 2023-03-08 17:32:22 -05:00
Amaan Qureshi
71be7c04d5 feat: add Squirrel 2023-03-07 23:45:54 -05:00
Amaan Qureshi
ba4bce9bb7 feat: add Uxn Tal 2023-03-07 12:49:04 +01:00
Pham Huy Hoang
94f9a56973 indents(vue): Update dedent logic for <template> 2023-03-06 18:11:46 -05:00
Daniel Woznicki
7947a2ccf1
fix: Java indent for multiple line arguments (#4449)
* fix Java indent for multiple line arguments, fixes #4448, add an additional test for methods with arguments on multiple lines

* Satisfy StyLua check

---------

Co-authored-by: Daniel Woznicki <danwoz@nettoolkit.com>
2023-03-06 18:10:31 -05:00
Pham Huy Hoang
5ac39d10cc indents(vue): fix indents on new line after <template> 2023-03-06 02:32:45 -05:00
Amaan Qureshi
5a87bc98da feat: add @comment.documentation where applicable 2023-03-05 17:15:32 -05:00
Amaan Qureshi
95bcd6a8fa feat: add @string.documentation where applicable 2023-03-05 17:15:32 -05:00
Pham Huy Hoang
d11dd552db injections(html): fix faulty css/js injections
Group queries to reduce duplicate injection tree

use only regex
2023-03-05 22:34:41 +02:00
Amaan Qureshi
4beba61dde feat(query): differentiate lua-match strings by using luap injections and fix offset matches 2023-03-04 11:32:25 -05:00
Amaan Qureshi
25f99a270a feat(lua): add luap injections 2023-03-04 11:32:25 -05:00
Amaan Qureshi
c9d7918901 feat: add luap 2023-03-04 11:32:25 -05:00
Matthias Queitsch
d4e48be88d highlights(sql): keywords as @storageclass 2023-03-04 06:14:31 -05:00
Matthias Queitsch
d382b41563 highlights(sql): added missing kwds, added @attribute and @type.qualifier kwds 2023-03-04 06:14:31 -05:00
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