Pham Huy Hoang
ca8a981db3
fix(query): add missing dedent for "]" ( #4739 )
2023-05-01 03:04:27 +00:00
sogaiu
6fe60587d1
Remove some sections and add some missing things
...
The original approach was to emulate what was in Clojure's
highlights.scm file, but it appears that there were a number of
questionable items, so some sections were removed.
As a consequence, there were some items that ended up unmentioned. An
attempt was made to rescue most of these and add some missing items to
a renamed "Special forms and builtin macros" section.
Five items were removed entirely. These are:
* Single quote
* Tilde
* Pipe
* Comma
* Semicolon
It was unclear where to put these and it's also unclear whether
highlighting them would really be beneficial. Perhaps what to do, if
anything, will become clear in the future.
2023-04-30 22:06:17 -04:00
sogaiu
b9d183c2c5
Update list of functions
2023-04-30 22:06:17 -04:00
sogaiu
0d61fdae11
Adjust indentation
2023-04-30 22:06:17 -04:00
sogaiu
c780ba9b6c
Update list of macros
2023-04-30 22:06:17 -04:00
sogaiu
8db7eeba9d
Use 2 semicolons for better editor interop
2023-04-30 22:06:17 -04:00
sogaiu
93b540f917
feat: add janet_simple
2023-04-30 22:06:17 -04:00
github-actions[bot]
54909e8df9
Update parsers: haskell ( #4735 )
...
Co-authored-by: GitHub <noreply@github.com>
2023-04-30 08:39:06 +00:00
Amaan Qureshi
7133622c44
fix(starlark): fields should not match uppercase-beginning names ( #4734 )
2023-04-30 09:56:30 +09:00
Amaan Qureshi
9bfc966769
fix(python): fields should not match uppercase-beginning names
2023-04-29 19:38:30 -04:00
Pham Huy Hoang
1ca9b938c1
Add Python else elif dedent ( #4618 )
...
* feat(python): add interactive else/elif dedent
* fixup
* add test
2023-04-29 10:35:35 +02:00
GitHub
358a463c82
Update parsers: erlang, haskell
2023-04-29 03:03:16 -04:00
Amaan Qureshi
b8a0791eb4
refactor(lua): move _VERSION to @constant.builtin, builtin types to @namespace.builtin
2023-04-28 10:29:42 -04:00
Amaan Qureshi
cde306813d
feat: add luau
2023-04-28 10:29:42 -04:00
GitHub
2ce3c9080c
Update parsers: t32
2023-04-28 02:53:20 -04:00
Kasper Kondzielski
ee64345a37
fix: Correct scope definition for scala
...
`@scope` included `function_declaration` while is should have included `function_definition` instead. The former one is used to declare abstract functions while the latter one is used to define functions together with their bodies.
2023-04-28 00:34:23 +02:00
github-actions[bot]
08e8b2c08b
Update parsers: kdl, kotlin, t32 ( #4720 )
...
Co-authored-by: GitHub <noreply@github.com>
2023-04-27 07:12:29 +00:00
Amaan Qureshi
fe3afeaa73
feat: add puppet
2023-04-26 19:29:01 -04:00
WindSoilder
8ec9a50965
fix: add -f to mv to avoid errors when updating
2023-04-26 18:22:53 -04:00
GitHub
0d7da3bd7d
Update parsers: capnp, luap, pony, rust, sql, zig
2023-04-26 02:54:54 -04:00
Amaan Qureshi
b0fe9cea0e
fix(lua): injection eq should be any-of ( #4711 )
2023-04-26 11:42:06 +09:00
Amaan Qureshi
82bcd8483e
fix(solidity): variable should not match last, tidy up highlights
2023-04-25 14:19:44 -04:00
Munif Tanjim
75f911d01f
injections(lua): tweak query to capture string content ( #4707 )
2023-04-25 16:05:52 +02:00
Amaan Qureshi
87faf372eb
fix(python,starlark): builtin types should come after types
2023-04-25 03:04:05 -04:00
Amaan Qureshi
01b42a1a57
feat(python,starlark): highlight type conversions as @function.macro
2023-04-25 03:04:05 -04:00
Amaan Qureshi
5ab25d8a1f
fix(python,starlark): update field match pattern
2023-04-25 03:04:05 -04:00
GitHub
39f5d8d89e
Update parsers: glimmer, smali, zig
2023-04-25 03:03:26 -04:00
Amaan Qureshi
b39e6bd615
chore(smali): add tests
2023-04-25 02:37:31 -04:00
Amaan Qureshi
9f157094cd
feat(smali): update queries from upstream parser
2023-04-25 02:37:31 -04:00
smjonas
1280315db1
injections(lua): highlight vim.api.nvim_exec2
2023-04-24 15:04:34 -04:00
smjonas
72e2e2df86
injections(lua): highlight Lua code in vim.rpcrequest and vim.rpcnotify
2023-04-24 15:04:34 -04:00
github-actions[bot]
77ffc7edbe
Update parsers: devicetree, swift, t32 ( #4702 )
...
Co-authored-by: GitHub <noreply@github.com>
2023-04-24 07:02:58 +00:00
Pham Huy Hoang
2083a34dc6
feat(java): add basic folding ( #4701 )
2023-04-24 15:32:41 +09:00
Cédric Barreteau
455ded2992
Update ledger highlight queries
2023-04-23 12:09:57 -04:00
github-actions[bot]
3f7301789b
Update parsers: htmldjango, ledger, scheme ( #4698 )
...
Co-authored-by: GitHub <noreply@github.com>
2023-04-23 09:08:41 +00:00
github-actions[bot]
57d1a58437
Update parsers: json, scheme, t32, tsx, typescript ( #4694 )
...
Co-authored-by: GitHub <noreply@github.com>
2023-04-22 08:39:32 +00:00
Amaan Qureshi
85330918f0
perf: remove match where possible
2023-04-21 18:24:17 -04:00
Amaan Qureshi
654216eb04
fix(c): types are optional in sized_type_specifier
2023-04-21 04:55:20 -04:00
Amaan Qureshi
5887528216
docs: update readme maintainers
2023-04-21 04:38:28 -04:00
github-actions[bot]
8b221448a3
Update parsers: erlang, sql, t32 ( #4687 )
...
Co-authored-by: GitHub <noreply@github.com>
2023-04-21 08:17:16 +00:00
Amaan Qureshi
b9ed96bb6f
feat(c): highlight parenthesized function pointer decl identifiers as @function
2023-04-21 03:26:13 -04:00
Amaan Qureshi
b0338a0565
chore(parsers): update http maintainers
2023-04-20 06:33:25 -04:00
github-actions[bot]
e77fd9af16
Update parsers: gitcommit, html, java, t32 ( #4671 )
...
Co-authored-by: GitHub <noreply@github.com>
2023-04-20 10:05:24 +00:00
Amaan Qureshi
c44a63ffdc
feat(http): update parser queries from upstream
2023-04-20 05:50:08 -04:00
Pham Huy Hoang
eedc5198a1
tests: fix deprecated tests ( #4681 )
2023-04-20 15:12:31 +09:00
stefan
481d1eda24
docs: update gitconfig in readme to reflect parser name ( #4656 )
2023-04-20 03:17:44 +00:00
Amaan Qureshi
831f37635d
feat(rust): move some keywords & operators to where they belong
2023-04-19 02:28:00 -04:00
Benny Powers
cdc45ac6ba
feat(markdown): configured aliases for fenced code block languages ( #4659 )
...
* feat(markdown): configured aliases for languages
* refactor: use vim.treesitter.match
* refactor: rename local vars
* fix: query syntax
2023-04-18 21:51:14 +09:00
Amaan Qureshi
c79c37927b
refactor(smali): refactor queries from upstream
2023-04-17 22:50:34 -04:00
Amaan Qureshi
7ade4d2e77
fix(ecma): comment should be @indent.auto ( #4669 )
2023-04-18 08:04:04 +09:00