syntastic, source code pro
This commit is contained in:
10
vimrc
10
vimrc
@@ -1,4 +1,4 @@
|
|||||||
" set shell=/bin/sh
|
set shell=/bin/sh
|
||||||
scriptencoding utf-8
|
scriptencoding utf-8
|
||||||
set encoding=utf-8
|
set encoding=utf-8
|
||||||
set shortmess=I "turn off splash screen
|
set shortmess=I "turn off splash screen
|
||||||
@@ -21,7 +21,7 @@ if(have_plug)
|
|||||||
Plug 'ivyl/vim-bling' " blink search results
|
Plug 'ivyl/vim-bling' " blink search results
|
||||||
Plug 'ctrlpvim/ctrlp.vim' " Fuzzy search
|
Plug 'ctrlpvim/ctrlp.vim' " Fuzzy search
|
||||||
Plug 'majutsushi/tagbar' " Ctags integration
|
Plug 'majutsushi/tagbar' " Ctags integration
|
||||||
Plug 'msanders/snipmate.vim' " Snippets
|
Plug 'garbas/snipmate.vim' " Snippets
|
||||||
Plug 'tommcdo/vim-lion' " Align stuff
|
Plug 'tommcdo/vim-lion' " Align stuff
|
||||||
Plug 'tpope/vim-fugitive' " Work with git repos
|
Plug 'tpope/vim-fugitive' " Work with git repos
|
||||||
Plug 'tpope/vim-surround' " Surround with quotes
|
Plug 'tpope/vim-surround' " Surround with quotes
|
||||||
@@ -129,7 +129,7 @@ if has("autocmd")
|
|||||||
autocmd FileType html call SetHtmlOptions()
|
autocmd FileType html call SetHtmlOptions()
|
||||||
function! SetHtmlOptions()
|
function! SetHtmlOptions()
|
||||||
if(executable('tidy'))
|
if(executable('tidy'))
|
||||||
let g:syntastic_html_tidy_ignore_errors = [ '<meta> proprietary attribute "property"', '<html> proprietary attribute "prefix"', 'trimming empty <span>', 'trimming empty <i>' ]
|
let g:syntastic_html_tidy_ignore_errors = [ '<meta> proprietary attribute "property"', '<html> proprietary attribute "prefix"', 'trimming empty <span>', 'trimming empty <i>', '<script> proprietary attribute "integrity"', '<link> proprietary attribute "integrity"', '<link> proprietary attribute "crossorigin"', '<script> proprietary attribute "crossorigin"']
|
||||||
endif
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
augroup END
|
augroup END
|
||||||
@@ -217,11 +217,15 @@ if has("gui_running")
|
|||||||
if has("win32")
|
if has("win32")
|
||||||
set guifont=Source_Code_Pro:h12:cANSI
|
set guifont=Source_Code_Pro:h12:cANSI
|
||||||
endif
|
endif
|
||||||
|
if has("osx")
|
||||||
|
set guifont=Source_Code_Pro:h13
|
||||||
|
endif
|
||||||
else
|
else
|
||||||
set mouse=a
|
set mouse=a
|
||||||
endif
|
endif
|
||||||
|
|
||||||
silent! colorscheme hybrid
|
silent! colorscheme hybrid
|
||||||
|
set background=dark
|
||||||
let g:airline_powerline_fonts = 1
|
let g:airline_powerline_fonts = 1
|
||||||
let g:airline#extensions#tabline#enabled = 1
|
let g:airline#extensions#tabline#enabled = 1
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user