Skip to content
Snippets Groups Projects
Commit d53f08d2 authored by Sven Mäder's avatar Sven Mäder :speech_balloon:
Browse files

Enable syntax hightlighting for nginx logs

parent be3663da
No related branches found
No related tags found
No related merge requests found
......@@ -143,3 +143,7 @@ autocmd BufWinLeave * call clearmatches()
" --- vim modeline ---{{{
" vim: set foldmethod=marker:
"}}}
" --- httplog syntax (nginx, apache) ---{{{
autocmd BufRead,BufNewFile /var/log/nginx/** set filetype=httplog
"}}}
......@@ -296,6 +296,10 @@ let g:pymode_python = 'python3'
let g:pymode_options_max_line_length = 100
"}}}
" --- httplog syntax (nginx, apache) ---{{{
autocmd BufRead,BufNewFile /var/log/nginx/** set filetype=httplog
"}}}
" --- unused ---{{{
" workaround for https://github.com/vim/vim/issues/1start671
"if has("unix")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment