Unduh 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
Comments
Posting Komentar