Isolate ALE settings into its own augroup
This commit is contained in:
parent
319f1284f9
commit
695d92f50e
1 changed files with 7 additions and 3 deletions
10
vimrc
10
vimrc
|
@ -43,12 +43,16 @@ augroup vimrcEx
|
|||
" Set syntax highlighting for specific file types
|
||||
autocmd BufRead,BufNewFile *.md set filetype=markdown
|
||||
autocmd BufRead,BufNewFile .{jscs,jshint,eslint}rc set filetype=json
|
||||
autocmd BufRead,BufNewFile aliases.local,zshrc.local,*/zsh/configs/* set filetype=sh
|
||||
autocmd BufRead,BufNewFile gitconfig.local set filetype=gitconfig
|
||||
autocmd BufRead,BufNewFile tmux.conf.local set filetype=tmux
|
||||
autocmd BufRead,BufNewFile vimrc.local set filetype=vim
|
||||
autocmd BufRead,BufNewFile gitconfig.local set filetype=gitconfig
|
||||
autocmd BufRead,BufNewFile aliases.local,zshrc.local,*/zsh/configs/* set filetype=sh
|
||||
augroup END
|
||||
|
||||
" ALE linting events
|
||||
augroup ale
|
||||
autocmd!
|
||||
|
||||
" ALE linting events
|
||||
if g:has_async
|
||||
set updatetime=1000
|
||||
let g:ale_lint_on_text_changed = 0
|
||||
|
|
Loading…
Add table
Reference in a new issue