Monday, June 5, 2023

Re: add skeleton to new file based on filetype, not extension

Le 05/06/2023 à 17:50, Gary Johnson a écrit :
no file name argument has been given to that :new command, so the BufNewFile  autocommand is not triggered.  

this is the most important part of the reason why it doesn't work. :)

thank you for correcting autocommand.


do you have any (simple) idea about how to add skeleton to unnamed file having filetype as python ?


No comments: