Skip to content

Commit

Permalink
Set syntax highlighting for all zsh startup files
Browse files Browse the repository at this point in the history
  • Loading branch information
rjdellecese authored and geoffharcourt committed Jul 3, 2021
1 parent 773764a commit b7df040
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion vimrc
Expand Up @@ -47,7 +47,11 @@ 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
\ aliases.local,
\zshenv.local,zlogin.local,zlogout.local,zshrc.local,zprofile.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
Expand Down

0 comments on commit b7df040

Please sign in to comment.