diff --git a/nvim-config/init.vim b/nvim-config/init.vim index cb1673a..8933468 100644 --- a/nvim-config/init.vim +++ b/nvim-config/init.vim @@ -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 to clear the highlighting of :set hlsearch. if maparg('', 'n') ==# '' nnoremap :nohlsearch