helix/helix-term/src
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
..
commands Add runtime language configuration (#1794) (#1866) 2022-04-05 09:56:14 +09:00
keymap Rename _para to _paragraph 2022-04-03 00:46:53 +09:00
ui Add runtime language configuration (#1794) (#1866) 2022-04-05 09:56:14 +09:00
application.rs clear terminal after switching to alternate screen 2022-04-04 16:41:11 +09:00
args.rs Add refresh-config and open-config command (#1803) 2022-03-25 18:05:20 +09:00
commands.rs Add paragraph to last motion (#1956) 2022-04-05 09:43:04 +09:00
compositor.rs Make regex_prompt directly call cx.push_layer 2022-03-28 11:02:13 +09:00
config.rs Move top level lsp config to editor.lsp (#1868) 2022-03-28 10:11:52 +09:00
health.rs Added checkmarks to health.rs output, Resolves #1894 (#1918) 2022-04-02 17:32:36 +09:00
job.rs Don't use block_on in jobs.finish(), we can .await 2022-02-05 15:05:19 +09:00
keymap.rs Add refresh-config and open-config command (#1803) 2022-03-25 18:05:20 +09:00
lib.rs Add refresh-config and open-config command (#1803) 2022-03-25 18:05:20 +09:00
main.rs Handle BrokenPipe when piping hx --health through head (#1876) 2022-03-30 10:39:25 +05:30