aboutsummaryrefslogtreecommitdiff
path: root/vimrc
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2023-02-20 10:57:04 +0100
committerKarel Kočí <cynerd@email.cz>2023-02-20 10:57:04 +0100
commit8732decbddb3f5ee85231755472bf632707c2d9e (patch)
treee69a5af2efa0293765a9d2c85e92f9154a7b8e55 /vimrc
parent41fd312f9355314fa148f6e001a57d7307298641 (diff)
downloadmyconfigs-8732decbddb3f5ee85231755472bf632707c2d9e.tar.gz
myconfigs-8732decbddb3f5ee85231755472bf632707c2d9e.tar.bz2
myconfigs-8732decbddb3f5ee85231755472bf632707c2d9e.zip
vimrc: update to fix some warnings from vimt
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc18
1 files changed, 9 insertions, 9 deletions
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 <F9> :TagbarOpen fc<cr>
" Spell checking
map <F10> :setlocal spell!<cr>
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 <F11> :call LangToggle()<cr>
let g:NERDCreateDefaultMappings = 1
" UltiSnips triggers
-let g:UltiSnipsExpandTrigger="<c-h>"
-let g:UltiSnipsJumpForwardTrigger="<c-j>"
-let g:UltiSnipsJumpBackwardTrigger="<c-k>"
+let g:UltiSnipsExpandTrigger='<c-h>'
+let g:UltiSnipsJumpForwardTrigger='<c-j>'
+let g:UltiSnipsJumpBackwardTrigger='<c-k>'
" ALE bidings
nmap <leader>[ <Plug>(ale_go_to_definition)