Skip to content

Commit

Permalink
Plugin Syntastic
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jez committed Nov 12, 2016
1 parent 5fd6dc6 commit 0f2a776
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions vimrc.vim
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Plugin 'vim-airline/vim-airline-themes'
" ----- Vim as a programmer's text editor -----------------------------
Plugin 'scrooloose/nerdtree'
Plugin 'jistr/vim-nerdtree-tabs'
Plugin 'vim-syntastic/syntastic'

call vundle#end()

Expand All @@ -34,6 +35,10 @@ syntax on

set mouse=a

" We need this for plugins like Syntastic and vim-gitgutter which put symbols
" in the sign column.
hi clear SignColumn

" ----- Plugin-Specific Settings --------------------------------------

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


" ----- scrooloose/syntastic settings -----
let g:syntastic_error_symbol = ''
let g:syntastic_warning_symbol = ""
augroup mySyntastic
au!
au FileType tex let b:syntastic_mode = "passive"
augroup END


2 comments on commit 0f2a776

@jez
Copy link
Owner Author

@jez jez commented on 0f2a776 Nov 13, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jez
Copy link
Owner Author

@jez jez commented on 0f2a776 Nov 13, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you're having trouble copy/pasting those unicode symbols in, check the output of this command:

echo $LC_CTYPE

If the output is blank or doesn't have anything that says "UTF-8", you'll want to add a line like this to your ~/.bashrc:

export LC_CTYPE="en_US.UTF-8"

If even that doesn't work, you can just omit those two lines. Syntastic will default to using non-Unicode characters.

Please sign in to comment.