aboutsummaryrefslogtreecommitdiff
path: root/book
Commit message (Collapse)AuthorAge
* add reflow command (#2128)Vince Mutolo2022-05-02
| | | | | | | | | | | | | | | | | | | | | | | * add reflow command Users need to be able to hard-wrap text for many applications, including comments in code, git commit messages, plaintext documentation, etc. It often falls to the user to manually insert line breaks where appropriate in order to hard-wrap text. This commit introduces the "reflow" command (both in the TUI and core library) to automatically hard-wrap selected text to a given number of characters (defined by Unicode "extended grapheme clusters"). It handles lines with a repeated prefix, such as comments ("//") and indentation. * reflow: consider newlines to be word separators * replace custom reflow impl with textwrap crate * Sync reflow command docs with book * reflow: add default max_line_len language setting Co-authored-by: Vince Mutolo <vince@mutolo.org>
* Add run-shell-command for Commands (#1682)Ryosuke Hayashi2022-05-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add run_shell_command * docgen * fix command name Co-authored-by: Blaž Hrastnik <blaz@mxxn.io> * refactored Info::new * show 'Command failed' if execution fails * TypedCommand takes care of error handling and printing the error to the statusline. * docgen * use Popup instead of autoinfo * remove to_string in format! * Revert chage in info.rs * Show "Command succeed" when success * Fix info.rs Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
* feat(lang): Cpon lang support (#2355)Fanda Vacek2022-05-01
| | | Co-authored-by: Fanda Vacek <fvacek@elektroline.cz>
* cargo xtask docgenBlaž Hrastnik2022-05-01
|
* feat(ui): add nbsp (non-breaking space) to rendered whitespace (#2322)unrelentingtech2022-04-30
|
* feat(lang): add devicetree (Flattened Device Tree Source) (#2329)unrelentingtech2022-04-29
|
* fix(docs): cleanup obsolete indents.toml mentions (#2327)unrelentingtech2022-04-29
|
* Add `m` textobject to select closest surround pairGokul Soumya2022-04-29
|
* Change A-left right to C-left right in insert (#2193)Ivan Tham2022-04-29
| | | | | | Currently A-left move one word left and the behavior will be more consistent for people coming GUI world if the key was changed to control given that both browsers and editors like vscode uses C-left right by default to move word rather than alt.
* Make A-hjkl tree-sitter nav A-pion (#2205)Ivan Tham2022-04-29
| | | | | | | | | | | A-hl currently is not very consistent with hl when next object is selected, since it may go up/down or left/right and this behavior is confusing such that some people think it should swap the keys with A-jk, so it is better to use A-pn since that only specifies two direction. A-jk have the same issue as in it usually moves right and is not consistent with the behavior of jk so people may think A-hl is better, maybe A-oi is better here since A-hl will be swapped to A-pn, A-oi can convey the meaning of in and out, similar to some window manager keys?
* fix typos (#2304)chunghha2022-04-27
|
* feat(lsp): add toml lsp (#2302)Alexis Kalabura2022-04-27
|
* feat(lang): add hare language support (#2289)meak2022-04-26
| | | Co-authored-by: Mehdi Katranji <hello@mek.yt>
* feat(lsp): add vala language support (#2243)ttys32022-04-24
|
* Add :get-option command (#2231)Daniel2022-04-24
|
* fix(lsp): divide hcl into seperate languages (#2244)Lukas2022-04-23
|
* feat(lsp): add yaml lsp (#2234)Lukas2022-04-23
|
* Replace line endings using `set_line_ending` command (#1871)Kirawi2022-04-23
| | | | | | | * set_line_ending: now replace line endings * use ending.len_chars() directly * account for unicode-lines feaure in line-ending doc
* feat(lang): add nushell language support (#2225)Justin Ma2022-04-22
| | | Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* Document `ui.virtual.ruler` scope in theme docs (#2199)Michael Davis2022-04-20
| | | From the rulers feature (#2060)
* feat(lang): add go.mod and go.work support (#2197)ttys32022-04-20
|
* Add Nickel language (#2173)Erin van der Veen2022-04-20
|
* allow whitespace to be renderedOmnikar2022-04-20
| | | | Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* Add rulers option (#2060)Thomas2022-04-20
| | | | | | | * Add color_column option * Rename to ruler Co-authored-by: DeviousStoat <devious@stoat.com>
* add table of OS/command for copy/symlink the runtime folder to the config ↵matan h2022-04-20
| | | | | | | | | | | | | | | | | | | | | | | (#2073) * create table of OS and commands in the readme * add link to wiki from health check (without color; just simple println) * move the table from readme to docs and add link from the readme to docs * drop copy on unix,and apply some style fixes from the conversations * by mistake, I edit master insted of develop * remove this file from pr * Update README.md Co-authored-by: Michael Davis <mcarsondavis@gmail.com> * copy table to readme Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* Add support for local language configuration (#1249)Kirawi2022-04-18
| | | | | | | * add local configuration * move config loading to Application::new * simplify find_root_impl
* Ruby TextObjects and more file extensions (#2143)Danillo Melo2022-04-18
|
* Pipe typable command (#1972)Thomas2022-04-17
| | | Co-authored-by: DeviousStoat <devious@stoat.com>
* Make gutters configurable (#1967)Dr. David A. Kunz2022-04-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * config option line numbers none * view tests * added tests * doc * comment * Make gutters configurable * docu * docu * rm none docu * order * order * precedence * simpler * rm todo * fixed clippy * order * double quotes * only allow diagnostics and line-numbers * tests * docu * format * rm short variant and more docu * performance improvements * typo * rename
* gdscript support (#1985)EmmChriss2022-04-15
|
* Additions to 'themes' section of docs (#2098)nosa2022-04-15
| | | | | | | | | * Added more descriptions to the themes part of the docs * Add more descriptions to themes section of the docs * capitalised first letters of descriptions in docs Co-authored-by: Joe Mckay <jm@pop-os.localdomain>
* feat(languages): SQL (#2097)Jared Ramirez2022-04-14
|
* add tree-sitter-heexMichael Davis2022-04-13
| | | | | | | | | | | | | HEEx is a templating engine on top of Elixir's EEx templating language specific to HTML that is included in Phoenix.LiveView (though I think the plan is to eventually include it in base Phoenix). It's a superset of EEx with some additional features like components and slots. The injections don't work perfectly because the Elixir grammar is newline sensitive (the _terminator rule). See https://github.com/elixir-lang/tree-sitter-elixir/issues/24 for more information.
* add tree-sitter-eexMichael Davis2022-04-13
| | | | | | EEx is an templating language for Elixir. Since the incremental parsing refactor we can used combined injections which allows us to add EEx support.
* Document values for editor.cursor-shape (#2094)scgtrp2022-04-13
| | | These are hinted at in the example config at the top (except `none`), but really should be listed explicitly near the option itself for clarity.
* Add `:write!` to create nonexistent subdirectories (#1839)Omnikar2022-04-12
| | | | | | | * Make `:write` create nonexistent subdirectories Prompting as to whether this should take place remains a TODO. * Move subdirectory creation to new `w!` command
* Rewrite Language Support docs (#2065)Michael Davis2022-04-10
|
* add tree-sitter-embedded-template (erb & ejs) (#2055)Michael Davis2022-04-09
| | | | | | | | | | After the incremental parsing rewrite for injections (which was released in 22.03 https://helix-editor.com/news/release-22-03-highlights/#incremental-injection-parsing-rewrite), we can now do combined injections which lets us pull in some templating grammars. The most notable of those is embedded-template - a pretty straightforward grammar that covers ERB and EJS. The grammar and highlights queries are shared between the two but they have different injections.
* Improve documentation on Language Server installation (#2037)Michael Davis2022-04-09
|
* Add default language server for Vue (#2043)Kurenshe Nurdaulet2022-04-09
|
* docs: Quote TOML keys containing dots (#2040)Evan Relf2022-04-08
|
* Add language server command for OCaml (#2035)unrelentingtech2022-04-08
|
* Add swift language (#2033)Aaron Housh2022-04-08
|
* PHP roots and languageserver improvements (#2031)Karl Grasegger2022-04-08
| | | Co-authored-by: Karl Grasegger <karl.grasegger@gebruederheitz.de>
* Add default language server for CSS (#2025)David2022-04-08
|
* Add default language server for JSON (#2024)David2022-04-08
|
* Add default language server for HTML (#2018)David2022-04-08
|
* add languages `r` and `rmarkdown` (#1998)Matthew Toohey2022-04-08
| | | | | | | | | | | * add languages `r` and `rmarkdown` * r: fix highlights * rmarkdown: add eof in queries * rmarkdown: update lang-support.md * r: fix highlight query precedence
* fix keymap doc typo for 'delete' in insert-mode (#1990)Michael Davis2022-04-06
| | | | closes #1980 see also #1180
* add language `ron` (#1925)VuiMuich2022-04-05
|