summaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2023-01-20 11:27:10 +0100
committerUrbain Vaes <urbain@vaes.uk>2023-01-20 11:27:10 +0100
commitb307e61ea25d4b7dbb10136a427c74709a78c98a (patch)
tree7e443b832cd59146ad90b91b2cd7ba44fb8a04c5 /vim
parent59b8d5dcceeab12285864f6d0239b59b70f77def (diff)
Add texlab lsp
Diffstat (limited to 'vim')
-rw-r--r--vim/.vimrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/vim/.vimrc b/vim/.vimrc
index d83296a..3c7823f 100644
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -67,6 +67,8 @@ endif
if has("nvim") && hostname() != "peuplier"
Plug '~/dotfiles/plugins/nvim-i3scratchpad'
Plug 'neovim/nvim-lspconfig'
+ " Plug 'VonHeikemen/lsp-zero.nvim'
+ " Plug 'hrsh7th/nvim-cmp'
" Plug 'nvim-treesitter/nvim-treesitter'
" Plug 'hrsh7th/nvim-cmp', { 'branch': 'main' }
" Plug 'nvim-treesitter/playground'
@@ -443,6 +445,7 @@ if has("nvim") && hostname() != "peuplier"
try
" lua require('lspconfig').pyls.setup{}
lua require('lspconfig').julials.setup{}
+ lua require('lspconfig').texlab.setup{}
" autocmd Filetype python setlocal omnifunc=v:lua.vim.lsp.omnifunc
autocmd Filetype julia setlocal omnifunc=v:lua.vim.lsp.omnifunc
nnoremap <silent> <expr> <c-g> Remembrall('<c-g>')