Commit graph

3760 commits

Author SHA1 Message Date
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
GitHub
3731cf1c0c Update parsers: zig 2023-03-05 12:35:36 +01:00
GitHub
14fb59e125 Update parsers: c_sharp, luap, perl 2023-03-05 10:38:02 +01:00
ObserverOfTime
1ceaceb9de docs: fix readme names 2023-03-04 20:36:57 +02:00
Github Actions
00b403f190 Update README 2023-03-04 17:33:28 +01: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
d7cef15b01 feat(ecma): add tests for constants 2023-03-04 05:00:39 -05:00
Amaan Qureshi
c553e6c560 fix(ecma): properly capture constants in const declarations 2023-03-04 05:00:39 -05:00
GitHub
88c490f00f Update parsers: hlsl, yuck 2023-03-04 09:39:46 +01: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
GitHub
f225f53510 Update parsers: sql, yuck 2023-03-03 16:37:26 +01: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
Amaan Qureshi
1bf4be0441 docs: add @keyword.coroutine 2023-03-03 07:07:52 -08:00
Christian Clason
8212548e33
docs(readme): recommend installing query parser
now bundled in Neovim
2023-03-03 15:49:25 +01:00
GitHub
a0d6c28f89 Update parsers: cpp, cuda, markdown, markdown_inline, racket, sql 2023-03-03 09:38:27 +01: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
Christian Clason
07fb134752 markdown!: switch to scanner.c 2023-03-02 18:08:03 +01:00
Github Actions
b31312729e Update README 2023-03-02 08:30:56 +01:00
GitHub
6d96e2b6ac Update parsers: erlang, haskell, qmldir, sql, v 2023-03-02 08:30:42 +01: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
Jaehwang Jung
b145021499 fix: remove wrong/pointless tostring 2023-03-02 00:30:35 -05: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
GitHub
9dd1b9c097 Update parsers: gdscript, kdl, meson, yuck 2023-03-01 09:37:29 +01: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
d80c99cab0 fix(qmldir): add to parsers.lua 2023-03-01 09:55:50 +02: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
GitHub
b1b2e9b6d3 Update parsers: markdown, markdown_inline, python, zig 2023-02-28 20:27:09 +01:00
GitHub
bae59318b3 Update parsers: markdown, markdown_inline 2023-02-28 19:43:04 +01:00
GitHub
934113c913 Update parsers: ungrammar 2023-02-28 09:59:33 +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
Mitchell Hanberg
f0617c31f4 fix(eex): map eelixir filetype to the eex parser 2023-02-27 23:38:18 -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