aboutsummaryrefslogtreecommitdiff
path: root/runtime
Commit message (Collapse)AuthorAge
* [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
|
* Solarized Light: Fixing menu colors and adding English translation (#2626)Ben Lee-Cohen2022-05-31
|
* Elixir: inject Markdown into docs, remove h sigil HEEx injection (#2619)Clay2022-05-31
| | | Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* feat(lang): Update Nix grammar & improve queries (#2472)Timothy DeHerrera2022-05-30
|
* Adjust colors in tokyonight themes (#2606)Paul Graydon2022-05-29
|
* Add Vlang tree-sitter in the languages.toml (#2526)pancake2022-05-28
| | | | Co-authored-by: pancake <pancake@nopcode.org> Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* Changing Macro color to avoid color confusionBen Lee-Cohen2022-05-25
| | | | | I noticed that in Rust, `println!`being a macro, it matched the color of string literals. This was visually confusing to me, so I checked what the nvim catpuccin theme (https://github.com/catppuccin/nvim) does. While it is pretty different, it does use different colors for strings and all function types: https://share.cleanshot.com/RLG2y1 I don't know if blue or red makes more sense given the other syntax choices, but wanted to propose this change cc @IsotoxalDev
* update Erlang grammar and queriesMichael Davis2022-05-25
| | | | | | | | | | | | | The update to the grammar itself covers the case where the document is a single expression without a trailing newline such as "min(A, B)". A small change to the parser now parses these expressions correctly which improves the display of the function head in the signature help popup. The update to the queries marks 'andalso', 'orelse', 'not', etc. as `@keyword.operator` which improves the look - it looks odd to see operators that are words highlighted the same as tokens like '->' or '=:='.
* update Gleam grammar and queriesMichael Davis2022-05-25
| | | | | | | | | | | | | | | | | | | | | | | With respect to the queries: The locals scope for functions was not large enough, so a function's parameter could outlive the function body. To fix it, we just widen the scope to the `function` node. See also https://github.com/gleam-lang/tree-sitter-gleam/issues/25 With respect to the parser: An external scanner has been added that fixes the parsing of strings. Previously, a comment inside a string would act like a comment rather than string contents. See also https://github.com/gleam-lang/tree-sitter-gleam/issues/14#issuecomment-1129263640 A new constructor node has been added as well which makes type highlighting more fine grained. See also https://github.com/gleam-lang/tree-sitter-gleam/pull/29
* Add `parameter.around` text object queryAndrey Tkachenko2022-05-25
|
* Basic verilog support (#2552)Andrey Tkachenko2022-05-24
|
* Add Catppuccin Theme (#2546)Isotoxal2022-05-24
| | | Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* Highlight active window in Autumn theme (#2531)Jens Getreu2022-05-22
| | | Co-authored-by: Jens Getreu <jens.getreu@dlh.lu>
* fix: remove duplicated `ui.help` in themesJoel2022-05-22
| | | | | | | | | | | | | | | | | the bottom value is used, so i've removed the top `ui.help` values from all themes also, the values are not merged, so: ```toml "ui.help" = { modifiers = ["reversed"] } "ui.help" = { fg = "white", bg = "black" } ``` is equal to: ```toml "ui.help" = { fg = "white", bg = "black" } ```
* Add Scheme supportBlaž Hrastnik2022-05-21
| | | | Skipped scm for now :/ it overlaps with tree-sitter-tsq
* add missing `ui.menu` to themes, fix issues with some themesChristoph Horn2022-05-20
|
* Python highlight decorator attributePaul Scott2022-05-20
|
* Python highlight keyword argument as parameterPaul Scott2022-05-20
|
* Python handling highlighting parameters with defaultsPaul Scott2022-05-20
|
* Python highlight improvements: type, parameter etcPaul Scott2022-05-20
| | | | | | | | | | | | | * str, list, etc. handled as @function.builtin and @type.builtin * None and non-conforming type indentifiers as @type in type hints * class identifiers treated as @type * @constructor used for constructor definitions and calls rather than as a catch-all for type-like things * Parameters highlighted * self and cls as @variable.builtin * improved decorator highlighting as part of @function Re-ordering of some statements to give more accurate priority.
* dark_plus theme constructor should be green.Zeddicus4142022-05-20
|
* Change python highlights.scm to more fully utilize the themes.Zeddicus4142022-05-20
| | | | | | | Create type keywords Allow _CONSTANTS to start with _ Highlight constants before constructors Move some keywords into @keyword.control
* Include macro attributes to impls, structs, enums, functions etc. ↵Andrey Tkachenko2022-05-20
| | | | textobjects (#2494)
* Add tree-sitter ssh client config queries (#2498)midnightexigent2022-05-18
| | | Co-authored-by: Michael Davis <mcarsondavis@gmail.com>