Fixed indentation
This commit is contained in:
parent
0f9a4eec91
commit
15bc946614
1 changed files with 32 additions and 32 deletions
|
@ -6,35 +6,35 @@ set nocompatible
|
||||||
" -- Vim-plug
|
" -- Vim-plug
|
||||||
if empty(glob('~/.vim/autoload/plug.vim'))
|
if empty(glob('~/.vim/autoload/plug.vim'))
|
||||||
silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs
|
silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs
|
||||||
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
||||||
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
|
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
|
||||||
endif
|
endif
|
||||||
|
|
||||||
call plug#begin('~/.vim/plugged')
|
call plug#begin('~/.vim/plugged')
|
||||||
Plug 'arcticicestudio/nord-vim'
|
Plug 'arcticicestudio/nord-vim'
|
||||||
Plug 'sjbach/lusty'
|
Plug 'sjbach/lusty'
|
||||||
Plug 'kshenoy/vim-signature'
|
Plug 'kshenoy/vim-signature'
|
||||||
Plug 'w0rp/ale'
|
Plug 'w0rp/ale'
|
||||||
Plug 'ap/vim-css-color'
|
Plug 'ap/vim-css-color'
|
||||||
Plug 'mileszs/ack.vim'
|
Plug 'mileszs/ack.vim'
|
||||||
Plug 'ctrlpvim/ctrlp.vim'
|
Plug 'ctrlpvim/ctrlp.vim'
|
||||||
Plug 'moll/vim-node'
|
Plug 'moll/vim-node'
|
||||||
Plug 'pangloss/vim-javascript'
|
Plug 'pangloss/vim-javascript'
|
||||||
Plug 'briancollins/vim-jst'
|
Plug 'briancollins/vim-jst'
|
||||||
Plug '1995eaton/vim-better-javascript-completion'
|
Plug '1995eaton/vim-better-javascript-completion'
|
||||||
Plug 'heavenshell/vim-jsdoc', {
|
Plug 'heavenshell/vim-jsdoc', {
|
||||||
\ 'for': ['javascript', 'javascript.jsx','typescript'],
|
\ 'for': ['javascript', 'javascript.jsx','typescript'],
|
||||||
\ 'do': 'make install'
|
\ 'do': 'make install'
|
||||||
\}
|
\}
|
||||||
Plug 'JamshedVesuna/vim-markdown-preview'
|
Plug 'JamshedVesuna/vim-markdown-preview'
|
||||||
Plug 'ternjs/tern_for_vim', {'do': 'yarn install'}
|
Plug 'ternjs/tern_for_vim', {'do': 'yarn install'}
|
||||||
Plug 'alvan/vim-closetag'
|
Plug 'alvan/vim-closetag'
|
||||||
Plug 'psykidellic/vim-jekyll'
|
Plug 'psykidellic/vim-jekyll'
|
||||||
Plug 'airblade/vim-gitgutter'
|
Plug 'airblade/vim-gitgutter'
|
||||||
Plug 'yuezk/vim-js'
|
Plug 'yuezk/vim-js'
|
||||||
Plug 'maxmellon/vim-jsx-pretty'
|
Plug 'maxmellon/vim-jsx-pretty'
|
||||||
Plug 'briancollins/vim-jst'
|
Plug 'briancollins/vim-jst'
|
||||||
Plug 'dpelle/vim-grammalecte'
|
Plug 'dpelle/vim-grammalecte'
|
||||||
" Initialize plugin system
|
" Initialize plugin system
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
||||||
|
@ -135,10 +135,10 @@ map! <F2> :call GlobalTrimWhiteSpace()<CR>
|
||||||
" ale
|
" ale
|
||||||
let b:ale_linters = ['eslint']
|
let b:ale_linters = ['eslint']
|
||||||
let g:ale_fixers = {
|
let g:ale_fixers = {
|
||||||
\ '*': ['remove_trailing_lines', 'trim_whitespace'],
|
\ '*': ['remove_trailing_lines', 'trim_whitespace'],
|
||||||
\ 'javascript': ['prettier', 'eslint'],
|
\ 'javascript': ['prettier', 'eslint'],
|
||||||
\ 'css': ['prettier']
|
\ 'css': ['prettier']
|
||||||
\ }
|
\ }
|
||||||
let g:ale_sign_error = '❌'
|
let g:ale_sign_error = '❌'
|
||||||
let g:ale_sign_warning = '⚠️'
|
let g:ale_sign_warning = '⚠️'
|
||||||
let g:ale_fix_on_save = 1
|
let g:ale_fix_on_save = 1
|
||||||
|
@ -154,8 +154,8 @@ let g:closetag_filetypes = 'html,xhtml,phtml'
|
||||||
let g:closetag_xhtml_filetypes = 'xhtml,jsx'
|
let g:closetag_xhtml_filetypes = 'xhtml,jsx'
|
||||||
let g:closetag_emptyTags_caseSensitive = 1
|
let g:closetag_emptyTags_caseSensitive = 1
|
||||||
let g:closetag_regions = {
|
let g:closetag_regions = {
|
||||||
\ 'typescript.tsx': 'jsxRegion,tsxRegion',
|
\ 'typescript.tsx': 'jsxRegion,tsxRegion',
|
||||||
\ 'javascript.jsx': 'jsxRegion',
|
\ 'javascript.jsx': 'jsxRegion',
|
||||||
\ }
|
\ }
|
||||||
let g:closetag_shortcut = '>'
|
let g:closetag_shortcut = '>'
|
||||||
let g:closetag_close_shortcut = '<leader>>'
|
let g:closetag_close_shortcut = '<leader>>'
|
||||||
|
|
Loading…
Reference in a new issue