VIM: Adds language servers

Addes for vue, python and c
Jonathan Hodgson 4 years ago
parent 456a337d1f
commit a2593888ea
  1. 6
      nvim/.config/nvim/after/plugin/lsp.vim

@ -5,10 +5,16 @@ endif
lua <<EOF lua <<EOF
-- Bash Language Server -- Bash Language Server
require'nvim_lsp'.bashls.setup{} require'nvim_lsp'.bashls.setup{}
-- Clang Language Server
require'nvim_lsp'.clangd.setup{}
-- Go Language Server -- Go Language Server
require'nvim_lsp'.gopls.setup{} require'nvim_lsp'.gopls.setup{}
-- Python Language Server
require'nvim_lsp'.pyls.setup{}
-- Vim Language Server -- Vim Language Server
require'nvim_lsp'.vimls.setup{} require'nvim_lsp'.vimls.setup{}
-- VUE Language Server
require'nvim_lsp'.vuels.setup{}
EOF EOF
function! s:ConfigureBuffer() function! s:ConfigureBuffer()
nnoremap <buffer> <silent> <c-]> <cmd>lua vim.lsp.buf.definition()<CR> nnoremap <buffer> <silent> <c-]> <cmd>lua vim.lsp.buf.definition()<CR>

Loading…
Cancel
Save