Vim 支持nginx 配置文件语法高亮
1.下载
wget http://nginx.org/download/nginx-1.18.0.tar.gz
2.解压并进入解压目录
tar -zxvf nginx-1.18.0.tar.gz
cd nginx-1.18.0
3. 将nginx的vim配置文件拷贝到vim配置目录:
cp -r contrib/vim/* /usr/share/vim/vim80
wget http://nginx.org/download/nginx-1.18.0.tar.gz
tar -zxvf nginx-1.18.0.tar.gz
cd nginx-1.18.0
cp -r contrib/vim/* /usr/share/vim/vim80