Commit graph

1746 commits

Author SHA1 Message Date
Matthias Vogelgesang
350e7e5e31 highlights(cmake): match digits and @ in unquoted arguments 2023-03-11 13:36:12 -05:00
Ananda Umamil
5d59d18d3e highlights(typescript): infer, template literal type & punctuations 2023-03-11 04:56:44 -05:00
Amaan Qureshi
0ec25f87ee refactor(gitconfig): use lua-match instead of match 2023-03-11 04:47:17 -05:00
Amaan Qureshi
207a86e4c9 feat: add Hare 2023-03-11 03:45:31 -05:00
Matthias Queitsch
98d63d0da4 highlights(prql): change loop and case highlight 2023-03-10 14:42:22 -08:00
Amaan Qureshi
1012dd957e feat(julia): add builtin functions & types 2023-03-10 03:38:23 -05:00
Amaan Qureshi
8886384244 feat(julia): mark begin & end in an index or range expression as @variable.builtin 2023-03-10 03:38:23 -05:00
Amaan Qureshi
9c7fa77f14 fix(julia): refactor some operators and punctuation 2023-03-10 03:38:23 -05:00
Matthias Queitsch
62ca703a0b highlights(prql): update to prql 0.6.0 2023-03-10 03:30:44 -05:00
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