helix-mods/helix-term/src/ui
Roland Kovacs d962e06e91
Add runtime language configuration (#1794) (#1866)
* Add runtime language configuration (#1794)

* Add set-language typable command to change the language of current buffer.
* Add completer for available language options.

* Update set-language to refresh language server as well

* Add language id based config lookup on `syntax::Loader`.
* Add `Document::set_language3` to set programming language based on language
  id.
* Update `Editor::refresh_language_server` to try language detection only if
  language is not already set.

* Remove language detection from Editor::refresh_language_server

* Move document language detection to where the scratch buffer is saved.
* Rename Document::set_language3 to Document::set_language_by_language_id.

* Remove unnecessary clone in completers::language
2022-04-05 09:56:14 +09:00
..
completion.rs minor: Remove some outdated comments 2022-03-03 17:18:26 +09:00
editor.rs Add refresh-config and open-config command (#1803) 2022-03-25 18:05:20 +09:00
info.rs Rename infobox theme scopes (#1741) 2022-03-04 09:31:51 +09:00
markdown.rs Allow highlighting additional spans in md renderer 2022-03-08 13:59:38 +09:00
menu.rs ignore Enter keypress when menu has no selection (#1704) 2022-02-27 16:20:21 +09:00
mod.rs Add runtime language configuration (#1794) (#1866) 2022-04-05 09:56:14 +09:00
overlay.rs Add PageUp, PageDown, Ctrl-u, Ctrl-d, Home, End keyboard shortcuts to file picker (#1612) 2022-02-15 10:24:03 +09:00
picker.rs Resolve conflicts between prompt/picker bindings (#1792) 2022-03-31 16:51:11 +09:00
popup.rs Close some popups automatically (#1285) 2022-02-23 12:46:12 +09:00
prompt.rs Make line a private property 2022-03-28 11:02:26 +09:00
spinner.rs Instant is more suitable than SystemTime for spinners 2022-02-10 11:12:47 +09:00
text.rs fix: Allow multi-line prompt documentation 2022-02-20 14:44:44 +09:00