You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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
3 years ago
..
handlers cargo fmt 3 years ago
clipboard.rs Reintroduce win32yank as a clipboard provider on Linux for WSL2 + Windows 10 (#1912) 3 years ago
document.rs Add runtime language configuration (#1794) (#1866) 3 years ago
editor.rs Add runtime language configuration (#1794) (#1866) 3 years ago
graphics.rs Merge pull request #1154 from sudormrfbin/cursor-shape-new 3 years ago
gutter.rs Add refresh-config and open-config command (#1803) 3 years ago
info.rs Handle newlines in register infobox 3 years ago
input.rs Extract macro parsing to `helix-view` and add unit tests 3 years ago
keyboard.rs fix: Normalize backtab into shift-tab 3 years ago
lib.rs Split off dap event handlers into helix-view to allow reuse 3 years ago
macros.rs Simplify view/doc macros 3 years ago
theme.rs Fallback to broader scope if theme scope not found (#1714) 3 years ago
tree.rs minor: Remove some outdated comments 3 years ago
view.rs fix: text_pos_at_screen_coords tests 3 years ago