Commit Graph

865 Commits (cefc33e3dfffd5136bcc9b77aea481e3b0de6ae9)

Author SHA1 Message Date
woojiq 7cda5b8592
build(tree-sitter): update javascript, typescript and tsx (#7852)
* build(tree-sitter): update javascript, typescript and tsx

* update revision of tree-sitter parsers for these languages.
* rename `?.` to `optional_chain`, introduced in tree-sitter/tree-sitter-javascript@186f2adbf7.

* fix(highlight): change jsx queries to match latest tree-sitter

Latest tree-sitter/tree-sitter-javascript@bb1f97b643 added some breaking changes that broke highlighting.
* Remove some queries with `nested_identifier`.
* Remove deprecated `jsx_fragment` from indent query.
* Count `</` and `/>` as a single token.
11 months ago
Petr Gajdůšek 7af37bb3b9
Add tree-sitter textobjects queries for bash (#7764)
This implements function, (calling) argument and comment captures for use
in the textobject selections in bash.

This also updates the generated docs after adding the textobjects for bash.
11 months ago
woojiq 1d189820a1
feat(indent): add basic java indentation queries (#7844) 11 months ago
Mohamed Imrane Chehabi 80d2599f9c
Add new moon theme to default themes (#7834)
* Add new moon theme to default themes

* Remove .DS_Store
11 months ago
Jummit f19793c2f8
Improve wren support (#7819) 11 months ago
Christoph Sax 5a51036bc1
Update t32 language queries to version 2.2.1 (#7811)
Version 2.2.1 of the grammar adds extended support for HLL (C, C++,..)
expressions. Quite a few node types were added, renamed or removed in
the process.

This change brings the highlight queries in sync with the ones found in
the repository of the grammar. The highlighting tests "look" okay after
updating the queries.

Recently, Codeberg had some reliability issues. That is why the language
is now using the mirror repository on GitLab as source instead.

Co-authored-by: Christoph Sax <christoph.sax@mailbox.org>
11 months ago
J. Brock 286e44050d
Bump the version of Hare's grammar (#7784) 11 months ago
voroskoi bc737404e8
Update tree-sitter-zig (#7803) 11 months ago
lydiandy 57952c46a4
replace new lsp for vlang (#7760)
* fix vlang grammar fetch and build fail

* update highlights.scm for v-analyzer

* Update languages.toml

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>

* Update runtime/queries/v/highlights.scm

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>

* update scm for new lsp

* gen doc lang-support.md

---------

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
11 months ago
Jesse Luehrs d5571968fa
add new theme based on the default vim dark theme (#7785) 11 months ago
Matthias Q 224fd5fa29
feat: update prql parser (#7771) 11 months ago
Jummit 9a4890f62b
Add wren support (#7765) 11 months ago
Michael Davis f0b877e258 Tune regex highlights for usage in prompts
Since regex is almost always injected into other languages,
`pattern_character`s will inherit the highlight for the structure that
injects them (for example `/foo/` in JavaScript or `~r/foo/` in Elixir).
This removes the string highlight when used in the prompt.

We also add `ERROR` node highlighting so that errors in regex syntax
appear in the prompt. This resolves a TODO in the `regex_prompt`
function about highlighting errors in the regex.
11 months ago
eh dea6894f92
Theme Pop-Dark: Increase Diagnostics clarity (#7702) 11 months ago
saltlakrits 5a52897014
Update everforest_dark.toml to add missing color definitions (#7739) 11 months ago
Pham Huy Hoang 75239a938f
fix incorrect predicate in comment highlights (#7732) 11 months ago
Federico Stra a188282b37
Update soft-wrap indicator in gruvbox themes (#7736) 11 months ago
Ravi Shekhar Jethani 48d57dad47
Fix selection highlighting in remaining gruvbox derived themes (#7717) 11 months ago
Thales Ramos d52b790379
Add Kaolin Dark, Light and Valley Dark themes (#7151)
Add some missing keys

Inherit themes from kaolin-dark and override diverging keys
12 months ago
Jesse Luehrs e7f60611ac
switch to https://github.com/tree-sitter-perl/tree-sitter-perl (#7644) 12 months ago
kaashyapan 2ace6032e7
Add fsharp language support (#7619) 12 months ago
Erasin Wang 2cb00bcbc4
Support inlay-hints for svelteserver. (#7622) 12 months ago
Jeppe Christiansen bc4f08febf
Update Typescript, TSX and Svelte grammar, to latest tag (#6874)
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
12 months ago
Nick Saika 9551e4e111
runtime/themes: Add "naysayer" theme (#7570) 12 months ago
Karim Mk e86bb64b63
Change dark_plus inlay-hints colors to more pleasant colors (#7611)
* Changing code_dark inlay-hints colors.

* Using dark_plus_experimental inlay hints is better ;)
12 months ago
Borys Lykah 7c338429f8
Add language support for persistent library syntax (#7261) 12 months ago
Sharpened Blade c33795e770
Update the Nord theme to follow the Nord style guide (#7490) 12 months ago
Gammut 607b426e26
Refactor queries for ecma based languages (#7207) 12 months ago
Álan Crístoffer a9849ebee4
highlight(matlab): Fix string's single-quote's color (#7493) 1 year ago
gobraves b745fb2551
update OneDarker theme to use light-gray for inlay hints. (#7433) 1 year ago
Branch Vincent 6c6923c39e
feat(toml): highlight table headers (#7441) 1 year ago
Álan Crístoffer 2c5288dafb
Replace MATLAB grammar (#7388) 1 year ago
eh 842518ccb7
Theme: port of Zed's OneDark and OneLight themes (#7250) 1 year ago
LeoniePhiline 48ad9ae1bb
highlight(sql): Update tree-sitter-sql to `98a7fc9` (#7387)
* highlight(sql): Update tree-sitter-sql to 92018a3

* highlight(sql): Update tree-sitter-sql to 98a7fc9
1 year ago
Alexander Brevig b4fe31cad6
Add forth-lsp and update tree-sitter-forth (#7334)
* feat: add forth lsp and update tree sitter

* fix: update highlights
1 year ago
Ivan Svoboda df094909d1
Webc language support (#7290)
* feat: add webc language support

* feat: add to lang-support book webc
1 year ago
Jorge Santiago d249639114
Add merionette theme (#7186) 1 year ago
lefp a197ce869a
Add Fortran comment injections (#7305) 1 year ago
Dimitri Sabadie 31b8b728a2
Fix C++ queries and update tree-sitter-cpp (#7285) 1 year ago
broke ef5bcd5060
theme: added gruvbox dark soft variant (#7139) 1 year ago
Christoph Sax d324feb072
Add support for language t32 (#7140)
Co-authored-by: Christoph Sax <christoph.sax@mailbox.org>
1 year ago
Jens Getreu 3e927ac578
Autumn theme: style "soft-wrap indicator" + maintenance (#7229)
Co-authored-by: Jens Getreu <getreu@getreu@web.de>
1 year ago
Alexander Brevig 78e8695420
Add support for Forth (#7256) 1 year ago
Ivan Tkachuk 2022e6175b
Add blueprint language (#7213)
* Add blueprint tree-sitter support

* Add blueprint lsp support

* Run cargo xtask docgen
1 year ago
zetashift 92380540b8
chore: update scala tree-sitter grammar (#7147)
* chore: update scala tree-sitter grammar

* Add locals.scm for Scala
1 year ago
Gammut 86ef389c0d
Highlight query improvements for java and typescript (#7145)
* Add missing queries to java highlights

* Fix generic type bracket highlights in typescript
1 year ago
Ravi Shekhar Jethani 6e647e83ed
Update spacebones_light.toml (#7125)
Better contrast between type variable and its members
1 year ago
Casper Rogild Storm 1dd1735909
Correct selection color (#7138) 1 year ago
Viktor Kleen 0c21c227e1
Update languages.toml for Nickel (#7059) 1 year ago
Blaž Hrastnik c6d1430243
Drop old cairo grammar, alias to rust for now 1 year ago