From 194c9e31ca23e1850225e26849c43352e1f4e173 Mon Sep 17 00:00:00 2001 From: Nicole Dresselhaus Date: Thu, 1 Feb 2024 12:14:41 +0100 Subject: [PATCH] added mason.nvim --- nvim-config/init.vim | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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