summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-05-07 18:51:27 +0200
committerBram Moolenaar <Bram@vim.org>2020-05-07 18:51:27 +0200
commit611548105394fdb76827cd431230c9fbfed39929 (patch)
tree410a46043c93be4aaeff1e518cb050c86e4407ff /runtime
parent0ff5dedf0f69e56320199db7a2aad46be2a1f9b7 (diff)
patch 8.2.0713: the pam_environment file is not recognizedv8.2.0713
Problem: The pam_environment file is not recognized. Solution: Add a filetype pattern for pamenv. (closes #6051)
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 9fe4ecfe57..75bf5ac126 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -1133,6 +1133,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