added mason.nvim

This commit is contained in:
Nicole Dresselhaus 2024-02-01 12:14:41 +01:00
parent 40475c7dbc
commit 194c9e31ca

View File

@ -71,6 +71,11 @@ Plug 'liquidz/vim-iced-coc-source', {'for': 'clojure'}
" todo.txt
Plug 'freitass/todo.txt-vim'
" LSP
Plug 'williamboman/mason.nvim'
Plug 'williamboman/mason-lspconfig.nvim'
Plug 'neovim/nvim-lspconfig', {'branch': 'v0.1.6'}
call plug#end()
@ -126,6 +131,13 @@ set hidden
let g:loaded_perl_provider = 0
" LSP Config
lua << EOF
require("mason").setup()
require("mason-lspconfig").setup()
EOF
" Use <C-L> to clear the highlighting of :set hlsearch.
if maparg('<C-L>', 'n') ==# ''
nnoremap <silent> <C-L> :nohlsearch<CR><C-L>