Commit graph

203 commits

Author SHA1 Message Date
Mateus Melchiades
5fc4cb5d2d Vala language support 2022-01-29 18:43:44 +01:00
Clay
2532937ba1
Add tree-sitter-eex parser for (L)EEx files (#2351) 2022-01-25 16:52:51 +00:00
Stephan Seitz
bb33aea03c Set CXX standard per parser and fix Norg 2022-01-23 16:27:25 +01:00
Stephan Seitz
a37c97545f Allow compilation via makefile 2022-01-23 16:27:25 +01:00
Jozef Grajciar
045cb86d44 Add tree-sitter-norg 2022-01-23 16:27:25 +01:00
Ryan Roden-Corrent
59ddebd75c fix: Don't require node for gdscript.
The upstream repo has pre-generated bindings at:
https://github.com/PrestonKnopp/tree-sitter-gdscript/tree/master/src
2022-01-22 17:22:53 +01:00
Michael Härtl
04a48e317e
Add phpdoc maintainer (#2311) 2022-01-20 17:32:01 +00:00
Michael Härtl
d7c4ae886d parsers: add phpdoc parser (experimental) 2022-01-20 15:37:44 +01:00
Christian Clason
c80715f883
feat(lua)!: switch from our fork to MunifTanjim's (#2272)
also take queries from https://github.com/MunifTanjim/nvim-treesitter-lua/tree/main/queries/lua

BREAKING CHANGE: queries are not compatible; modules will have to update
2022-01-18 22:15:26 +01:00
Stephan Seitz
3f8917ac73 parsers: add hack parser 2022-01-17 10:53:35 +01:00
antosha417
317f5c7471 add hocon 2022-01-16 14:59:39 +01:00
Christian Clason
cca7d1d671 fix(swift): switch to maintained parser
upstream https://github.com/tree-sitter/tree-sitter-swift is abandoned.
2022-01-16 14:27:24 +01:00
Sal Bakraa
f9179db8de docs(kotlin): change Kotlin maintainer 2022-01-08 20:01:00 +01:00
Sal Bakraa
89abe4af39 fix(kotlin): Change the kotlin parser to fwcd/tree-sitter-kotln 2022-01-08 20:01:00 +01:00
Elwardi
76f34166bf fix(foam): Foam switched to C scanner 2022-01-08 13:20:52 +01:00
Elwardi
ea1ec09c54 Fix stylua linting 2022-01-08 13:20:52 +01:00
Elwardi
16e77495c4 Add OpenFOAM parser 2022-01-08 13:20:52 +01:00
Alexandre A. Muller
a7c0c1764b
Add ninja parser (#2217)
* Add ninja parser

* Add branch main

* No need for ftdetect
2022-01-08 01:26:33 +00:00
Stephan Seitz
b96f70905b fix(haskell): Haskell switched to C scanner 2022-01-05 22:40:23 +01:00
Fymyte
d13c045223 add(rasi): add rasi parser
Signed-off-by: Fymyte <pierguill@gmail.com>
2022-01-05 01:01:12 +01:00
Jirgn
e4ba69018b fix: remove experimental flag
We now have a working grammer and also
* highlight
* indent
* fold

no need for experimental hint anymore
2022-01-04 00:59:33 +01:00
Isopod
9174b095b6
Add support for Pascal (#2153)
* Add support for Pascal

* Pascal: Replace some of the capture groups, use lua-match where possible
2021-12-24 13:53:32 -05:00
jirgn
6b5b37cc3e
update fusion to version 1.1.1 (#2148)
* feat(fusion): update tests

* fix(fusion): update lockfile

* fix(fusion): update to (highlight breaking) version 1.1.0

* update grammer to introduce afx support
* update tests and queries

* fix: revert lockfile update of unrelated grammars

* fix: update to 1.1.1 and fix hightlights

* fix: use @tag.attribute capture to match specs

Co-authored-by: Jirgn <jirgn76@googlemail.com>
2021-12-23 11:18:15 -05:00
Omer Tuchfeld
3b05ef4492 Add support for new golang go.work files
The new golang 1.18 version (currently in beta) [introduced](https://github.com/golang/go/issues/45713) a new file type
called `go.work`.

This commit adds support for the syntax of that file using the https://github.com/omertuc/tree-sitter-go-work repository
That repository is heavily based on previous work in the https://github.com/camdencheek/tree-sitter-go-mod repository, with a few
minor changes to make it work on the very similar `go.work` files.
2021-12-18 20:02:08 +01:00
Stephan Seitz
387a8f38bd parsers: Add MDeiml/tree-sitter-markdown as markdown parser
Fixes #872
2021-12-14 15:00:14 +01:00
Lewis Russell
567c644e53 feat(lang): add make 2021-12-14 14:59:38 +01:00
Chad Condon
0004d7552f Apply cpp to arduino 2021-12-06 21:16:27 +01:00
Stefan Wienert
dec2ba27a8 Feat: Added Pug parser with inital queries 2021-11-30 23:40:49 +01:00
elianiva
b2801abc21 refactor(prisma): switch to alternative repo
Co-authored-by: richin13 <richin13@gmail.com>
2021-11-28 00:36:24 +01:00
elianiva
3da2ab9857 feat: add prisma support 2021-11-28 00:36:24 +01:00
Stephan Seitz
3fd8bbd3d8 parsers(fusion): add .git suffix necessary for Gitlab projects 2021-11-26 22:42:55 +01:00
Stephan Seitz
61b21254ee parsers(fusion): add info about main branch 2021-11-26 22:04:59 +01:00
Jirgn
a14e48ea8a fix: mark support experimental 2021-11-26 22:04:59 +01:00
Jirgn
979c32493d feat: add fusion grammar and highlights 2021-11-26 22:04:59 +01:00
Stephan Seitz
b2af0d3df4 parsers: godotResource -> godot_resource
Follows upstream renaming
2021-11-25 22:29:42 +01:00
Greg Werbin
1f68918e09 Don't use the Bash grammar for Zsh files
Zsh and Bash are not interchangeable.

See <https://github.com/nvim-treesitter/nvim-treesitter/issues/655#issuecomment-978036615>
2021-11-24 18:09:49 +01:00
Santos Gallegos
1e5e028cb7 Format with stylua
CI is failing for stylua due to this.
2021-11-18 09:26:01 +01:00
gegoune
bb0ef18488 refactor: inherit json 2021-11-12 21:52:50 +01:00
gegoune
a93c5b80d7 feat: add http parser
All credit goes to @NTBBloodbath.

See: https://github.com/NTBBloodbath/rest.nvim/issues/75#issuecomment-960447966

Co-authored-by: NTBBloodbath <bloodbathalchemist@protonmail.com>
2021-11-12 21:52:50 +01:00
Robert Jackson
da5920f2bf Ensure ft_to_lang supports multipart filetypes.
This allows a given parser to directly implement a multipart filetype
(like `glimmer` parser does for `html.handlebars`).

If an exact match for the current filetype is found in the lookup table,
it will be used; otherwise we look for just the first segment.
2021-11-11 21:11:15 -05:00
Robert Jackson
89b3b77033 Add html.handlebars as a valid type for the glimmer parser.
This filetype is in common use due to https://github.com/mustache/vim-mustache-handlebars/blob/master/ftdetect/handlebars.vim#L2
2021-11-11 21:11:15 -05:00
Connor Lay (Clay)
1676efb9b7 Switch to official elixir-lang parser 2021-10-13 01:31:49 +02:00
Stevan Milic
ea0f6614b7 Add scala maintainer
Add fold for scala val definition to support type class entries
2021-10-07 23:24:45 +02:00
Cezary Drożak
c2c454c29a parsers: add D parser 2021-10-07 22:43:09 +02:00
Cezary Drożak
e87ed0fdaa feat: add "experimental" key to parsers
feat(ci): mark parsers as experimental in README
2021-10-07 22:43:09 +02:00
Benjamin Graham
6f2b1abd17 Added branch specification 2021-10-03 18:40:25 +02:00
Benjamin Graham
6188437150 LLVM parser/highlighter added 2021-10-03 18:40:25 +02:00
Lucas Crownover
da4488c08b Swapping to the correct repo 2021-09-21 01:08:32 +02:00
Lucas Crownover
c99389fcf5 Adding perl parser 2021-09-21 01:08:32 +02:00
kghugo
d5e87dde10 Support hjson 2021-09-19 14:19:20 +02:00