formatting
This commit is contained in:
parent
4454698607
commit
b676bb74ec
29
vimrc
29
vimrc
|
@ -10,6 +10,20 @@ endif
|
|||
if !has('nvim')
|
||||
call plug#begin('~/.vim/bundle')
|
||||
|
||||
" #ALE {{{
|
||||
" https://github.com/w0rp/ale
|
||||
Plug 'w0rp/ale'
|
||||
|
||||
let g:ale_sign_column_always = 1
|
||||
let g:ale_open_list = 0
|
||||
|
||||
" let g:ale_linters = {'scss': ['stylelint'], 'javascript': [], 'php':['php'], 'html':['htmlhint'], 'python': [], 'vue': []}
|
||||
let g:ale_html_htmlhint_options = '-c ~/.htmlhintrc --format=unix'
|
||||
let g:ale_fixers = {'javascript': ['eslint']}
|
||||
let g:ale_sign_error = 'Α'
|
||||
let g:ale_sign_warning = 'α'
|
||||
|
||||
"}}}
|
||||
" #coc.nvim{{{
|
||||
" https://github.com/neoclide/coc.nvim
|
||||
Plug 'neoclide/coc.nvim', {'tag': '*', 'do': { -> coc#util#install()}}
|
||||
|
@ -37,21 +51,6 @@ if !has('nvim')
|
|||
endif
|
||||
endfunction
|
||||
"}}}
|
||||
|
||||
" #ALE {{{
|
||||
" https://github.com/w0rp/ale
|
||||
Plug 'w0rp/ale'
|
||||
|
||||
let g:ale_sign_column_always = 1
|
||||
let g:ale_open_list = 0
|
||||
|
||||
" let g:ale_linters = {'scss': ['stylelint'], 'javascript': [], 'php':['php'], 'html':['htmlhint'], 'python': [], 'vue': []}
|
||||
let g:ale_html_htmlhint_options = '-c ~/.htmlhintrc --format=unix'
|
||||
let g:ale_fixers = {'javascript': ['eslint']}
|
||||
let g:ale_sign_error = 'Α'
|
||||
let g:ale_sign_warning = 'α'
|
||||
|
||||
"}}}
|
||||
" #colorV {{{
|
||||
" original:
|
||||
" https://github.com/gu-fan/colorv.vim
|
||||
|
|
Loading…
Reference in New Issue