mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-21 16:39:06 +02:00
fix(lsp): fix LazyVim's on_file_rename
to work according to the lsp spec
This commit is contained in:
parent
54d687383d
commit
4bbeb37a18
2 changed files with 17 additions and 10 deletions
|
@ -53,7 +53,14 @@ return {
|
|||
enabled = true,
|
||||
},
|
||||
-- add any global capabilities here
|
||||
capabilities = {},
|
||||
capabilities = {
|
||||
workspace = {
|
||||
fileOperations = {
|
||||
didRename = true,
|
||||
willRename = true,
|
||||
},
|
||||
},
|
||||
},
|
||||
-- options for vim.lsp.buf.format
|
||||
-- `bufnr` and `filter` is handled by the LazyVim formatter,
|
||||
-- but can be also overridden when specified
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue