Anthony Thyssen wrote:

> Okay I just checked and vim had an update to 8.2.2465  which should include 
> the above patch 8.2.2334.
> 
> No it still does not recognise the file has being a puppet configuration 
> file, but still thinks it is pascal.
> 
> Adding the entry
> ```vim
> let filetype_pp="puppet"
> ```
> do not help either.

That should work.  Try this to see what happens:

        10verbose edit file.pp

Does this mention the dist#ft#FTpp() function?

If I do this with an empty file it results in "puppet".

-- 
    [clop clop]
ARTHUR:  Old woman!
DENNIS:  Man!
ARTHUR:  Man, sorry.  What knight lives in that castle over there?
DENNIS:  I'm thirty seven.
ARTHUR:  What?
DENNIS:  I'm thirty seven -- I'm not old!
                                  The Quest for the Holy Grail (Monty Python)

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
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/202102092143.119Lhspa163429%40masaka.moolenaar.net.

Raspunde prin e-mail lui