diff options
author | Johannes Stoelp <johannes.stoelp@gmail.com> | 2023-04-30 19:59:59 +0200 |
---|---|---|
committer | Johannes Stoelp <johannes.stoelp@gmail.com> | 2023-04-30 19:59:59 +0200 |
commit | 0d025b4e59100b9ac37ecdf5f5317c9d599c2c16 (patch) | |
tree | a621351a4c733bdd47c761870eaab023296bd896 /nvim.init.vim | |
parent | 56c01629c682063c87b762bb177a2980ff3ae7a4 (diff) | |
download | dotfiles-0d025b4e59100b9ac37ecdf5f5317c9d599c2c16.tar.gz dotfiles-0d025b4e59100b9ac37ecdf5f5317c9d599c2c16.zip |
nvim: fix format binding after fn name changed
Diffstat (limited to 'nvim.init.vim')
-rw-r--r-- | nvim.init.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nvim.init.vim b/nvim.init.vim index c551b7e..62bcf6f 100644 --- a/nvim.init.vim +++ b/nvim.init.vim @@ -174,7 +174,7 @@ nnoremap <silent> <C-k> <cmd>lua vim.lsp.buf.signature_help()<cr> inoremap <silent> <C-k> <cmd>lua vim.lsp.buf.signature_help()<cr> nnoremap <silent> <leader>r <cmd>lua vim.lsp.buf.references()<cr> nnoremap <silent> <leader>i <cmd>lua vim.lsp.buf.implementation()<cr> -nnoremap <silent> <leader>f <cmd>lua vim.lsp.buf.formatting()<cr> +nnoremap <silent> <leader>f <cmd>lua vim.lsp.buf.format()<cr> nnoremap <silent> <leader>a <cmd>lua vim.lsp.buf.code_action()<cr> nnoremap <silent> <leader>n <cmd>lua vim.lsp.buf.rename()<cr> |