On Thu, May 07, 2020 at 06:52:00PM +0200, Bram Moolenaar wrote:
> Patch 8.2.0713
> Problem:    The pam_environment file is not recognized.
> Solution:   Add a filetype pattern for pamenv. (closes #6051)
> Files:      runtime/filetype.vim, src/testdir/test_filetype.vim
> 
> 
> *** ../vim-8.2.0712/runtime/filetype.vim      2020-04-29 23:01:46.317364426 
> +0200
> --- runtime/filetype.vim      2020-05-07 18:49:36.470272234 +0200
> ***************
> *** 1133,1138 ****
> --- 1133,1141 ----
>   " Pam conf
>   au BufNewFile,BufRead */etc/pam.conf                setf pamconf
>   
> + " Pam environment
> + au BufNewFile,BufRead .pam_environment              setf pamenv
> + 

I see no pamenv.vim in runtime/syntax/ or in runtime/filetype/ in
current git master.

Also, /etc/environment and /etc/default/locale use the same format and
could be added to the pattern.

(While at it, /etc/pam.d/*.conf could be added to the pamconf pattern above.)


Marius Gedminas
-- 
Un*x admins know what they are doing by definition.
        -- Bernd Petrovitsch

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20200507204825.ng7cw3tpz5y3jlru%40blynas.

Attachment: signature.asc
Description: PGP signature

Raspunde prin e-mail lui