Skip to content

Commit 0f2a776

Browse files
committed
Plugin Syntastic
Syntastic gives you error checking for just about every language imaginable right from within Vim! It shows you the offending line next to the line numbers.
1 parent 5fd6dc6 commit 0f2a776

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

vimrc.vim

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ Plugin 'vim-airline/vim-airline-themes'
1717
" ----- Vim as a programmer's text editor -----------------------------
1818
Plugin 'scrooloose/nerdtree'
1919
Plugin 'jistr/vim-nerdtree-tabs'
20+
Plugin 'vim-syntastic/syntastic'
2021

2122
call vundle#end()
2223

@@ -34,6 +35,10 @@ syntax on
3435

3536
set mouse=a
3637

38+
" We need this for plugins like Syntastic and vim-gitgutter which put symbols
39+
" in the sign column.
40+
hi clear SignColumn
41+
3742
" ----- Plugin-Specific Settings --------------------------------------
3843

3944
" ----- altercation/vim-colors-solarized settings -----
@@ -74,3 +79,12 @@ nmap <silent> <leader>t :NERDTreeTabsToggle<CR>
7479
let g:nerdtree_tabs_open_on_console_startup = 1
7580

7681

82+
" ----- scrooloose/syntastic settings -----
83+
let g:syntastic_error_symbol = ''
84+
let g:syntastic_warning_symbol = ""
85+
augroup mySyntastic
86+
au!
87+
au FileType tex let b:syntastic_mode = "passive"
88+
augroup END
89+
90+

0 commit comments

Comments
 (0)