aboutsummaryrefslogtreecommitdiff
path: root/runtime
Commit message (Collapse)AuthorAge
* 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
* Perl support (#978)ath32021-11-08
|
* Updated tree-sitter query scopes (#896)Kirawi2021-11-03
| | | | | | | | | | | | | | | | | | * updated theme scopes variable.property -> variable.field property -> variable.field * updated theme scopes * update book and themes updated book and themes to reflect scope changes * wip * update more queries * update dark_plus.toml
* Add indents definition based on the one from nvim-treesitterDaniel Poulin2021-11-02
|
* Update onedark theme (#936)Gokul Soumya2021-10-30
| | | | | - Use named color palette - Remove blue highlight for variables (too much noise) - Add purple highlight for control statements (if, match, etc)
* update cpp queries (#930)Houkime2021-10-29
| | | Co-authored-by: Houkime <>
* fix: string.regex{=>p}Michael Davis2021-10-27
|
* use punctuation.special for interpolation #{ }Michael Davis2021-10-27
|
* runtime: Rose Pine colorscheme (#897)Ray Gervais2021-10-25
|
* Add treesitter textobjects (#728)Gokul Soumya2021-10-23
| | | | | | | | | | | | | | | | | | | | | | | | | * Add treesitter textobject queries Only for Go, Python and Rust for now. * Add tree-sitter textobjects Only has functions and class objects as of now. * Fix tests * Add docs for tree-sitter textobjects * Add guide for creating new textobject queries * Add parameter textobject Only parameter.inside is implemented now, parameter.around will probably require custom predicates akin to nvim' `make-range` since we want to select a trailing comma too (a comma will be an anonymous node and matching against them doesn't work similar to named nodes) * Simplify TextObject cell init
* CMake support (#888)ath32021-10-22
|
* fixes: missing info, warning diagnostic (#890)Ray Gervais2021-10-22
|
* Refactor nord theme (#874)WindSoilder2021-10-19
| | | | | * refactor again * remove useless color
* improve menu selected color for nord (#873)WindSoilder2021-10-18
|