From 695d92f50ea78f7cefa0532718df1b7d199adf4c Mon Sep 17 00:00:00 2001 From: Ashwin Vidiyala Date: Sun, 12 Aug 2018 13:08:20 -0500 Subject: [PATCH] Isolate ALE settings into its own augroup --- vimrc | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/vimrc b/vimrc index 5da12b0..8b6fc22 100644 --- a/vimrc +++ b/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