LoginSignup
4
2

More than 5 years have passed since last update.

vimでNginx設定ファイルのシンタックスハイライト

Last updated at Posted at 2018-03-28
  • https://github.com/chr4/nginx.vim というのがあったので、それが使えました。自分の場合は NeoBundle を使っているので、.vimrcに書いてインストール。
NeoBundle 'chr4/nginx.vim'

nginxの設定ファイルは hogehoge.confだったりしてnginx特有の拡張子ではないので、nginxの設定ファイルを編集する場合は毎回vimで以下を叩いています。

:set syntax=nginx
4
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
2