Commit graph

823 commits

Author SHA1 Message Date
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
Stephan Seitz
dea66fb4ce parsers: add glsl parser 2021-09-17 20:52:13 +02:00
Joakker
16a4da493c New kotlin parser 2021-09-15 12:47:03 +02:00
Stephan Seitz
b9d662cf89 chore: fix formatting in parsers.lua 2021-09-14 21:27:26 +02:00
Thomas Vigouroux
14e9df138b fix(lang): only use first part in multi-lang 2021-09-14 21:27:26 +02:00
Otto Modinos
02350ab7da fix(fennel): update parser and all the queries 2021-09-10 22:24:25 +02:00
rydesun
f900e5dfc8
Add tree-sitter-dot (#1770)
* Add tree-sitter-dot

* Fix DOT highlights

* highlights(DOT): add HTML string

* Remove DOT ftdetect

Vim and Neovim runtime have added DOT filetype detection

* Update DOT highlights
2021-09-01 09:25:45 -05:00
leo60228
93f415029d
Add tree-sitter-pioasm with highlights and injections (#1759)
* add tree-sitter-pioasm with highlights and injections

* [docgen] Update README.md
skip-checks: true

* remove ada injection from pioasm

* address review

* remove unnecessary python predicate

Co-authored-by: Github Actions <actions@github>
2021-08-29 12:10:15 -05:00
Joakker
d8595fb923 Add support for json5 2021-08-25 15:13:00 +02:00
Andrew Helwer
17d75b31ea Fixed lua style issues, updated grammar version to fix macOS build issues 2021-08-20 18:56:14 +02:00
Andrew Helwer
a19912e105 Filetype is tla 2021-08-20 18:56:14 +02:00
Andrew Helwer
da2336ea80 Added TLA+ grammar & queries 2021-08-20 18:56:14 +02:00
Santos Gallegos
955f19c64a
Add jsx to javascript (#1696)
This is mainly so the playground doesn't error when opening the jsx
query files.
2021-08-20 11:29:33 -05:00
Clay
57c2081e3f Add HEEx language support, add missing commentstrings 2021-08-18 14:07:59 +02:00
Thomas Vigouroux
f2076b267e feat: add support for vim 2021-08-16 15:09:53 +02:00
maxxnino
53160520e2 Update new query and parser for zig 2021-08-11 08:16:16 +02:00
Connor Lay (Clay)
6944173e87
Feature: Add Surface language and integrate with Elixir (#1645)
* Add initial surface highlights & injections

* Additional surface highlights

* Filetype detection, fix injections

* Fix Elixir function highlight when left is an identifier

* Add surface parser

* Fix comment highlights

* Surface folds, indents, better highlights

* Highlight surface components & directives

* Restore comments Elixir injections
2021-08-01 19:09:41 +00:00
Pierre Poupin
605d71ecd3 feature: make godotResource compatible with gdresource filetype 2021-07-29 21:09:54 +02:00
Pierre Poupin
670275de30 feature: add godotResource queries 2021-07-29 07:34:15 +02:00
26797767+krnik
8df19b91ad Update transferred fish repo info 2021-07-19 21:27:07 +02:00
Tomas Sandven
a6121f014d Add YANG parser 2021-07-19 16:03:27 +00:00
Michael Hoffmann
61411b27c5
remove packer and nomad from hcl.used_by (#1527) 2021-07-07 18:12:41 -05:00
Stephan Seitz
53d92f65bd parsers: Teal now requires generate from grammar 2021-07-06 01:55:45 +02:00
Santos Gallegos
8b876207e6 Update used_by for parent parsers
html_tags and ecma don't have a parser of they own,
but that's actually just to get around to inherit
common queries.

When editing these "base" queries,
the playground breaks. Having them in used_by would fix this.
2021-07-05 12:39:00 +02:00
Santos Gallegos
be8f656087
Use stylua for autoformat code (#1480) 2021-07-04 21:12:17 +00:00
mhoffm
b67442f112 fix missing maintainer in hcl parser config 2021-07-02 19:47:30 +02:00
Uy Ha
e01e79c46c Add external scanner for cmake parser 2021-07-02 08:37:02 +02:00
Uy Ha
9dac8b403d Add maintainer info 2021-07-02 08:37:02 +02:00
Uy Ha
a51f25819a [WIP] tree-sitter-cmake integration 2021-07-02 08:37:02 +02:00
mhoffm
54eb49bf9c add used_by directive for some of the tools that are using hcl 2021-07-02 01:56:25 +02:00
mhoffm
3df418ae8a drop 'used_by' from hcl parser config 2021-07-02 01:56:25 +02:00