aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.config/nvim
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2023-05-19 01:38:29 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2023-05-19 01:38:29 +0300
commitc8d8be17ee9aca38c22fe26cd68f490b0aba168e (patch)
tree6257b1a59b352f0551476769ce8e0f5ef231f68b /dotfiles/.config/nvim
parentb7177b7127c1ac60e7ba694e9144bee846ba33c7 (diff)
downloadvimrice-c8d8be17ee9aca38c22fe26cd68f490b0aba168e.tar.gz
vimrice-c8d8be17ee9aca38c22fe26cd68f490b0aba168e.zip
lsp: formatting removed use format
Diffstat (limited to 'dotfiles/.config/nvim')
-rw-r--r--dotfiles/.config/nvim/init.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/dotfiles/.config/nvim/init.vim b/dotfiles/.config/nvim/init.vim
index fec8570..d7ec06b 100644
--- a/dotfiles/.config/nvim/init.vim
+++ b/dotfiles/.config/nvim/init.vim
@@ -263,7 +263,7 @@ call plug#end()
nmap <silent> gK <cmd>lua vim.lsp.buf.hover()<CR>
nmap <silent> gz <cmd>lua vim.lsp.buf.references()<CR>
nmap <silent> <leader>n <cmd>lua vim.lsp.buf.rename()<CR>
- nmap <silent> <leader>b <cmd>lua vim.lsp.buf.formatting()<CR>
+ nmap <silent> <leader>b <cmd>lua vim.lsp.buf.format()<CR>
nmap <silent> <leader>a <cmd>lua vim.lsp.buf.code_action()<CR>
nmap <silent> <leader>w <cmd>lua vim.lsp.buf.workspace_symbol()<CR>
nmap <silent> <leader>l <cmd>lua vim.diagnostic.setloclist()<CR>