sponsor Vim development Vim logo Vim Book Ad

nginx_conf_syntax_highlighting : Syntax Highlighting for NGINX Conf Files

 script karma  Rating 1/1, Downloaded by 221  Comments, bugs, improvements  Vim wiki

created by
Majid Alaeinia
 
script type
syntax
 
description
Syntax Highlighting for NGINX Files.
Initial source: http://www.vim.org/scripts/download_script.php?src_id=19394

I just added 'least_conn' keyword to it.


gist: https://gist.github.com/majidalaeinia/fd79282367ed26e4e291bb0a29ecfcf4
 
install details
mkdir -p ~/.vim/syntax/
wget https://www.vim.org/scripts/download_script.php?src_id=27919 -O ~/.vim/syntax/nginx.vim

cat > ~/.vim/filetype.vim <<EOF
au BufRead,BufNewFile /etc/nginx/*,/etc/nginx/conf.d/*,/usr/local/nginx/conf/* if &ft == '' | setfiletype nginx | endif
EOF
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
nginx_conf_syntax_highlighting.vim 1.0.1 2022-01-22 7.0 Majid Alaeinia Remove redundant semicolon
ip used for rating: 3.142.53.68

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github