nvim: lsp: range_code_action is deprecated
See PR https://github.com/neovim/neovim/pull/19551
This commit is contained in:
parent
19e651780e
commit
01dfb0429c
1 changed files with 4 additions and 4 deletions
|
@ -74,9 +74,9 @@ local lsp_key_mappings = {
|
||||||
{ "documentFormattingProvider" , 'n', 'gq', '<cmd>lua vim.lsp.buf.format({async=true})<CR>' },
|
{ "documentFormattingProvider" , 'n', 'gq', '<cmd>lua vim.lsp.buf.format({async=true})<CR>' },
|
||||||
|
|
||||||
{ "codeActionProvider", 'n', 'ga' , '<cmd>lua vim.lsp.buf.code_action()<CR>' },
|
{ "codeActionProvider", 'n', 'ga' , '<cmd>lua vim.lsp.buf.code_action()<CR>' },
|
||||||
{ "codeActionProvider", 'v', 'ga' , '<cmd>lua vim.lsp.buf.range_code_action()<CR>' },
|
{ "codeActionProvider", 'v', 'ga' , '<cmd>lua vim.lsp.buf.code_action()<CR>' },
|
||||||
{ "codeActionProvider", 'n', '<Leader>r', '<cmd>lua vim.lsp.buf.code_action{only = \'refactor\' }<CR>' },
|
{ "codeActionProvider", 'n', '<Leader>r', '<cmd>lua vim.lsp.buf.code_action{only = \'refactor\' }<CR>' },
|
||||||
{ "codeActionProvider", 'v', '<Leader>r', '<cmd>lua vim.lsp.buf.range_code_action{only = \'refactor\'}<CR>' },
|
{ "codeActionProvider", 'v', '<Leader>r', '<cmd>lua vim.lsp.buf.code_action{only = \'refactor\' }<CR>' },
|
||||||
}
|
}
|
||||||
|
|
||||||
local tsserver_setup = function(client)
|
local tsserver_setup = function(client)
|
||||||
|
|
Loading…
Reference in a new issue