From 8732decbddb3f5ee85231755472bf632707c2d9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Mon, 20 Feb 2023 10:57:04 +0100 Subject: vimrc: update to fix some warnings from vimt --- vimrc | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'vimrc') diff --git a/vimrc b/vimrc index 3ca15e8..9a09ba4 100644 --- a/vimrc +++ b/vimrc @@ -12,7 +12,7 @@ let g:ale_floating_preview = 1 set completeopt=menu,menuone,preview,noselect,noinsert filetype off -set rtp+=~/.vim/bundle/Vundle.vim +set runtimepath+=~/.vim/bundle/Vundle.vim call vundle#begin() """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" Plugin 'VundleVim/Vundle.vim' @@ -161,11 +161,11 @@ highlight GitGutterDelete ctermfg=1 " Setup table-mode to markdown compliant " Note: to start use "\ t m" -let g:table_mode_corner="|" +let g:table_mode_corner='|' set tags=./.tags,.tags " Setup autotag to look for .tags file -let g:autotagTagsFile=".tags" +let g:autotagTagsFile='.tags' " Enable mouse set mouse=a @@ -179,12 +179,12 @@ nmap :TagbarOpen fc " Spell checking map :setlocal spell! function LangToggle() - if &spelllang != "en_us" + if &spelllang !=? 'en_us' setlocal spelllang=en_us - echo "spelllang=en_us" + echo 'spelllang=en_us' else setlocal spelllang=cs - echo "spelllang=cs" + echo 'spelllang=cs' endif endfunction setlocal spelllang=en_us @@ -194,9 +194,9 @@ map :call LangToggle() let g:NERDCreateDefaultMappings = 1 " UltiSnips triggers -let g:UltiSnipsExpandTrigger="" -let g:UltiSnipsJumpForwardTrigger="" -let g:UltiSnipsJumpBackwardTrigger="" +let g:UltiSnipsExpandTrigger='' +let g:UltiSnipsJumpForwardTrigger='' +let g:UltiSnipsJumpBackwardTrigger='' " ALE bidings nmap [ (ale_go_to_definition) -- cgit v1.2.3