aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-05-07 23:10:39 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-05-11 22:30:24 -0400
commit393dc2b0f5f6bdbaa4499d07e9a1d90d924d6441 (patch)
tree49daebc95ec92f5b335cddd5442a3e1a213e87eb /runtime
parent03cc818fdcd1649b64d42c743c5293c06e3ac07a (diff)
downloadrneovim-393dc2b0f5f6bdbaa4499d07e9a1d90d924d6441.tar.gz
rneovim-393dc2b0f5f6bdbaa4499d07e9a1d90d924d6441.tar.bz2
rneovim-393dc2b0f5f6bdbaa4499d07e9a1d90d924d6441.zip
vim-patch:8.2.0713: the pam_environment file is not recognized
Problem: The pam_environment file is not recognized. Solution: Add a filetype pattern for pamenv. (closes vim/vim#6051) https://github.com/vim/vim/commit/611548105394fdb76827cd431230c9fbfed39929
Diffstat (limited to 'runtime')
-rw-r--r--runtime/filetype.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index dc0bca2c60..f2ae298b48 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -1129,6 +1129,9 @@ au BufNewFile,BufRead pf.conf setf pf
" Pam conf
au BufNewFile,BufRead */etc/pam.conf setf pamconf
+" Pam environment
+au BufNewFile,BufRead .pam_environment setf pamenv
+
" PApp
au BufNewFile,BufRead *.papp,*.pxml,*.pxsl setf papp