diff options
Diffstat (limited to 'files/.vimrc')
| -rw-r--r-- | files/.vimrc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/files/.vimrc b/files/.vimrc index 3bf7554..e23efbe 100644 --- a/files/.vimrc +++ b/files/.vimrc @@ -128,6 +128,7 @@ if has('autocmd') autocmd BufEnter * execute ":silent! lcd " . expand("%:p:h") au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$") | exe "normal g'\"" | endif + au BufRead,BufNewFile /etc/nginx/* if &ft == "" | setfiletype nginx | endif endif " |
