From 2c5e2b7a6667fd4e726bba3e50f9ccf6ce13bab3 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Fri, 2 Oct 2020 10:22:36 +0100 Subject: Disable lsp on server --- vim/.vimrc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vim/.vimrc b/vim/.vimrc index 4b896bb..99fd8d4 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -68,6 +68,9 @@ endif if has("nvim") Plug '~/dotfiles/plugins/nvim-i3scratchpad' +endif + +if hostname() != "peuplier" Plug 'neovim/nvim-lsp' endif @@ -481,7 +484,7 @@ if has("nvim") endif "" Experimental {{{1 -if has("nvim") +if has("nvim") && hostname() != "peuplier" lua require'nvim_lsp'.pyls.setup{} autocmd Filetype python setlocal omnifunc=v:lua.vim.lsp.omnifunc nnoremap Remembrall('') -- cgit v1.2.3