summaryrefslogtreecommitdiff
path: root/runtime
Commit message (Collapse)AuthorAge
* Update languages.toml for Nickel (#7059)Viktor Kleen2023-05-26
|
* Drop old cairo grammar, alias to rust for nowBlaž Hrastnik2023-05-26
|
* Update nightfox theme (#7061)Jan Scheer2023-05-18
| | | | | | | | | | | * 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.
* Add comment injections for Odin (#7027)lefp2023-05-12
|
* fix: update upstream tree-sitter-dockerfile (#6895)Vitalii Solodilov2023-05-12
| | | | | | | | | * fix: update upstream tree-sitter-dockerfile Fixes: #6797 * fix: review * fix: review
* Remove `tree-sitter-cabal` (#6996)Ollie Charles2023-05-09
|
* Update dracula menu colors (#6987)Chirikumbrah2023-05-08
|
* Add Amberwood theme (#6924)Gagan Janjua2023-05-03
|
* Dracula theme: change variable and menu colors (#6855)Chirikumbrah2023-05-01
|
* tutor: Delete space between shorthand (#6920)Rafael Madriz2023-04-30
|
* tutor: Trim trailing white space (#6919)Rafael Madriz2023-04-30
|
* [Theme - noctis] Change color for whitespace rendering and indent guides0rphee2023-04-30
|
* [Theme - noctis] Refine multiple cursor highlighting0rphee2023-04-30
| | | Improve clarity when using multiple cursors
* inject language based on file extension & shebang (#3970)Timothy DeHerrera2023-04-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Change Odin grammar to `ap29600/tree-sitter-odin` (#6766)ap296002023-04-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Highlight sqlx's `query_scalar{,_unchecked}` macros as SQL (#6793)Cole Helbling2023-04-27
| | | | | | | * Highlight sqlx's `query_scalar{,_unchecked}` macros as SQL * Update injections.scm * fixup copy-pasta
* Avoid extra indentation on Go switches (#6817)Daniel Martí2023-04-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Ayu dark improvements (#6622)Paul Lange2023-04-21
| | | | | | | * theme(ayu_dark): Differentiate primary cursor * theme(ayu_dark): Color statusline mode field * theme(ayu): Adapt other ayu themes as well
* another refactoring of dracula theme (#6767)Chirikumbrah2023-04-21
|
* Add `inlay-hint` colours to Kanagawakarei2023-04-16
| | | | | Makes the LSP hints more legible against the background colour and more in line with the normal colours in the theme.
* ferra: fix ruler overriding foreground styledylrich2023-04-16
| | | | | | | 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.
* Fix go locals query for var_spec identifiersMatthew Toohey2023-04-16
|
* Add standalone language support for `just` (#6453)VuiMuich2023-04-14
| | | | Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* Replace 'Visual' (mode) with 'Select' in tutorJohn Careaga2023-04-14
|
* Fix python highlights to support single character and alphanumeric constant ↵Farzin2023-04-14
| | | | identifier (#6751)
* Add inlay hints styling to darcula theme (#6732)Jesús González2023-04-13
| | | | | | | | | * Add inlay hints coloring for darcula theme * Add whitespace --------- Co-authored-by: Ivan Tham <pickfire@riseup.net>
* Add DTD language support (#6644)Michael2023-04-12
| | | | - Added syntax highlighting for the DTD subset of the XML spec. - Included .dtd and .ent as common file extensions
* Add OpenCL tree-sitter and LSP config (#6473)lefp2023-04-12
|
* feat(languages): Support markdoc (#6432)Matouš Dzivjak2023-04-12
| | | | | | 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
* Highlight C/C++ escape sequences (#6724)Farzin2023-04-12
|
* Refactor dracula theme (#6552)Chirikumbrah2023-04-12
|
* tree-sitter(haskell): use quasiquoters as an injection point (#6474)Clément Delafargue2023-04-12
| | | | | 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.
* Update tree-sitter-haskell (#6317)Ollie Charles2023-04-12
|
* Everforest theme: Style inlay-hints and wrap indicatorbasbebe2023-04-12
|
* Everforest: Fix keywords and typesbasbebe2023-04-12
|
* Adjust everforest to resemble original more closelybasbebe2023-04-12
| | | | | | | | | | | 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
* Initial Cabal language support (#6485)Ollie Charles2023-04-12
|
* base16_transparent: Highlight selected item state (#6716)Constantin Angheloiu2023-04-12
| | | | | Increase visibility of selected file in file picker https://asciinema.org/a/DBaZ5zjaYrKlXDSAVH8THVZg4
* Update tree-sitter-git-commit (#6692)Michael Davis2023-04-10
| | | | Trailers are now supported, for example 'Co-authored-by' or 'Signed-off-by'. Commits are also now recognized in message bodies.
* theme(rose-pine): Improve whitespace and search matches colors (#6679)not2023-04-10
| | | | | | | | | | | | | * 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>
* Fix ayu theme markup unreadable bg (#6538)Ivan Tham2023-04-09
| | | | | * Fix ayu theme markup unreadable bg * Add modifiers for markup
* Update gleam grammar (#6641)Arnar2023-04-09
|
* themes: add inlay-hint to nightfox (#6655)Jan Scheer2023-04-08
|
* Add support for Robot Framework files (#6611)karei2023-04-07
| | | | | * Add support for Robot Framework files * Run docgen
* Update Ruby Highlights (#6587)Danillo Melo2023-04-06
| | | | | | | * update ruby highlights * Updated SQL injection.scm * Move private, public, protected to builtin methods
* Add textobject queries for Julia (#6588)Clara Hobbs2023-04-06
| | | | | * Add textobjects queries for Julia * Update docs for Julia textobject queries
* Added `ferra` theme (#6619)Casper Rogild Storm2023-04-06
| | | | | | | * Added ferra theme * Updated with author information * Conform to themelint
* Add Hurl Support (#6450)Erasin Wang2023-04-06
| | | | | | | | | * 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
* Colorize inlay hints in the boo_berry theme (#6625)Gyeongwan Koh2023-04-06
|
* [theme][zenburn] set inlay hint to comment style (#6593)Anton Romanov2023-04-04
|