Commit Graph

218 Commits (a890c4a64dee8521bc80adfe77c56e703a7e4512)

Author SHA1 Message Date
Michael Davis a890c4a64d tsq: update parser to fix escaping double quotes
This includes a fix for the new HTML highlights introduced a few
parent commits back:

    ["\"" (attribute_name)] @string

Would get tripped up and the entire line would be highlighted as
a string. Now `\"` is a valid escape.

I'm switching to my fork as the primary repo as the upstream hasn't
been touched in over a year (mostly because stability afaict) but
it has no watchers currently so I'm not hopeful that my PR will
be merged.
2 years ago
Michael Davis d8f036f0a9 erlang: update parser for fix on remote calls 2 years ago
Michael Davis 199a2460ca make: add injection-regex 2 years ago
Michael Davis beb19fe1bd bash: expand injection-regex to common shells 2 years ago
Michael Davis 64cf4c859b
support Bazel languages (#2903) 2 years ago
Kihaya Sugiura 24351c20d4
languages: Fix ruby rakefile and gemfile file type (#2875) 2 years ago
Hekno25 33e6df8707
feat: add wgsl_analyzer as wgsl language server (#2872) 2 years ago
Erin van der Veen b365f2d614
update tree-sitter-nickel to include ' in ident (#2859)
see https://github.com/nickel-lang/tree-sitter-nickel/pull/9
and  https://github.com/tweag/nickel/pull/737
2 years ago
Clay b13e534b92
HEEx: upgrade version and support new special_attribute node (#2800) 2 years ago
Axot 4d604d3b50
Add clojure language support (#2780)
Co-authored-by: Mateusz Ledwoń <mateusz.ledwon@iteo.com>
2 years ago
Ivan 0bc7259672
add prisma tree-sitter and lsp support (#2703)
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2 years ago
Clay f37ffaa3a1
elixirLS disable dialyzer by default (#2710)
Not all Elixir projects use dialyzer and it can cause the editor
to slow down quite a bit on large projects if the PLT is not built.

See https://github.com/elixir-lsp/elixir-ls#dialyzer-integration=
2 years ago
Michael Davis 7a9147489e add textobject queries for erlang 2 years ago
farwyler f0d1c85553
support for openscad (#2680)
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2 years ago
Michael Davis fd4858c03d
add tree-sitter-jsdoc (#2650) 2 years ago
Michael Davis 42d780b103
add tree-sitter-edoc (#2640)
* add tree-sitter-edoc

* fix escape character capture in markdown queries

* add field negation operator "!" to tsq highlights
2 years ago
Fanda Vacek 8d4c954060
CPON parser supports unsigned int (#2643)
Co-authored-by: Fanda Vacek <fvacek@elektroline.cz>
2 years ago
Timothy DeHerrera eba82250bb
feat(lang): Update Nix grammar & improve queries (#2472) 2 years ago
pancake 7706a4a0d8
Add Vlang tree-sitter in the languages.toml (#2526)
Co-authored-by: pancake <pancake@nopcode.org>
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2 years ago
Michael Davis 82da9bd4f2 update Erlang grammar and queries
The update to the grammar itself covers the case where the document
is a single expression without a trailing newline such as "min(A, B)".
A small change to the parser now parses these expressions correctly
which improves the display of the function head in the signature
help popup.

The update to the queries marks 'andalso', 'orelse', 'not', etc. as
`@keyword.operator` which improves the look - it looks odd to see
operators that are words highlighted the same as tokens like '->'
or '=:='.
2 years ago
Michael Davis 45dd54082e update Gleam grammar and queries
With respect to the queries:

The locals scope for functions was not large enough, so a function's
parameter could outlive the function body. To fix it, we just widen
the scope to the `function` node.

See also https://github.com/gleam-lang/tree-sitter-gleam/issues/25

With respect to the parser:

An external scanner has been added that fixes the parsing of strings.
Previously, a comment inside a string would act like a comment rather
than string contents.

See also https://github.com/gleam-lang/tree-sitter-gleam/issues/14#issuecomment-1129263640

A new constructor node has been added as well which makes type
highlighting more fine grained.

See also https://github.com/gleam-lang/tree-sitter-gleam/pull/29
2 years ago
Andrey Tkachenko 67fe16008e
Basic verilog support (#2552) 2 years ago
Erasin 386dccc84e
Add lua lsp (#2560) 2 years ago
Blaž Hrastnik d25bae844c
Add Scheme support
Skipped scm for now :/ it overlaps with tree-sitter-tsq
2 years ago
Jacob Thompson e8e252648f
Added a default lsp server for Java in languages.toml (#2511)
* Added a default lsp server for Java in languages.toml

* Added a default lsp server for Java in languages.toml cont.

Co-authored-by: Jacob Thompson <a01657923@usu.edu>
2 years ago
midnightexigent 8493b5fca6
Add tree-sitter ssh client config queries (#2498)
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2 years ago
Alexis Geoffrey 595213ca74
Change default Hare tab width to 8 (#2480) 2 years ago
spindlebink af387e6873
Default to tabs instead of spaces for Odin files (#2464) 2 years ago
unrelentingtech 2cb1ea7127
feat(lang): add Meson language support (#2314)
https://mesonbuild.com/Syntax.html
2 years ago
Yt ae19aaf1a6
languages: add inc files to php (#2440) 2 years ago
Fanda Vacek 76d55c0d9e
Cpon support tree sitter version bumped (#2424)
Co-authored-by: Fanda Vacek <fvacek@elektroline.cz>
2 years ago
Robert Walter 495ba40eaf
feat(languages): add odin language (#2399) 2 years ago
Ben Lee-Cohen 2f240b018e
Adding the global gitignore to the default (#2410) 2 years ago
Matthew Toohey a5f4925f53
feat(languages): git-ignore and git-attributes (#2397) 2 years ago
Pavel Borzenkov f1a77370cf
feat(languages): detect 't' as perl (#2395) 2 years ago
Matthew Toohey 25d128b5b3
feat(languages): detect cjs as javascript (#2387) 2 years ago
Fanda Vacek 1668183590
feat(lang): Cpon lang support (#2355)
Co-authored-by: Fanda Vacek <fvacek@elektroline.cz>
2 years ago
Blaž Hrastnik 73879052c1
Add Cairo support 2 years ago
unrelentingtech 8e77e3388c
feat(lang): add devicetree (Flattened Device Tree Source) (#2329) 2 years ago
Erin van der Veen 21487d13fd
feat(lang): Update nickel to include "rec" keyword (#2320) 2 years ago
Alexis Kalabura 2e46961886
feat(lsp): add toml lsp (#2302) 2 years ago
meak 1a3d6252b9
feat(lang): add hare language support (#2289)
Co-authored-by: Mehdi Katranji <hello@mek.yt>
2 years ago
ttys3 a8cb46680d
feat(lsp): add vala language support (#2243) 2 years ago
Lukas 5ca8dfe57c
fix(lsp): divide hcl into seperate languages (#2244) 2 years ago
Lukas 1c1ba006ae
feat(lsp): add yaml lsp (#2234) 2 years ago
Justin Ma 5c2570582b
feat(lang): add nushell language support (#2225)
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2 years ago
ttys3 4144c9d2f2
feat(lang): add go.mod and go.work support (#2197) 2 years ago
ttys3 8d335f63f0
chore(filetype): bash and hcl file type add more common used extensions or files (#2201) 2 years ago
Erin van der Veen 9616477197
Add Nickel language (#2173) 2 years ago
Danillo Melo be656c14e3
Ruby TextObjects and more file extensions (#2143) 2 years ago