From 909935f44c88e37ccedb80c972c59b898872a051 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?= Date: Thu, 27 Jan 2022 14:51:35 +0300 Subject: go to diagnostic --- dotfiles/.config/nvim/init.vim | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'dotfiles') diff --git a/dotfiles/.config/nvim/init.vim b/dotfiles/.config/nvim/init.vim index 24b7929..f0c36be 100644 --- a/dotfiles/.config/nvim/init.vim +++ b/dotfiles/.config/nvim/init.vim @@ -229,8 +229,12 @@ call plug#end() nmap gd lua vim.lsp.buf.definition() nmap gD lua vim.lsp.buf.declaration() nmap gK lua vim.lsp.buf.hover() + nmap gz lua vim.lsp.buf.references() nmap n lua vim.lsp.buf.rename() nmap b lua vim.lsp.buf.formatting() + nmap a lua vim.lsp.buf.code_action() + nmap ]g lua vim.diagnostic.goto_next() + nmap [g lua vim.diagnostic.goto_prev() " File format preferences " MFing neovim overrding my omnifunc with whatever ccomplete is -- cgit v1.2.3