helix/helix-view/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
..
handlers cargo fmt 2022-03-28 11:05:26 +09:00
clipboard.rs Reintroduce win32yank as a clipboard provider on Linux for WSL2 + Windows 10 (#1912) 2022-04-01 11:35:47 +09:00
document.rs Add runtime language configuration (#1794) (#1866) 2022-04-05 09:56:14 +09:00
editor.rs Add runtime language configuration (#1794) (#1866) 2022-04-05 09:56:14 +09:00
graphics.rs Merge pull request #1154 from sudormrfbin/cursor-shape-new 2022-01-23 16:35:22 +09:00
gutter.rs Add refresh-config and open-config command (#1803) 2022-03-25 18:05:20 +09:00
info.rs Handle newlines in register infobox 2022-02-10 10:52:06 +09:00
input.rs Extract macro parsing to `helix-view` and add unit tests 2021-12-27 10:13:18 +09:00
keyboard.rs fix: Normalize backtab into shift-tab 2021-12-06 12:25:19 +09:00
lib.rs Split off dap event handlers into helix-view to allow reuse 2022-03-28 11:01:59 +09:00
macros.rs Simplify view/doc macros 2021-11-18 14:13:42 +09:00
theme.rs Fallback to broader scope if theme scope not found (#1714) 2022-03-04 09:35:21 +09:00
tree.rs minor: Remove some outdated comments 2022-03-03 17:18:26 +09:00
view.rs fix: text_pos_at_screen_coords tests 2022-03-04 11:23:05 +09:00