aboutsummaryrefslogtreecommitdiff
path: root/runtime
Commit message (Collapse)AuthorAge
...
* 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>
* Add Snazzy theme (#2473)Timothy DeHerrera2022-05-14
|
* feat(lang): add Meson language support (#2314)unrelentingtech2022-05-11
| | | https://mesonbuild.com/Syntax.html
* Monokai pro spectrum theme shows error in yellow on red background (#2433)Fanda Vacek2022-05-08
| | | Co-authored-by: Fanda Vacek <fvacek@elektroline.cz>
* fix Markdown list highlighting (#2401)ChrHorn2022-05-07
|
* feat(languages): add odin language (#2399)Robert Walter2022-05-05
|
* feat(languages): git-ignore and git-attributes (#2397)Matthew Toohey2022-05-05
|
* TOML highlight: use variable.other.member instead of string for quoted keys ↵ChrHorn2022-05-05
| | | | (#2391)
* replace constant.number with constant.numeric (#2389)ChrHorn2022-05-04
|
* feat(lang): Cpon lang support (#2355)Fanda Vacek2022-05-01
| | | Co-authored-by: Fanda Vacek <fvacek@elektroline.cz>
* Add Cairo supportBlaž Hrastnik2022-05-01
|
* Add Night Owl Color Theme. (#2330)nosa2022-04-29
|
* feat(lang): add devicetree (Flattened Device Tree Source) (#2329)unrelentingtech2022-04-29
|
* change cursor for copy selection (#2323)Erasin2022-04-29
|
* Fix spelling errors in some themes (#2324)Yang Tang2022-04-29
|
* feat(lang): Update nickel to include "rec" keyword (#2320)Erin van der Veen2022-04-29
|
* Extend tutor file (#2133)nosa2022-04-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Adds tutorial sections for multiple areas including: - Changing selections to uppercase / lowercase - yanking and pasting - macros - selecting to chars with t and f PS: I got kind of carried away and put off commiting for a while, will commit to commit more often in the future. * Changed section titles to all uppercase * Added recap and section about jumplist * Added sections for searching in file, joining lines and indenting lines. * Removed some trailing whitespace * Evened out the space between sections to all be 5 lines * Add section on opening lines (o) and recap * Changed the amount of lines between sections This is so that - on a 24 line terminal - only one section is visible at a time and page up/page down goes straight to the next section keeping the header at the top. * Punctuation error Co-authored-by: Omnikar <omkar.subramaniam@icloud.com> * Punctuation error Co-authored-by: Omnikar <omkar.subramaniam@icloud.com> * Spelling error Co-authored-by: Omnikar <omkar.subramaniam@icloud.com> * Remove unnecessary word Co-authored-by: Omnikar <omkar.subramaniam@icloud.com> * Reword note about searches Co-authored-by: Omnikar <omkar.subramaniam@icloud.com> * Change word Co-authored-by: Omnikar <omkar.subramaniam@icloud.com> * Update tutor file * Made some small changes suggested by Omnikar * Added better demo for macros. * Small changes - Add newlines at the end - Make "MACROS" section fit into 22 lines - Correct mistake of saying helix copied to clipboard in "COPYING AND PASTING TEXT" * Reformatted notes in copying/pasting section to fit in screen * Add a note about n and N and their difference to Vim. * Combine f and t commands into one section. * Removed t/T section which was merged into the f/F section. * Merge sections on manipulating case into one. * Gave section's numbers * Convert 'press' to 'type' in some places * Added examples of how prompt lines should look. * Reformatted notes in copy/pasting section. * More rewording to more comfortably fit sections on screen. * Grammatical error. * Missing periods. * Missing capital + small reformat * Fix mis-numbered section * Reworded to use these conventions when referring to inputs: - "Press" for single keypresses - "Type" for multiple keypresses / modifiers - "Use" when referencing two inputs as a pair. * till not 'til * Say 'press' instead of 'type' when referring to symbols * 'outdent' not 'unindent' * Typo and grammar. * Replace all 'press's with 'type's (apart from places it would make no sense in). * Improve examples for joining and indenting lines. * Section alignment. Co-authored-by: Omnikar <omkar.subramaniam@icloud.com>
* Add ui.virtual theme scopes for onedark themeGokul Soumya2022-04-27
|
* Add onelight theme variant (#2287)Erasin2022-04-27
|
* feat(lang): add hare language support (#2289)meak2022-04-26
| | | Co-authored-by: Mehdi Katranji <hello@mek.yt>
* Fix base16_terminal theme using incorrect ansi-color (#2279)Tomas Roos2022-04-26
|
* Autumn theme: improve markup highlighting (#2270)Jens Getreu2022-04-25
| | | Co-authored-by: Jens Getreu <jens.getreu@dlh.lu>
* feat(lsp): add vala language support (#2243)ttys32022-04-24
|
* Add Pop-Dark Theme (#2189)workingj2022-04-24
|
* Add tokyonight_storm theme variant (#2240)Paul Graydon2022-04-23
|
* feat(lang): add nushell language support (#2225)Justin Ma2022-04-22
| | | Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* Add `autumn` theme (#2212)Jens Getreu2022-04-22
| | | Co-authored-by: Jens Getreu <jens.getreu@dlh.lu>
* feat(lang): add go.mod and go.work support (#2197)ttys32022-04-20
|
* Add Nickel language (#2173)Erin van der Veen2022-04-20
|
* dark_plus: Add the borders color from the original theme (#2186)Emil Fresk2022-04-20
|
* theme ui.virtual capture for existing themesMichael Davis2022-04-20
|
* Add tokyonight theme (#2162)Paul Graydon2022-04-18
|
* Fix Golang textobject queries (#2153)Michael Davis2022-04-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * log textobject query construction errors The current behavior is that invalid queries are discarded silently which makes it difficult to debug invalid textobjects (either invalid syntax or an update may have come through that changed the valid set of nodes). * fix golang textobject query `method_spec_list` used to be a named node but was removed (I think for Helix, it was when updated to pull in the support for generics). Instead of a named node for the list of method specs we have a bunch of `method_spec` children nodes now. We can match on the set of them with a `+` wildcard. Example go for this query: type Shape interface { area() float64 perimeter() float64 } Which is parsed as: (source_file (type_declaration (type_spec name: (type_identifier) type: (interface_type (method_spec name: (field_identifier) parameters: (parameter_list) result: (type_identifier)) (method_spec name: (field_identifier) parameters: (parameter_list) result: (type_identifier))))))