aboutsummaryrefslogtreecommitdiff
path: root/runtime
Commit message (Collapse)AuthorAge
...
* 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
|
* Cleanup for runtime/tutor.txt (#2590)Kappa2022-06-13
|
* Clarified the text in chapter 3 of the tutor (#2735)Bjorn Ove Hay Andersen2022-06-13
| | | | | * Clarified the text in chapter 3 of the tutor (#2725) * Adjusted section 3.1 to better show how C works
* Expand chapter one recap of tutorJonas Tepe2022-06-12
| | | | | This add the missing variant of entering insert mode to the chapter 1 recap section.
* add prisma tree-sitter and lsp support (#2703)Ivan2022-06-12
| | | Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* fix spelling of catppuccin theme (#2713)Danny2022-06-08
|
* capture rust closures as function textobjectsMichael Davis2022-06-07
| | | | | | | | | Closures like iter.map(|a| a + 1) Are sort-of functions, so `]f` or `maf` or `mif` can apply to them as well as named function definitions.
* add textobject queries for gleamMichael Davis2022-06-07
|
* add textobject queries for elixirMichael Davis2022-06-07
|
* add textobject queries for erlangMichael Davis2022-06-07
|
* support for openscad (#2680)farwyler2022-06-06
| | | Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* Update selection style of Night Owl (#2668)nosa2022-06-04
|
* add tree-sitter-jsdoc (#2650)Michael Davis2022-06-03
|
* add tree-sitter-edoc (#2640)Michael Davis2022-06-02
| | | | | | | * add tree-sitter-edoc * fix escape character capture in markdown queries * add field negation operator "!" to tsq highlights
* catpuccin ui.popup should be a different color from ui.background (#2644)Michael Zeller2022-06-01
|