Commit graph

930 commits

Author SHA1 Message Date
Amaan Qureshi
8d2eb35c5b fix(bash): adapt to scanner rewrite 2023-06-29 16:29:51 +02:00
Glib Shpychka
f460cc8ee7
feat(wing): add parser (#5021)
Co-authored-by: Christian Clason <c.clason@uni-graz.at>
Co-authored-by: ObserverOfTime <chronobserver@disroot.org>
2023-06-29 10:34:46 +00:00
ObserverOfTime
43fab6423c feat(pem): add parser 2023-06-28 07:07:05 +03:00
ShootingStarDragons
016cba16a0 feat: add groovy support 2023-06-27 20:01:29 +02:00
Amaan Qureshi
4ba25e973c fix(elm): adapt to scanner rewrite 2023-06-26 09:12:55 +02:00
Christian Clason
3590c0d30d fix(html): adapt to scanner rewrite 2023-06-25 11:21:34 +02:00
Amaan Qureshi
c667877ab5 fix(hack): adapt to scanner rewrite 2023-06-25 04:09:32 -04:00
Borys Lykah
e9984bb744
feat: add support for haskell persistent library 2023-06-24 15:00:47 -04:00
Amaan Qureshi
b08aa95eee fix(racket): adapt to scanner rewrite 2023-06-24 09:25:10 +02:00
Amaan Qureshi
18983e3a82 fix(python): adapt to scanner rewrite 2023-06-24 01:11:57 +02:00
Amaan Qureshi
c3ad1fc21e fix(php): adapt to scanner rewrite 2023-06-21 08:18:35 +02:00
Amaan Qureshi
1897926700 fix(gdscript): adapt to scanner rewrite 2023-06-20 15:12:59 -04:00
Amaan Qureshi
19385830ab fix(firrtl): adapt to scanner rewrite 2023-06-20 10:02:58 +02:00
Amaan Qureshi
a1c29a9d1d fix(org): adapt to scanner rewrite 2023-06-20 09:13:29 +02:00
Amaan Qureshi
c8f5919b66 fix(starlark): adapt to scanner rewrite 2023-06-20 09:09:44 +02:00
Amaan Qureshi
4a8efcffc4 fix(elixir): adapt to scanner rewrite 2023-06-20 08:58:57 +02:00
ObserverOfTime
70f161b1dd fix(arduino): adapt to scanner rewrite 2023-06-19 10:45:56 +02:00
Christian Clason
e3330c67f1 fix(cpp): adapt to scanner rewrite 2023-06-19 09:54:05 +02:00
Álan Crístoffer
df3f47a508 feat(matlab)!: replace parser 2023-06-19 09:43:25 +02:00
Amaan Qureshi
e2c162b09f chore: update cmake files 2023-06-17 09:59:41 +02:00
Jake Stanger
dc38ff85d9
feat: add language support for corn (#4864)
Adds queries and a parser mapping for the [Corn](https://github.com/jakestanger/corn)
configuration language.
2023-05-29 17:26:28 +09:00
Pham Huy Hoang
ad75d3c4bd fix(indent): return early if query doesn't exist 2023-05-24 13:57:08 +02:00
fab4100
8e817bebf9
feat: add Intel Implicit SPMD Program Compiler (ISPC)
* Add ISPC parser config

* Add ISPC queries

* Update queries/ispc/injections.scm

Co-authored-by: Amaan Qureshi <amaanq12@gmail.com>

---------

Co-authored-by: Fabian Wermelinger <fab4100@posteo.net>
Co-authored-by: Amaan Qureshi <amaanq12@gmail.com>
2023-05-20 21:52:54 -04:00
Amaan Qureshi
dad1b7cd66 feat: add Objective-C 2023-05-19 12:24:38 -04:00
Christoph Sax
16cce8df58
feat(t32): add indent rules (#4782) 2023-05-18 16:40:13 +09:00
Pham Huy Hoang
102f1b2f55 fixup: use correct require syntax 2023-05-17 15:35:28 +02:00
Christian Clason
fa23ff4bd7 refactor(indent): backport improvements from main
* replace ts_utils.memoize_by_buftick by simpler implementation
* simplify construction of hash map
* prefer Neovim APIs
2023-05-17 15:25:35 +02:00
Pham Huy Hoang
d2b78324f2 fix indent/fold memleak 2023-05-16 13:25:02 +02:00
Christian Clason
95850f7964 fix: force upstreamed predicates 2023-05-15 22:31:28 +02:00
Colin Kennedy
4c35c0b75d Added USD as a language + some queries
Added USD highlight unittests

Added USD indentation

Added USD indents.scm file

Added USD indent rules

Simplified USD highlight groups

Added explicit highlight groups

Added newline

Removed after/ftdetect/usda.lua

usd/indents.scm - Added inline comments explaining the nodes

Fixed USD highlight group unittests

Added indentation unittests

Simplified USD `@identifier` highlighting

Added USD documentation highlight group tests

Simplified USD highlight groups

Moved USD `@identifier` and `@namespace` highlights into one place

Removed and simplified tests/query/highlights/usd

Simplified tests/query/highlights/usd more

Removed trailing newline

Combined USD test files

Added `set filetype=usd` to minimal_init.lua
2023-05-15 09:28:11 +02:00
Amaan Qureshi
40d373adcd feat: add Odin 2023-05-13 02:49:07 -04:00
sogaiu
93b540f917 feat: add janet_simple 2023-04-30 22:06:17 -04:00
Amaan Qureshi
cde306813d feat: add luau 2023-04-28 10:29:42 -04: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
Amaan Qureshi
9f157094cd feat(smali): update queries from upstream parser 2023-04-25 02:37:31 -04:00
Amaan Qureshi
5887528216 docs: update readme maintainers 2023-04-21 04:38:28 -04:00
Amaan Qureshi
b0338a0565 chore(parsers): update http maintainers 2023-04-20 06:33:25 -04:00
stefan
481d1eda24
docs: update gitconfig in readme to reflect parser name (#4656) 2023-04-20 03:17:44 +00: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
tzachar
351e43d5ef
fix(compat): add missing get_node_text, required by playground (#4666) 2023-04-17 11:38:41 +02:00
dundargoc
21f2fb188e fix(checkhealth): use non-deprecated versions if possible 2023-04-16 05:26:14 -07:00
Pham Huy Hoang
474c59dcf1 add test 2023-04-08 09:56:06 -07:00
Pham Huy Hoang
1c7ba3ffcf fix(indent): Make indent ignore trailing spaces/comment
Signed-off-by: Pham Huy Hoang <hoangtun0810@gmail.com>
2023-04-08 09:56:06 -07:00
Christian Clason
584ccea56e
vim: switch to parser maintained by Neovim (#4610)
Problem: The current vimscript parser has not been maintained for a while, which was a blocker for packaging the coming Neovim release. 

Solution: Fork parser to https://github.com/neovim/tree-sitter-vim/ and maintain it there from now on.
2023-04-07 15:03:10 +02:00
Carlo Cabrera
6f5a4f6306 feat: use -bundle to build parsers on macOS
This will make the parsers align more closely to the ones bundled with
Neovim, because CMake uses the `-bundle` flag (instead of `-shared`) on
macOS when a library is compiled as a `MODULE`.

See, for example:

    10baf89712/cmake.deps/cmake/TreesitterParserCMakeLists.txt (L6-L9)
2023-04-03 03:38:54 -04:00
Christian Clason
93fa5df0a3 chore(help)!: renamed to vimdoc 2023-04-01 16:10:11 +02:00
Amaan Qureshi
eb1e599251 feat: add FIRRTL 2023-03-27 10:46:59 -04:00
Amaan Qureshi
eadf4f43c6 feat: add Pony 2023-03-27 10:46:35 -04:00
Sergey Kacheev
a072d923c7 fix: uninstall function in the install.lua
The get_ensure_installed_parsers function return a table
for the option "all" because uninstall accepts a table
2023-03-24 23:23:02 +01:00