Wednesday, January 29, 2014

VIM Syntax Highlighting untuk Nginx


Download berkas nginx.vim, dan simpan di ~/.vim/syntax/. Kemudian tambahkan baris berikut ke berkas ~/.vim/filetype.vim
au BufRead,BufNewFile /opt/nginx/conf/* set ft=nginx
au BufRead,BufNewFile /opt/nginx/conf/sites-available/* set ft=nginx
au BufRead,BufNewFile /opt/nginx/conf/sites-enabled/* set ft=nginx
No comments:
Write comments