summaryrefslogtreecommitdiff
path: root/vim
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
commit2c5e2b7a6667fd4e726bba3e50f9ccf6ce13bab3 (patch)
treeeace54c5a4150f0a0e8058f5e80d2903a226669a /vim
parentf45ea107bed6d6c410b7ebfee691bdbaf51947e6 (diff)
Disable lsp on server
Diffstat (limited to 'vim')
-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>')