diff options
| author | Michiel van den Heuvel <michielvdnheuvel@gmail.com> | 2023-06-16 18:23:58 +0200 |
|---|---|---|
| committer | Michiel van den Heuvel <michielvdnheuvel@gmail.com> | 2023-06-29 15:13:26 +0200 |
| commit | e83950a7149f364b653395cdd4d9446875a7f469 (patch) | |
| tree | 4358faec50ae6e77327dc56a653d03b68055b4dc /README.md | |
| parent | 646f957bdb27f4157ad0d9815f8cfa1533db8f5f (diff) | |
| download | vis-lspc-e83950a7149f364b653395cdd4d9446875a7f469.tar.gz vis-lspc-e83950a7149f364b653395cdd4d9446875a7f469.zip | |
Add textDocument/formatting implementation
This is tested with the Rust language server and the Lua one. Moving
the cursor to the correct position afterwards works with Rust, but not
with Lua. Being smarter about the ranges is probably necessary for Lua
and might make other ones more robust.
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -13,6 +13,7 @@ vis-lspc currently supports: * `textDocument/implementation` * `textDocument/hover` * `textDocument/rename` +* `textDocument/formatting` * `[Diagnostics]` ## Whats not working @@ -109,6 +110,7 @@ vis-lspc is in a early state, but if you are brave there are some default key bi # workspace edits lspc-rename <new name> - rename the identifier under the cursor to <new name> + lspc-format - format the file in the current window # development support lspc-hover - hover over the current line |
