Tweaked some settings for specific filetypes and made a few more

improvements to the syntax highlighting and overall theme. the undo
sidebar should now fit better on smaller screens too (you can resize it
with the mouse if it's too small)
This commit is contained in:
Kevin 2014-04-03 07:48:52 -04:00
parent b38c7270db
commit a2e15f719b
3 changed files with 21 additions and 10 deletions

View file

@ -283,8 +283,8 @@ call s:X("WildMenu","808080","303030","","White",s:termBlack)
call s:X("Folded","87d7ff","626262","bold","Blue",s:termBlack)
call s:X("FoldColumn","87d7ff","262626","bold","Blue",s:termBlack)
call s:X("SignColumn","ffaf00","626262","bold","Red",s:termBlack)
call s:X("ColorColumn","ffaf00","626262","bold","Red",s:termBlack)
call s:X("SignColumn","ffaf00","262626","bold","Red",s:termBlack)
hi! link ColorColumn SignColumn
call s:X("TabLine","","000000","","",s:termBlack)
call s:X("TabLineFill","","000000","","",s:termBlack)
@ -320,6 +320,7 @@ call s:X("Directory","87d7ff","","","Blue","")
call s:X("Question","87d7ff","","","Blue","")
call s:X("ExtraWhitespace","262626","","standout",s:termBlack,"")
call s:X("Error","d75f5f","000000","standout","Red",s:termBlack)
hi! link WarningMsg Error
hi! link ErrorMsg Error
hi! link MoreMsg Special
hi! link Structure PreProc
@ -416,10 +417,20 @@ if !exists("g:indent_guides_auto_colors")
let g:indent_guides_auto_colors=0
endif
"EMAIL:
"notes
hi! link notesTitle htmlH1
hi! link notesName htmlH5
hi! link notesShortHeading htmlH2
hi! link notesInProgress htmlH3
hi! link Underlined htmlH6
hi! link notesListBullet FoldColumn
hi! link notesListNumber Number
hi! link notesVimCmd Function
hi! link notesSingleQuoted String
"email
hi! link mailHeaderKey Identifier
"PLUGIN COLOURS:
"taglist
hi! link TagListFileName Directory

View file

@ -18,8 +18,8 @@
"GUNDO: CONFIGURE SIDEBAR SETTINGS {{{
let g:gundo_right=1
let g:gundo_width=50
let g:gundo_preview_height=20
let g:gundo_width=35
let g:gundo_preview_height=10
"}}}
"LIGHTLINE: CONFIGURE THE LIGHTLINE STATUS BAR {{{

View file

@ -70,7 +70,8 @@
autocmd BufNewFile,BufRead cjdroute.conf,ircd.conf setf javascript
"enable spellcheck by default when using given filetypes and extensions
autocmd FileType mail,gitcommit,mkd,text setl spell
autocmd FileType gitcommit,notes,mail,mkd,text setlocal spell
autocmd FileType notes,mail,mkd,text setlocal nonumber
"enable omnicompletion for any filetype without that has syntax highlighting
if has("autocmd") && exists("+omnifunc")
@ -80,12 +81,11 @@
\ endif
endif
set formatoptions=roqnl12 "configure format options
set formatoptions=roqnl12
set foldmethod=syntax foldcolumn=1 foldlevel=3 "fold layers 3 or more deep
"disable folding by default in vimdiff
if &diff
autocmd VimEnter * windo set nofoldenable
autocmd VimEnter * windo setlocal nofoldenable "disable folding by default in vimdiff
endif
"}}}