fix(vim): problem with LSP and prettier

This commit is contained in:
Stefan Imhoff
2021-12-20 15:54:03 +01:00
parent d6743abe7a
commit d0eaecece3
6 changed files with 22 additions and 26 deletions

View File

@@ -1,6 +1,7 @@
" lspconfig
" https://github.com/neovim/nvim-lspconfig
" Mappings
nnoremap <silent> <C-k> <cmd>lua vim.lsp.buf.signature_help()<CR>
nnoremap <silent> <leader>D <cmd>lua vim.lsp.buf.type_definition()<CR>
nnoremap <silent> <leader>e <cmd>lua vim.lsp.diagnostic.show_line_diagnostics()<CR>