sponsor Vim development Vim logo Vim Book Ad

nginx.vim : initial version

 script karma  Rating 801/343, Downloaded by 55156  Comments, bugs, improvements  Vim wiki

created by
Evan Miller
 
script type
syntax
 
description
nginx.vim highlights configuration files for nginx, the high-performance web server (see http://nginx.net).
 
install details
Download nginx.vim to ~/.vim/syntax/, and then add this line to ~/.vim/filetype.vim:

au BufRead,BufNewFile /etc/nginx/*,/usr/local/nginx/conf/* if &ft == '' | setfiletype nginx | endif

(adjust the path to your nginx installation)
 

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.vim 0.3.3 2013-01-20 6.0 Evan Miller Fix comment detection when tabs are present.
nginx.vim 0.3.2 2010-11-25 6.0 Evan Miller Highlight comments properly near {'s. Thanks to Eric Herot
nginx.vim 0.3.1 2010-05-11 6.0 Evan Miller Bugfix: lines with "{" did not show in the comment color when prefixed by "#".
nginx.vim 0.3 2010-02-21 6.0 Evan Miller Update to work with the latest Nginx directives (as of 0.8.32) and 3rd party modules. Thanks to Sergey Bochenkov.
nginx.vim 0.2 2009-09-29 6.0 Evan Miller Support more modules and keywords. Thanks to Bruno Michel.
nginx.vim 0.1 2007-05-05 6.0 Evan Miller Initial upload
ip used for rating: 34.230.66.177

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