Commit graph

3825 commits

Author SHA1 Message Date
Amaan Qureshi
581fc14cea queries(lua): add more keywords related to variable/function builtins, debug, and coroutines 2023-03-20 03:13:41 -04:00
Amaan Qureshi
2170a36416 fix(lua): properly highlight labels 2023-03-20 03:13:00 -04:00
Benny Powers
4536156f32
injections(html): input regex patterns (#4521)
* injections(html): input regex patterns

replaces regex part of #2577
2023-03-19 08:32:42 -04:00
Benny Powers
38f878a1cd fix: svg injection in ecma tagged literals 2023-03-19 08:20:16 -04:00
Benny Powers
f15db0b652 style: alternation in template literal query 2023-03-19 08:20:16 -04:00
Benny Powers
1ba94e9f01 fix(ecma): template literal injections
see e3ebc8ec5d (commitcomment-104824257) for explanation

This also assigns the HTML parser for SVG tagged literals, since svg uses the HTML parser
2023-03-19 08:20:16 -04:00
Amaan Qureshi
6a269f197e fix(cpp): nullptr should be @constant.builtin 2023-03-19 08:14:10 -04:00
GitHub
f1a0b815ba Update parsers: qmljs, swift 2023-03-19 11:25:11 +01:00
derekstride
dcb9a89ab4 Use pre-generated parser files for sql grammar 2023-03-16 21:48:28 +01:00
Amaan Qureshi
f3fbc7c9a7 fix: check if repo location exists for local paths 2023-03-16 19:18:26 +01:00
Amaan Qureshi
17c275bfff feat: add LLVM TableGen 2023-03-16 10:58:50 -04:00
Pham Huy Hoang
01e8a51451 feat(python): add "return" patterns to @indent_end
`return ...` is usually the last line of a
function/statement, so mark some possible patterns of `return` with
`@indent_end` to dedent the line after it
2023-03-16 13:41:19 +01:00
Adam Wolski
273d5e9ac5 fix(windows): treat any non-cmd shell as powershell like in selector 2023-03-16 04:23:14 -04:00
Adam Wolski
677dd11c6a fix(windows): fix invalid powershell separator during install 2023-03-16 04:23:14 -04:00
GitHub
e6f9a4b7c3 Update parsers: bash, scala 2023-03-16 09:08:20 +01:00
Pham Huy Hoang
f5ddd8f92e fix(python): add missing @indent_end 2023-03-16 03:46:01 -04:00
George Harker
fa0644667e fix: change folding algorithm to fix Python indents 2023-03-15 22:44:59 +01:00
GitHub
cd436f92f6 Update parsers: elixir, haskell, php, sql 2023-03-15 08:45:15 +01:00
GitHub
89e5fa66cf Update parsers: mlir, rasi 2023-03-14 08:33:56 +01:00
Ramkumar Ramachandra
5c4ea53070 parsers: add tree-sitter-mlir parser
The parser is currently in development, and 60-80% of MLIR files in the
test suite of MLIR, within the Arith, Math, SCF, Tensor, and Linalg
dialects parse successfully.
2023-03-14 01:50:12 +01:00
GitHub
834f1dcb87 Update parsers: scala 2023-03-13 10:59:54 +01:00
GitHub
9c2009ce36 Update parsers: php, scala, swift, thrift, tsx, typescript 2023-03-13 10:41:15 +01:00
Amaan Qureshi
3eae9ded42 feat(thrift): update queries based on upstream changes 2023-03-13 05:24:58 -04:00
August Damiani
5b505f5658 docs: consistent in README 2023-03-12 22:13:31 -04:00
Peter Lamby
e3ebc8ec5d
fix(ecma): inject properly based on "call_expression"
Also add a comment what the query does.
2023-03-12 16:27:40 +00:00
GitHub
a6cc614409 Update parsers: racket, scheme 2023-03-12 10:24:10 +01:00
Amaan Qureshi
079a50f66e refactor!: remove setting the update strategy 2023-03-11 17:52:54 -05:00
Github Actions
a60b2234bc Update README 2023-03-11 17:23:22 -05:00
Amaan Qureshi
0e266bfc29 docs: add missing fields from InstallInfo, update code docs related to installation 2023-03-11 17:05:55 -05:00
Amaan Qureshi
4b04eaa5ce chore: clean up parsers.lua 2023-03-11 17:05:55 -05:00
Amaan Qureshi
11b2d430e6 feat(lua): add more builtin variables per lua_ls 2023-03-11 15:16:46 -05:00
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
GitHub
22d35614ae Update parsers: prql, scheme, sql, yuck 2023-03-11 10:13:19 +01: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
GitHub
cfa9b70ee8 Update parsers: query, sql 2023-03-10 09:43:51 +01:00
Amaan Qureshi
ffa6efa7f5 feat(julia): add tests for new changes 2023-03-10 03:38:23 -05: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
Github Actions
dfa2cf702c Update README 2023-03-10 09:01:56 +01:00
Amaan Qureshi
0db1cc348e feat: add gitconfig 2023-03-10 03:00:55 -05:00
Github Actions
d2a7022d5d Update README 2023-03-10 08:52:42 +01:00
Amaan Qureshi
4a4c475617 fix(gleam): update tests reflecting recent changes 2023-03-10 02:41:45 -05:00
Amaan Qureshi
c8c083e8ce fix(gleam): update highlights from upstream 2023-03-10 02:41:45 -05:00
Amaan Qureshi
faa4caa661 chore(gleam): update parser info 2023-03-10 02:41:45 -05:00
Amaan Qureshi
4096d010c5 fix(gleam): add scanner.c to parsers list & update lockfile 2023-03-10 02:41:45 -05:00