summarylogtreecommitdiffstats
path: root/openvpn.ft
blob: 4053414cadf0c00f822c9a6afa9b760e2b08b336 (plain)
1
2
3
4
5
6
autocmd BufEnter *.ovpn setlocal filetype=openvpn
autocmd BufRead,BufNewFile /etc/openvpn/client/*.conf set filetype=openvpn
autocmd BufRead,BufNewFile /etc/openvpn/server/*.conf set filetype=openvpn

"Additionally for symlink, linking to a file in the server or client folder.
autocmd BufRead,BufNewFile /etc/openvpn/*.conf set filetype=openvpn