summaryrefslogtreecommitdiff
path: root/runtime
Commit message (Collapse)AuthorAge
* Fix some typos (#2978)A-Walrus2022-07-06
|
* Update tree-sitter-ledger (#2936)Ivan Tham2022-07-05
|
* Update TSQ queries (#2960)Michael Davis2022-07-05
| | | | | | | | | | | | | | | | A few changes to make TSQ highlights better: * A parsing error has been fixed in the grammar itself * Previously tree-sitter-tsq did not parse the variables in predicates like `(#set! injection.language "javascript")` * Theme nodes as `tag` * The newly added node to the parser (from the above fix) is `variable` which takes over the `variable` capture from nodes * Highlight known predicates as `function` and unsupported predicates as `error` * This may help when translating queries from nvim-treesitter. For example `#any-of?` is a common one used in nvim-treesitter queries but not implemented in Helix or tree-sitter-cli. * Inject tree-sitter-regex into `#match?` predicates
* Add Autumn night themeJens Getreu2022-07-05
| | | | Under some light conditions, one prefers a high contrast theme.
* Autumn theme: slightly adjust contrastJens Getreu2022-07-05
|
* feat(theme): solarized: add cursorline, ruler, indent guide (#2962)Skyler Hawthorne2022-07-04
|
* languages: added elvish (#2948)rsteube2022-07-03
|
* Update night_owl for cursorline (#2938)nosa2022-07-01
|
* add statusline mode colors to meliora theme (#2933)ramojus2022-07-01
|
* Updated for #2676 , but I took the opportunity to do some other changes. (#2929)nosa2022-07-01
| | | | | | - Misspelling of 'modifiers' for markdown.heading.1 and 2. - Errors are now just underlined instead of in red. - Diagnostics are dimmed, as well as whitespace. - Add constant.builtin.
* Disable tree-sitter python indents, use fallback for nowBlaž Hrastnik2022-07-01
| | | | | | | There's been a lot of complaints about the state of python indentation and the fallback actually works better until the solution proposed in https://github.com/helix-editor/helix/issues/763#issuecomment-1137894973= is implemented.
* [Theme] Nord Light (#2908)two-six2022-07-01
| | | | | | | | | * add theme * updated nord_light * update to colors * last update to colors
* add cursorline to one light theme (#2925)Erasin2022-07-01
|
* Add `color-modes` to Autumn theme (#2928)Jens Getreu2022-07-01
| | | Co-authored-by: Jens Getreu <jens.getreu@dlh.lu>
* markdown: limit raw block highlight to code fence contentMichael Davis2022-07-01
|
* erlang: highlight modules in behaviour attributesMichael Davis2022-07-01
|
* erlang: highlight records with macro namesMichael Davis2022-07-01
| | | | | | | | | You might use a macro like `?MODULE` to name a record: -record(?MODULE, {a, b, c}). With this fix, the record fields correctly get `variable.other.member` highlights.
* git-commit: fix highlight edge casesMichael Davis2022-07-01
| | | | | | | | | * branch message with current branch and diverged branch has been added to the parser * scissors used in verbose commits are marked as a punctuation delimiter * we could use comment instead since they're visually the same but IMO this works better
* erlang: fix '#match?' for specs/callbacksMichael Davis2022-07-01
|
* replace module captures with namespaceMichael Davis2022-07-01
| | | | | | `module` is undocumented and does not exist in other themes. The equivalent existing scope based on usage (Elixir for example) is `namespace`.
* html: highlight punctuationMichael Davis2022-07-01
| | | | | * `/>` as in self-closing tags like `<hr/>` * `=` as in the separator between attribute name and value `<a href="bar">`
* edoc: prevent rogue punctuation highlightsMichael Davis2022-07-01
| | | | | | | Punctuation highlights would show up outside of where they were valid, for example using parentheses in some text. This change prevents that by gating the captures to being under the named nodes in which they are valid.
* rust: fix highlight corner-casesMichael Davis2022-07-01
| | | | | | | | | * add punctuation highlights for commas as in function parameters * remove stray `variable.parameter` highlight * I couldn't find any regressions from this and it fixes an edge case I ran into (but sadly did not record 😓) * highlight `fn` as `keyword.function` * the theme docs have `fn` as an example so it seems fitting
* markdown: highlight punctuationMichael Davis2022-07-01
|
* erlang: highlight unary '#' as punctuation.bracketMichael Davis2022-07-01
| | | | | | | | | | | | | | | | | | The '#' character may either be interpreted as a map when used like so: %% Example 1 #{a => b} Or as an operator which updates an existing map when the left-hand side is an expression: %% Example 2 MyMap#{a => b} This commit changes the highlight to `punctuation.bracket` when used as a character in a literal map (example 1) and keeps the `operator` highlight when used for updating (example 2).
* erlang: highlight nullary macros as constantsMichael Davis2022-07-01
|
* Update cursorline for tokyonight + tokyonight_storm (#2927)Sora2022-06-30
| | | Co-authored-by: s0LA1337 <dreamer@neoncity.dev>
* add mode colors to solarized (#2926)Skyler Hawthorne2022-06-30
|
* Add mode specific styles (#2676)Mathspy2022-06-30
| | | | | | | | | | | | | * Add mode specific styles In similar vein to neovim's lualine and similar statusline packages this allows helix users to style their mode based on which mode it is thus making each mode more visually distinct at a glance * Add an example based on rosepine * Add editor.colors-mode config * Document statusline mode styles
* Add cursorline to Autumn theme (#2918)Jens Getreu2022-06-29
| | | Co-authored-by: Jens Getreu <jens.getreu@dlh.lu>
* Adding a cursorline for the Nord theme (#2916)Ben Lee-Cohen2022-06-29
|
* primary cursorline for Dracula theme (#2915)Stuart Hinson2022-06-29
|
* support Bazel languages (#2903)Michael Davis2022-06-28
|
* Add cursorline scope for onedark theme (#2892)Gokul Soumya2022-06-27
|
* update meliora theme (#2890)ramojus2022-06-27
|
* Right align scrollbar with track in completion popup (#2754)Gokul Soumya2022-06-27
| | | | | - Align the scollbar to the right edge of the popup rather than at a margin of one. - Add a scrollbar track and a new scope `ui.menu.scroll`.
* add meliora theme (#2884)Ramojus2022-06-27
|
* [Theme] Acme (#2876)two-six2022-06-25
|
* Add theme scopes for indent guidesGokul Soumya2022-06-21
|
* Default rulers color to red (#2669)Mathspy2022-06-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Default rulers color to red Currently if the theme a user is using doesn't have `ui.virtual.rulers` set and they set up a ruler it just fails silently making it really hard to figure out what went wrong. Did they set incorrectly set the ruler? Are they using an outdated version of Helix that doesn't support rulers? This happened to me today, I even switched to the default theme with the assumption that maybe my theme just doesn't have the rulers setup properly and it still didn't work. Not sure if this is a good idea or not, feel free to suggest better alternatives! * Use builtin Style methods instead of Bevy style defaults Co-authored-by: Michael Davis <mcarsondavis@gmail.com> * Only default the style if there's no ui or ui.virtual * Update themes style from ui.virtual to ui.virtual.whitespace * Revert ui.virtual change in onelight theme * Prefer unwrap_or_else Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* add test textobjects queries for erlang,gleam,go,python,rustMichael Davis2022-06-21
|
* text-objects: add test capture & elixir queriesConnor Lay (Clay)2022-06-21
|
* adds missing tree-sitter-comment injection for js/ts (#2763)farwyler2022-06-20
|
* Add noctis bordo theme (#2830)Joe2022-06-20
|
* Add "<<=" operator to Rust syntax highlighting (#2805)A-Walrus2022-06-18
|
* HEEx: upgrade version and support new special_attribute node (#2800)Clay2022-06-17
|
* Restore section spacing in tutor. (#2791)nosa2022-06-16
|
* Add clojure language support (#2780)Axot2022-06-16
| | | Co-authored-by: Mateusz Ledwoń <mateusz.ledwon@iteo.com>
* update tutor (#2716)nosa2022-06-15
| | | | | | | | | | | | | * update tutor * Capitalize "command mode ". * Update runtime/tutor.txt Editing mistake. Co-authored-by: Michael Davis <mcarsondavis@gmail.com> Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* Introduce storage_class highlight scope (#2731)Anton Romanov2022-06-14
|