Á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 )
2 years ago
broke
ef5bcd5060
theme: added gruvbox dark soft variant ( #7139 )
2 years ago
Christoph Sax
d324feb072
Add support for language t32 ( #7140 )
...
Co-authored-by: Christoph Sax <christoph.sax@mailbox.org>
2 years ago
Jens Getreu
3e927ac578
Autumn theme: style "soft-wrap indicator" + maintenance ( #7229 )
...
Co-authored-by: Jens Getreu <getreu@getreu@web.de>
2 years ago
Alexander Brevig
78e8695420
Add support for Forth ( #7256 )
2 years ago
Ivan Tkachuk
2022e6175b
Add blueprint language ( #7213 )
...
* Add blueprint tree-sitter support
* Add blueprint lsp support
* Run cargo xtask docgen
2 years ago
zetashift
92380540b8
chore: update scala tree-sitter grammar ( #7147 )
...
* chore: update scala tree-sitter grammar
* Add locals.scm for Scala
2 years ago
Gammut
86ef389c0d
Highlight query improvements for java and typescript ( #7145 )
...
* Add missing queries to java highlights
* Fix generic type bracket highlights in typescript
2 years ago
Ravi Shekhar Jethani
6e647e83ed
Update spacebones_light.toml ( #7125 )
...
Better contrast between type variable and its members
2 years ago
Casper Rogild Storm
1dd1735909
Correct selection color ( #7138 )
2 years ago
Viktor Kleen
0c21c227e1
Update languages.toml for Nickel ( #7059 )
2 years ago
Blaž Hrastnik
c6d1430243
Drop old cairo grammar, alias to rust for now
2 years ago
Jan Scheer
91da0dc172
Update nightfox theme ( #7061 )
...
* theme: nightfox - fix subselection highlighting
This fixes an issue with subselect highlighting on the same line as
reported here: https://github.com/helix-editor/helix/discussions/5158
* theme: nightfox - update bufferline colors
This uses `ui.bufferline` to make it easier to distinguish
between (in-)active tabs/buffers.
2 years ago
lefp
06d7f5d100
Add comment injections for Odin ( #7027 )
2 years ago
Vitalii Solodilov
5938e2c0dc
fix: update upstream tree-sitter-dockerfile ( #6895 )
...
* fix: update upstream tree-sitter-dockerfile
Fixes : #6797
* fix: review
* fix: review
2 years ago
Ollie Charles
8424f387b5
Remove `tree-sitter-cabal` ( #6996 )
2 years ago
Chirikumbrah
3fb0562e7b
Update dracula menu colors ( #6987 )
2 years ago
Gagan Janjua
c6228825fd
Add Amberwood theme ( #6924 )
2 years ago
Chirikumbrah
2701781db7
Dracula theme: change variable and menu colors ( #6855 )
2 years ago
Rafael Madriz
efd09b6c7c
tutor: Delete space between shorthand ( #6920 )
2 years ago
Rafael Madriz
5dcc891996
tutor: Trim trailing white space ( #6919 )
2 years ago
0rphee
f2ccc03332
[Theme - noctis] Change color for whitespace rendering and indent guides
2 years ago
0rphee
96720e7b84
[Theme - noctis] Refine multiple cursor highlighting
...
Improve clarity when using multiple cursors
2 years ago
Timothy DeHerrera
9c6c63a2be
inject language based on file extension & shebang ( #3970 )
...
* inject language based on file extension
Nodes can now be captured with "injection.filename". If this capture
contains a valid file extension known to Helix, then the content will
be highlighted as that language.
* inject language by shebang
Nodes can now be captured with "injection.shebang". If this capture
contains a valid shebang line known to Helix, then the content will
be highlighted as the language the shebang calls for.
* add documentation for language injection
* nix: fix highlights
The `@` is now highlighted properly on either side of the function arg.
Also, extending the phases with `buildPhase = prev.buildPhase + ''''`
is now highlighted properly.
Fix highlighting of `''$` style escapes (requires tree-sitter-nix bump)
Fix `inherit` highlighting.
* simplify injection_for_match
Split out injection pair logic into its own method to make the overall
flow easier to follow.
Also transform the top-level function into a method on a
HighlightConfiguration.
* markdown: add shebang injection query
2 years ago
ap29600
9cdc6b2e8a
Change Odin grammar to `ap29600/tree-sitter-odin` ( #6766 )
...
* Change Odin grammar to `ap29600/tree-sitter-odin`
The previously adopted grammar, `MineBill/tree-sitter-odin`, is unmaintained and mentions my repository as an alternative source.
* update queries
* docgen
* fix queries
* Update runtime/queries/odin/highlights.scm
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* remove `ERROR` query for `odin`
* track the latest rev in `ap29600/tree-sitter-odin`
* runtime/queries/odin/highlights.scm: update rune highlight class
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
---------
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2 years ago
Cole Helbling
6dd5054da4
Highlight sqlx's `query_scalar{,_unchecked}` macros as SQL ( #6793 )
...
* Highlight sqlx's `query_scalar{,_unchecked}` macros as SQL
* Update injections.scm
* fixup copy-pasta
2 years ago
Daniel Martí
e7f25d88ca
Avoid extra indentation on Go switches ( #6817 )
...
Unlike other languages, in Go, switches themselves are not indented;
it's just each case body which is indented by one level:
switch foo {
case "bar":
baz()
}
As such, we shouldn't `@indent` for type_switch_statement nor
expression_switch_statement, as otherwise inserted lines show up as:
switch foo {
// inserted with "o"
case "bar":
// inserted with "o"
baz()
}
With the fix, the inserted lines are indented properly:
switch foo {
// inserted with "o"
case "bar":
// inserted with "o"
baz()
}
I also verified that indentation on selects similarly works well.
Thanks to Triton171 for helping with this fix.
2 years ago
Paul Lange
78088ac185
Ayu dark improvements ( #6622 )
...
* theme(ayu_dark): Differentiate primary cursor
* theme(ayu_dark): Color statusline mode field
* theme(ayu): Adapt other ayu themes as well
2 years ago
Chirikumbrah
2342807364
another refactoring of dracula theme ( #6767 )
2 years ago
karei
7607727483
Add `inlay-hint` colours to Kanagawa
...
Makes the LSP hints more legible against the background colour
and more in line with the normal colours in the theme.
2 years ago
dylrich
523e9e4573
ferra: fix ruler overriding foreground style
...
Ferra's current ruler styling overrides the foreground style, which is
an odd look only for characters in the ruler column. This commit removes
the foreground styling for the ruler rule. This is more in line with
what other themes do for the ruler.
2 years ago
Matthew Toohey
99a8b6159c
Fix go locals query for var_spec identifiers
2 years ago
VuiMuich
4cdba7cccd
Add standalone language support for `just` ( #6453 )
...
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2 years ago
John Careaga
78e8066c3e
Replace 'Visual' (mode) with 'Select' in tutor
2 years ago
Farzin
bb27542199
Fix python highlights to support single character and alphanumeric constant identifier ( #6751 )
2 years ago
Jesús González
bff7fc8695
Add inlay hints styling to darcula theme ( #6732 )
...
* Add inlay hints coloring for darcula theme
* Add whitespace
---------
Co-authored-by: Ivan Tham <pickfire@riseup.net>
2 years ago
Michael
161fef2166
Add DTD language support ( #6644 )
...
- Added syntax highlighting for the DTD subset of the XML spec.
- Included .dtd and .ent as common file extensions
2 years ago
lefp
fff8543b58
Add OpenCL tree-sitter and LSP config ( #6473 )
2 years ago
Matouš Dzivjak
70de5026b8
feat(languages): Support markdoc ( #6432 )
...
Add basic support for [markdoc](https://markdoc.dev/ ).
For language server, see: https://github.com/markdoc-extra/markdoc-ls
For tree sitter, see: https://github.com/markdoc-extra/tree-sitter-markdoc
2 years ago
Farzin
fed5e6e646
Highlight C/C++ escape sequences ( #6724 )
2 years ago
Chirikumbrah
f6d65cf089
Refactor dracula theme ( #6552 )
2 years ago
Clément Delafargue
3e2eca0db8
tree-sitter(haskell): use quasiquoters as an injection point ( #6474 )
...
Similar to tagged templates in JS, quasiquoters allow to embed external
languages in haskell, so it makes sense to treat them as an injection
point.
2 years ago
Ollie Charles
deab323c28
Update tree-sitter-haskell ( #6317 )
2 years ago
basbebe
1421b67a4c
Everforest theme: Style inlay-hints and wrap indicator
2 years ago
basbebe
bfcc4c3795
Everforest: Fix keywords and types
2 years ago
basbebe
9248de8780
Adjust everforest to resemble original more closely
...
Adjust palettes and assignments:
Color palettes of upstream everforest where tweaked since creation of this port:
- https://github.com/sainnhe/everforest/pull/108
- https://github.com/sainnhe/everforest/pull/109
These adjustments move the helix everforest theme closer to the dcocumented
upstream vim theme
2 years ago
Ollie Charles
92c5f5f18c
Initial Cabal language support ( #6485 )
2 years ago
Constantin Angheloiu
d5fec302c9
base16_transparent: Highlight selected item state ( #6716 )
...
Increase visibility of selected file in file picker
https://asciinema.org/a/DBaZ5zjaYrKlXDSAVH8THVZg4
2 years ago
Michael Davis
686a1e2f31
Update tree-sitter-git-commit ( #6692 )
...
Trailers are now supported, for example 'Co-authored-by' or
'Signed-off-by'. Commits are also now recognized in message bodies.
2 years ago
not
e72ad1e731
theme(rose-pine): Improve whitespace and search matches colors ( #6679 )
...
* feat: make whitespace characters more readable
* feat: make search matches more discernable
* fix: reduce importance of whitespace characters
* feat: add background to ui.text.focus
https://github.com/rose-pine/helix/pull/4
Co-authored-by: Iorvethe <58810330+Iorvethe@users.noreply.github.com>
2 years ago
Ivan Tham
76825c7b66
Fix ayu theme markup unreadable bg ( #6538 )
...
* Fix ayu theme markup unreadable bg
* Add modifiers for markup
2 years ago
Arnar
6dabd36491
Update gleam grammar ( #6641 )
2 years ago
Jan Scheer
25858ec2e3
themes: add inlay-hint to nightfox ( #6655 )
2 years ago
karei
1148ce1fd9
Add support for Robot Framework files ( #6611 )
...
* Add support for Robot Framework files
* Run docgen
2 years ago
Danillo Melo
3dd715a115
Update Ruby Highlights ( #6587 )
...
* update ruby highlights
* Updated SQL injection.scm
* Move private, public, protected to builtin methods
2 years ago
Clara Hobbs
4b32b544fc
Add textobject queries for Julia ( #6588 )
...
* Add textobjects queries for Julia
* Update docs for Julia textobject queries
2 years ago
Casper Rogild Storm
7ce52e5b2c
Added `ferra` theme ( #6619 )
...
* Added ferra theme
* Updated with author information
* Conform to themelint
2 years ago
Erasin Wang
c22ebfe62e
Add Hurl Support ( #6450 )
...
* Add http Support
It's like [vscode-restclient](https://github.com/Huachao/vscode-restclient )
- https://github.com/erasin/tree-sitter-http/tree/main/tests
* Add Hurl Support
2 years ago
Gyeongwan Koh
951e8686e8
Colorize inlay hints in the boo_berry theme ( #6625 )
2 years ago
Anton Romanov
531b745c54
[theme][zenburn] set inlay hint to comment style ( #6593 )
2 years ago
Constantin Angheloiu
01b70762fd
Dim pane divider color in base16_transparent theme ( #6534 )
2 years ago
Bertrand Bousquet
2f4b9a47f3
Update Varua theme for inlay hints ( #6589 )
2 years ago
Rohit K Viswanath
480784d2cf
Update inlay-hint color for mellow & rasmus themes ( #6583 )
2 years ago
Slug
dbafe756fa
Update base16_transparent and dark_high_contrast themes ( #6577 )
...
* Update inlay-hint and wrap for base16_transparent
* Update inlay-hint and wrap for dark_high_contrast
* Tune dark_high_contrast cursor match theming
2 years ago
Yevgnen
43072f7876
Update colors for inlay hints for emacs theme ( #6569 )
2 years ago
Bertrand Bousquet
d0c9f38b68
Update Varua theme for soft wrap ( #6568 )
2 years ago
Jack Allison
1fcfef12be
Update OneDark theme to use light-gray for inlay hints. ( #6503 )
...
Co-authored-by: Jack Allison <jacallis@cisco.com>
2 years ago
Sebastian Zivota
d63c717b82
dracula theme: style inlay hints as comments ( #6515 )
2 years ago
Clara Hobbs
d284444eb4
Add indents.scm for Julia ( #6490 )
...
* Add indents.scm for Julia
* Update documentation for new indent support
2 years ago
Clara Hobbs
fc9229c846
Add injection for markdown strings ( #6489 )
2 years ago
Filip Dutescu
d59b80514e
feat(debug): highlight current line ( #5957 )
...
Add new theme highlight keys, for setting the colour of the breakpoint
character and the current line at which execution has been paused at.
The two new keys are `ui.highlight.frameline` and `ui.debug.breakpoint`.
Highlight according to those keys, both the line at which debugging
is paused at and the breakpoint indicator.
Add an indicator for the current line at which execution is paused
at, themed by the `ui.debug.active` theme scope. Update various themes
to showcase how the new functionality works.
Better icons are dependent on #2869 , and as such will be handled in the
future, once it lands.
Closes : #5952
Signed-off-by: Filip Dutescu <filip.dutescu@gmail.com>
2 years ago
Ivan
6a323c0b1b
Update catppuccin theme ( #6464 )
2 years ago
Michael Davis
d7431db55c
Update tree-sitter-git-commit, add comment textobject ( #6439 )
...
The update includes a fix for comments in commit messages where there
was no space separating the '#' and the comment text.
The comment textobject can be useful occasionally to jump to the
summary part of the commit edit message.
2 years ago
JJ
c8fde8b6f9
Initial Nim language support ( #6123 )
2 years ago
Juan C. Müller
5d7c90c5cf
Add language support for rego (OpenPolicyAgent) ( #6415 )
2 years ago
Tom Burdick
685ae2365a
Add vhdl language support ( #5826 )
...
Simple highlight query file with keywords and builtin types
matching. Many VHDL types however are defined in std libraries
which do not currently get matched on.
This is because the grammar doesn't consider them builtin types.
2 years ago
Erasin Wang
851ac6cdd3
Add theme keys for (un)checked markup list items ( #6434 )
2 years ago
Sebastian Zivota
e399bbc379
dracula theme: style wrap indicator like whitespace ( #6414 )
2 years ago
Thor Adam
346ddd4735
Add `switch_statement` to ecma indents ( #6369 )
2 years ago
zetashift
0e0c16e6fa
Add initial Smithy support ( #6370 )
2 years ago
Kristoffer Flottorp
b0ceac608e
fleet-dark improvements ( #6375 )
...
Co-authored-by: krfl <kr.fl@outlook.com>
2 years ago
not
9eb11214b1
theme(rose-pine): add inlay hints ( #6384 )
...
* add `ui.virtual.inlay-hint`
* normalise line endings
2 years ago
varon
05e7862e8f
Update nord with inlay-hints ( #6376 )
2 years ago
angelodlfrtr
ac2a7731a6
Add language support for Cap’n Proto format ( #6325 )
2 years ago
Sora
9f5374bf47
Update tokyo-night with inlay-hints ( #6349 )
2 years ago
Yutaro Ohno
bd473928ae
theme: update adwaita-dark for bufferline ( #6342 )
...
The adwaita-dark theme has no distinction between active and inactive
buffers on a bufferline. Add contrast to clarify differences.
2 years ago
VuiMuich
a07655d55b
Update Serika themes for inlay-hints ( #6344 )
2 years ago
Erasin Wang
b20cf15eef
Update queries for makefile ( #6339 )
...
- update variable and ref as paramter
- add target as constant
- add inject for shell_text
2 years ago
Ivan Tham
21a3fb8f29
Update ayu theme for inlay-hint ( #6329 )
...
Based on vscode ayu badge.
2 years ago
Ryan Roden-Corrent
aae8f72e2e
Add inlay-hint style for solarized themes. ( #6327 )
...
This uses the same color as comments, which is a light gray in both dark and light.
I think it also looks nice with italics.
2 years ago