diff runtime/filetype.vim @ 31847:a89903efd329 v9.0.1256

patch 9.0.1256: NetworkManager connection files are not recognized Commit: https://github.com/vim/vim/commit/04e4f1d98556e67d7337224b67b71c828410ee0f Author: ObserverOfTime <chronobserver@disroot.org> Date: Sat Jan 28 18:05:40 2023 +0000 patch 9.0.1256: NetworkManager connection files are not recognized Problem: NetworkManager connection files are not recognized. Solution: Add a pattern for NetworkManager connection files. (closes https://github.com/vim/vim/issues/11893)
author Bram Moolenaar <Bram@vim.org>
date Sat, 28 Jan 2023 19:15:03 +0100
parents e2fa5867a7bd
children a9d97517ac27
line wrap: on
line diff
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -1399,6 +1399,7 @@ au BufNewFile,BufRead pf.conf				setf pf
 " ini style config files, using # comments
 au BufNewFile,BufRead */etc/pacman.conf,mpv.conf	setf confini
 au BufNewFile,BufRead */.aws/config,*/.aws/credentials	setf confini
+au BufNewFile,BufRead *.nmconnection			setf confini
 
 " Pacman hooks
 au BufNewFile,BufRead *.hook