helix-mirror/searchindex.js

1 line
118 KiB
JavaScript
Raw Normal View History

Object.assign(window.search, {"doc_urls":["install.html#installation","install.html#osx","install.html#linux","install.html#nixos","install.html#arch-linux","install.html#build-from-source","usage.html#usage","configuration.html#configuration","configuration.html#lsp","themes.html#themes","themes.html#creating-a-theme","keymap.html#keymap","keymap.html#normal-mode","keymap.html#movement","keymap.html#changes","keymap.html#selection-manipulation","keymap.html#search","keymap.html#diagnostics","keymap.html#select--extend-mode","keymap.html#view-mode","keymap.html#goto-mode","keymap.html#object-mode","keymap.html#window-mode","keymap.html#space-mode","keymap.html#picker","remapping.html#key-remapping","hooks.html#hooks"],"index":{"documentStore":{"docInfo":{"0":{"body":7,"breadcrumbs":2,"title":1},"1":{"body":10,"breadcrumbs":2,"title":1},"10":{"body":176,"breadcrumbs":4,"title":2},"11":{"body":0,"breadcrumbs":3,"title":1},"12":{"body":0,"breadcrumbs":4,"title":2},"13":{"body":140,"breadcrumbs":3,"title":1},"14":{"body":65,"breadcrumbs":3,"title":1},"15":{"body":75,"breadcrumbs":4,"title":2},"16":{"body":33,"breadcrumbs":3,"title":1},"17":{"body":28,"breadcrumbs":3,"title":1},"18":{"body":24,"breadcrumbs":5,"title":3},"19":{"body":40,"breadcrumbs":4,"title":2},"2":{"body":0,"breadcrumbs":2,"title":1},"20":{"body":61,"breadcrumbs":4,"title":2},"21":{"body":6,"breadcrumbs":4,"title":2},"22":{"body":33,"breadcrumbs":4,"title":2},"23":{"body":63,"breadcrumbs":4,"title":2},"24":{"body":36,"breadcrumbs":3,"title":1},"25":{"body":129,"breadcrumbs":5,"title":2},"26":{"body":0,"breadcrumbs":3,"title":1},"3":{"body":15,"breadcrumbs":2,"title":1},"4":{"body":15,"breadcrumbs":3,"title":2},"5":{"body":52,"breadcrumbs":3,"title":2},"6":{"body":0,"breadcrumbs":2,"title":1},"7":{"body":12,"breadcrumbs":2,"title":1},"8":{"body":15,"breadcrumbs":2,"title":1},"9":{"body":34,"breadcrumbs":3,"title":1}},"docs":{"0":{"body":"We provide pre-built binaries on the GitHub Releases page .","breadcrumbs":"Installation » Installation","id":"0","title":"Installation"},"1":{"body":"A Homebrew tap is available: brew tap helix-editor/helix\nbrew install helix","breadcrumbs":"Installation » OSX","id":"1","title":"OSX"},"10":{"body":"First create a file with the name of your theme as file name (i.e mytheme.toml) and place it in your themes directory (i.e ~/.config/helix/themes). Each line in the theme file is specified as below: key = { fg = \"#ffffff\", bg = \"#000000\", modifiers = [\"bold\", \"italic\"] } where key represents what you want to style, fg specifies the foreground color, bg the background color, and modifiers is a list of style modifiers. bg and modifiers can be omitted to defer to the defaults. To specify only the foreground color: key = \"#ffffff\" if the key contains a dot '.', it must be quoted to prevent it being parsed as a dotted key . \"key.key\" = \"#ffffff\" Possible modifiers: Modifier bold dim italic underlined slow\\_blink rapid\\_blink reversed hidden crossed\\_out Possible keys: Key Notes attribute keyword keyword.directive Preprocessor directives (#if in C) namespace punctuation punctuation.delimiter operator special property variable variable.parameter type type.builtin constructor function function.macro function.builtin comment variable.builtin constant constant.builtin string number escape Escaped characters label For lifetimes module ui.background ui.linenr ui.statusline ui.popup ui.window ui.help ui.text ui.text.focus ui.menu.selected ui.selection For selections in the editing area warning LSP warning error LSP error info LSP info hint LSP hint These keys match tree-sitter scopes . We half-follow the common scopes from macromates language grammars with some differences. For a given highlight produced, styling will be determined based on the longest matching theme key. So it's enough to provide function to highlight function.macro and function.builtin as well, but you can use more specific scopes to highlight specific cases differently.","breadcrumbs":"Configuration » Themes » Creating a theme","id":"10","title":"Cre