summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2020-10-02 10:22:36 +0100
committerUrbain Vaes <urbain@vaes.uk>2020-10-02 10:22:36 +0100
commitc6e526a1a6751b14c9215d0bd09abedc2bd27d79 (patch)
treeeace54c5a4150f0a0e8058f5e80d2903a226669a
parentbe77cf7ac2e8db7d904813682f726ef218ff4706 (diff)
Disable lsp on serverHEADmaster
-rw-r--r--vim/.vimrc5
1 files changed, 4 insertions, 1 deletions
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 <expr> <c-g> Remembrall('<c-g>')