diff options
author | Urbain Vaes <urbain@vaes.uk> | 2020-10-02 10:22:36 +0100 |
---|---|---|
committer | Urbain Vaes <urbain@vaes.uk> | 2020-10-02 10:22:36 +0100 |
commit | 2c5e2b7a6667fd4e726bba3e50f9ccf6ce13bab3 (patch) | |
tree | eace54c5a4150f0a0e8058f5e80d2903a226669a /vim | |
parent | f45ea107bed6d6c410b7ebfee691bdbaf51947e6 (diff) |
Disable lsp on server
Diffstat (limited to 'vim')
-rw-r--r-- | vim/.vimrc | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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>') |