Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

syntax: switch options to off #1167

Merged
merged 1 commit into from
Jan 7, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 6 additions & 8 deletions syntax/go.vim
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@
" let OPTION_NAME = 0
" in your ~/.vimrc file to disable particular options. You can also write:
" let OPTION_NAME = 1
" to enable particular options.
" At present, all options default to on, except highlight of:
" functions, methods, structs, operators, build constraints and interfaces.
" to enable particular options. At present, all options default to off:
"
" - go_highlight_array_whitespace_error
" Highlights white space after "[]".
Expand All @@ -36,23 +34,23 @@ if exists("b:current_syntax")
endif

if !exists("g:go_highlight_array_whitespace_error")
let g:go_highlight_array_whitespace_error = 1
let g:go_highlight_array_whitespace_error = 0
endif

if !exists("g:go_highlight_chan_whitespace_error")
let g:go_highlight_chan_whitespace_error = 1
let g:go_highlight_chan_whitespace_error = 0
endif

if !exists("g:go_highlight_extra_types")
let g:go_highlight_extra_types = 1
let g:go_highlight_extra_types = 0
endif

if !exists("g:go_highlight_space_tab_error")
let g:go_highlight_space_tab_error = 1
let g:go_highlight_space_tab_error = 0
endif

if !exists("g:go_highlight_trailing_whitespace_error")
let g:go_highlight_trailing_whitespace_error = 1
let g:go_highlight_trailing_whitespace_error = 0
endif

if !exists("g:go_highlight_operators")
Expand Down