nvim/key/map: fix Lsp.FormatDocument action
neovim moved buf.formatting to buf.format, a while back, leaving this as effectively setting `action = null`, which throws warnings on start; so we fix that.
This commit is contained in:
parent
5f07c09d46
commit
c9d7e5ca50
|
@ -132,7 +132,7 @@ M.Buffer.Lsp.N {
|
|||
-- ##################
|
||||
--
|
||||
RenameSymbol = B { 'Rename <cword> symbol' , key = 'rn' , action = vim.lsp.buf.rename , } ,
|
||||
FormatDocument = B { 'Format current document' , key = 'F' , action = vim.lsp.buf.formatting , } ,
|
||||
FormatDocument = B { 'Format current document' , key = 'F' , action = vim.lsp.buf.format , } ,
|
||||
ShowSignature = B { 'Display function signature help of <cword> symbol' , key = 'K' , action = vim.lsp.buf.signature_help , } ,
|
||||
CodeAction = B { 'Request code actions for <cword>' , key = '.' , action = vim.lsp.buf.code_action , } ,
|
||||
|
||||
|
|
Loading…
Reference in New Issue