Configure Vdebug and half of Syntastic
This commit is contained in:
parent
da29892f10
commit
e55284776b
2 changed files with 48 additions and 5 deletions
|
@ -74,10 +74,6 @@ hi Search cterm=NONE ctermfg=3 ctermbg=0
|
||||||
hi MBSearchNext cterm=NONE ctermfg=3 ctermbg=0
|
hi MBSearchNext cterm=NONE ctermfg=3 ctermbg=0
|
||||||
|
|
||||||
" Errors are red
|
" Errors are red
|
||||||
hi SyntasticErrorLine cterm=NONE ctermfg=1 ctermbg=NONE
|
|
||||||
hi SyntasticWarningLine cterm=NONE ctermfg=1 ctermbg=NONE
|
|
||||||
hi SyntasticError cterm=NONE ctermfg=1 ctermbg=NONE
|
|
||||||
hi SyntasticWarning cterm=NONE ctermfg=1 ctermbg=NONE
|
|
||||||
|
|
||||||
" Make current line magenta
|
" Make current line magenta
|
||||||
hi CursorLine cterm=NONE ctermfg=5 ctermbg=NONE
|
hi CursorLine cterm=NONE ctermfg=5 ctermbg=NONE
|
||||||
|
@ -88,3 +84,31 @@ hi CursorLineNr cterm=NONE ctermfg=5 ctermbg=NONE
|
||||||
"""""""""""""
|
"""""""""""""
|
||||||
|
|
||||||
hi StatusLine cterm=NONE ctermfg=7 ctermbg=5
|
hi StatusLine cterm=NONE ctermfg=7 ctermbg=5
|
||||||
|
|
||||||
|
"""""""
|
||||||
|
" Signs
|
||||||
|
"""""""
|
||||||
|
|
||||||
|
hi SignColumn cterm=NONE ctermbg=0 ctermfg=0
|
||||||
|
|
||||||
|
""""""""
|
||||||
|
" Vdebug
|
||||||
|
""""""""
|
||||||
|
|
||||||
|
hi DbgBreakptLine cterm=NONE ctermfg=4 ctermbg=NONE
|
||||||
|
hi DbgBreakptSign cterm=NONE ctermfg=4 ctermbg=4
|
||||||
|
hi DbgCurrentLine cterm=NONE ctermfg=0 ctermbg=4
|
||||||
|
hi DbgCurrentSign cterm=NONE ctermfg=4 ctermbg=4
|
||||||
|
|
||||||
|
"""""""""""
|
||||||
|
" Syntastic
|
||||||
|
"""""""""""
|
||||||
|
|
||||||
|
hi SyntasticError cterm=NONE ctermbg=NONE ctermfg=1
|
||||||
|
hi link SyntasticWarning SyntasticError
|
||||||
|
hi link SyntasticErrorLine SyntasticError
|
||||||
|
hi link SyntasticWarningLine SyntasticError
|
||||||
|
|
||||||
|
hi SyntasticErrorSign cterm=NONE ctermbg=1 ctermfg=1
|
||||||
|
hi SyntasticWarningSign cterm=NONE ctermbg=1 ctermfg=1
|
||||||
|
|
||||||
|
|
|
@ -310,6 +310,25 @@ let g:UltiSnipsExpandTrigger="<tab>"
|
||||||
let g:UltiSnipsJumpForwardTrigger="<tab>"
|
let g:UltiSnipsJumpForwardTrigger="<tab>"
|
||||||
let g:UltiSnipsJumpBackwardTrigger="<S-tab>"
|
let g:UltiSnipsJumpBackwardTrigger="<S-tab>"
|
||||||
|
|
||||||
|
""""""""
|
||||||
|
" VDebug
|
||||||
|
""""""""
|
||||||
|
|
||||||
|
let g:vdebug_options={}
|
||||||
|
let g:vdebug_options['break_on_open']=0
|
||||||
|
let g:vdebug_options['ide_key']='vagrant'
|
||||||
|
let g:vdebug_options['port']=9001
|
||||||
|
let g:vdebug_options['path_maps']={
|
||||||
|
\'/var/www/magento': getcwd()
|
||||||
|
\}
|
||||||
|
|
||||||
|
"""""""""""""
|
||||||
|
" Local vimrc
|
||||||
|
"""""""""""""
|
||||||
|
|
||||||
|
" Just load automatically, never ask me.
|
||||||
|
let g:localvimrc_ask=0
|
||||||
|
|
||||||
"""""""""""""""""
|
"""""""""""""""""
|
||||||
" Custom autocmds
|
" Custom autocmds
|
||||||
"""""""""""""""""
|
"""""""""""""""""
|
||||||
|
@ -356,7 +375,7 @@ set statusline+=\ %{SyntasticStatuslineFlag()} " syntastic errors
|
||||||
" I need to for Syntastic, and maybe send them a pull request. I detest
|
" I need to for Syntastic, and maybe send them a pull request. I detest
|
||||||
" signs in my gutter, but having signs on is the only way to add the
|
" signs in my gutter, but having signs on is the only way to add the
|
||||||
" line styles I need to colour my lines red. I need to split these out.
|
" line styles I need to colour my lines red. I need to split these out.
|
||||||
let g:syntastic_enable_signs = 0
|
let g:syntastic_enable_signs = 1
|
||||||
let g:syntastic_javascript_checkers = ['eslint']
|
let g:syntastic_javascript_checkers = ['eslint']
|
||||||
let g:systastic_xml_checkers = ['xmllint']
|
let g:systastic_xml_checkers = ['xmllint']
|
||||||
let g:syntastic_stl_format='[%t errors, first: %F]'
|
let g:syntastic_stl_format='[%t errors, first: %F]'
|
||||||
|
|
Loading…
Add table
Reference in a new issue