aboutsummaryrefslogtreecommitdiff
path: root/runtime
Commit message (Collapse)AuthorAge
* Add tree-sitter-git-diff (#1373)Michael Davis2021-12-29
| | | | | | | | | | | | | | | | | | | | | | * add submodule on tree-sitter-git-diff * add git-diff highlights * inject git-diff into git-commit * update tree-sitter-git-commit with fix for bad diff case * add git-diff to language support docs * include-children in diff injections This ensures that children nodes of $.message are included in the injection, such as $.user or issue/pr numbers. Without this change, diffs containing '#' or '@' characters can trip up the injection and be parsed separately. See https://github.com/helix-editor/helix/pull/1373#issuecomment-1001215629 * set diff language's scope as source.diff
* Improve llvm highlighting and queries (#1388)Sebastian Neubauer2021-12-29
| | | | | | | | * Improve llvm highlighting and queries The llvm tree-sitter parser was updated to support scopes and more accurate highlighting. * Group highlight expressions better
* Add ruby indents (#1372)Stuart Hinson2021-12-27
| | | | | * Add ruby indents * Include ruby in generated docs
* highlight rebase-commands as markup.rawMichael Davis2021-12-25
|
* tree-sitter-gitcommit->tree-sitter-git-commitMichael Davis2021-12-25
|
* add commented-out diff and rebase injection queriesMichael Davis2021-12-25
|
* add diff.{plus,minus,delta} to themesMichael Davis2021-12-25
|
* add gitcommit highlightsMichael Davis2021-12-25
|
* Add textobjects and indents to cmake (#1307)Sebastian Neubauer2021-12-25
|
* chore: update rose pine themes to support markup (#1353)chunghha2021-12-25
|
* Update onedark theme to use new scopes (#1297)Gokul Soumya2021-12-24
|
* Typo fix in ocaml indents.toml (#1342)Stuart Hinson2021-12-24
|
* Add precise rust queries for use, mod, as (#1339)Gokul Soumya2021-12-23
| | | | | | - Differentiates between `as` keyword as a binary type cast operator and import renamer. - `mod` and `use` are now under `@keyword.control.import`, but `mod` is a `@keyword` if used as `mod name;`.
* Support dockerfiles (#1303)Midnight Exigent2021-12-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * allow language.config (in languages.toml) to be passed in as a toml object * Change config field for languages from json string to toml object * remove indents on languages.toml config * fix: remove patch version from serde_json import in helix-core * Use same tree-sitter-zig as upstream/master * fix(completion_popup): Fixes #1256 * Update helix-term/src/ui/completion.rs * feat(languages): Add support for `Dockerfile`s * docs(cargo-xtask-docgen): * improvement(langs-dockerfile): Add `injection-regex` to `languages.toml` for `Dockerfile` * improvement(langs-dockerfile): Add injections.scm * Update .gitmodules Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
* Add fish highlighting (#1308)Sebastian Neubauer2021-12-21
| | | | The highlights were copied and modified from https://github.com/nvim-treesitter/nvim-treesitter/blob/master/queries/fish/highlights.scm
* Add dracula theme (#1258)Sebastian Zivota2021-12-20
| | | | | | | | | | | | | * Add dracula theme * remove unused colors * correctly name constant.character.escape * Change cursors and selections * add some missing ui scopes * sorting
* Improve rust syntax highlighting (#1295)Gokul Soumya2021-12-20
| | | | | - Highlight fragment specifiers (expr, tt, in macro definitions) with @type. - Highlight attributes as macros
* Highlight comments in c, cpp, cmake and llvm (#1309)Sebastian Neubauer2021-12-20
| | | Also, reuse the c injections in glsl
* Add tree-sitter-comment (#1300)Michael Davis2021-12-19
| | | | | | | | | | | | | | | | | | | | | | | | | * Add tree-sitter-comment Fix #1164 * fix precedence in tree-sitter-comment highlights connects https://github.com/helix-editor/helix/pull/1170 * set injection-regex for comment language * remove comment filetype * fix comment injections for neovim-style injections tags * add comment injections for elixir * remove f.comment * fix spacing in .gitmodules * run 'cargo xtask docgen' Co-authored-by: Ivan Tham <pickfire@riseup.net>
* Add link and quote queries for markdownGokul Soumya2021-12-19
| | | | | | | | | - Rename markup.underline.link to markup.link.url - Add markup.link.label - Add markup.quote (The constructor theme scope was missing from the docs, so unrelated to this commit).
* Improve yaml syntax highlighting highlighting (#1294)Gokul Soumya2021-12-19
|
* Add dart lsp config and queries (#1250)Luke Jones2021-12-18
| | | | | | | | | | | | | | | | * Add language: dart The setup requires that dart be in the users path, such as: ``` export PATH="$HOME/Android/flutter/bin/cache/dart-sdk/bin/:$PATH" ``` Refactor the dart highlights * lang: dart: add indents and locals * lang: dart: corrections to local scope Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
* Add scala syntax highlights (#1278)Oliver Hechtl2021-12-18
| | | | | | | | | | | | | * add partial scala syntax highlights * ran cargo xtask docgen * updated tree-sitter-scala, fixed highlights * fix comments * move identifier to the end of the highlights * add indents
* Fix more highlight scopesBlaž Hrastnik2021-12-17
|
* highlights: @include -> @keyword.control.importBlaž Hrastnik2021-12-17
|
* Partly fix julia's locals.scmBlaž Hrastnik2021-12-17
|
* Add indents.toml to perl (#1280)ath32021-12-17
|
* Add injections query for markdownBlaž Hrastnik2021-12-15
|
* Partly fix latex highlights and add markup scope docsBlaž Hrastnik2021-12-15
|
* Add markdown grammarBlaž Hrastnik2021-12-14
| | | | Fixes #215
* Add `ui.gutter` themingNNB2021-12-13
|
* Use `base16_tty` as 16-color default, fix theme nameOmnikar2021-12-13
|
* change to .unwrap_or_default() and fix ui.window and ui.statuslineNNB2021-12-13
|
* Fix error color, add tty themeNNB2021-12-13
|
* Load alt default theme if true color is not supportedOmnikar2021-12-13
| | | | | | | | | | | | | | | | | | | | * Move `runtime/themes/base16_default_terminal.toml` to `base16_theme.toml` alongside `theme.toml` * Use `terminfo` crate to detect whether the terminal supports true color and, if the user has no theme configured and their terminal does not support true color, load the alt default theme instead of the normal default. Remove `terminfo` dependency, use `COLORTERM` env instead Prevent user from switching to an unsupported theme Add `true-color-override` option If the terminal is wrongly detected to not support true color, `true-color-override = true` will override the detection. Rename `true-color-override` to `true-color`
* Fix Base16 Dark, add Base16 Light and TerminalNNB2021-12-13
| | | | Improve accuracy with line number and cursor color
* Fix solarized selection colors (#1236)Skyler Hawthorne2021-12-08
| | | | | | * do not select a foreground color in selections, as this eliminates syntax coloring * select lighter color for selections * Make non-primary cursor cyan instead of green
* rose_pine_dawn.toml colorscheme (#1226)chunghha2021-12-03
| | | | | * adds: rose_pine_dawn.toml colorscheme * chore: define ui.statusline.inactive colors of rose_pine
* add more monokai pro filter themes (#1220)WindSoilder2021-12-03
|
* Add monokai pro theme (#1206)WindSoilder2021-12-02
| | | | | | | | | * add monokai_pro theme * add monokai_pro theme * claim the inspired theme and original author * make diagnostic underlined
* Add llvm grammar (#1167)Kirawi2021-11-29
|
* Add language support for WGSL (#1166)Kirawi2021-11-27
|
* Solarized theme: fix popup colors, adjust menu (#1124)Skyler Hawthorne2021-11-20
| | | | | * fix popup colors, adjust menu * fix hardcoded horizontal rule color
* Add spacebones light theme (#1131)Koen Van der Auwera2021-11-20
| | | | | * Add spacebones light theme * Fix error background
* improve nord status bar lineWindSoilder2021-11-16
|
* Improve Solarzed Dark theme (#1105)Skyler Hawthorne2021-11-16
| | | | Adjusts the Solarized Dark theme to be modeled more closely after vim's incarnation. Also adjust the Solarized Light theme to match.
* Solarized dark theme (#999)Kirawi2021-11-15
| | | | | | | * init * wip * wip
* Add json indents.toml file (#1055)Mateusz S. Szczygieł2021-11-10
| | | | | | | * add glsl language support * glsl: use indents.toml file * add json indents.toml
* add solarized_light theme (#1010)CossonLeo2021-11-09
| | | | | * add solarized_light theme * solarized_light add constant.numeric
* glsl support (#993)Mateusz S. Szczygieł2021-11-08
| | | | | * add glsl language support * glsl: use indents.toml file