From ee07f3a792cb0a09fcd87dd31eb8ea596b8365a3 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Thu, 30 Sep 2021 20:48:21 +0200 Subject: Minor changes --- vim/.vimrc | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'vim/.vimrc') diff --git a/vim/.vimrc b/vim/.vimrc index 64961e0..d88bb1c 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -64,8 +64,8 @@ endif if has("nvim") && hostname() != "peuplier" Plug '~/dotfiles/plugins/nvim-i3scratchpad' Plug 'neovim/nvim-lspconfig' - Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'} - Plug 'nvim-treesitter/playground' + " Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'} + " Plug 'nvim-treesitter/playground' endif " Colors @@ -212,7 +212,9 @@ let g:tex_conceal= '' let g:tex_flavor='latex' augroup latex + autocmd! autocmd FileType tex let b:surround_124 = "\\lvert \r \\rvert" + autocmd FileType tex let b:surround_110 = "\\lVert \r \\rVert" augroup END "" Vim options {{{1 @@ -393,7 +395,7 @@ if has("nvim") nnoremap t :b term \| norm A endif -if has("nvim") +if has("nvim") && &runtimepath =~ 'treesitter' lua < -- cgit v1.2.3