Thank you Bram!
Maybe it's because I forgot to say I have an autocommand.
I am surprised to see out of print('LuaXmlParser') when I source this
vim9script.
Thank you again Bram.
NV
# Syntax / Filetype - Helper {{{
def g:SwitchFtHelper(arg: string): void
if (arg == 'leave')
au!
endif
> Is it normal to get print of embed langage when I source vim9script ?
>
> Thank you
> NV
>
> def g:SwitchFtHelper(): void # Syntax / Filetype - Helper {{{
>
> if ( !exists('g:cachebufnr') )
> g:cachebufnr = bufnr('%')
> g:cacheft = &ft
> StampedEcho( 'Cached filetype is ' .. g:
Hi,
Is it normal to get print of embed langage when I source vim9script ?
Thank you
NV
def g:SwitchFtHelper(): void # Syntax / Filetype - Helper {{{
if ( !exists('g:cachebufnr') )
g:cachebufnr = bufnr('%')
g:cacheft = &ft
StampedEcho( 'Cached filetype is ' .. g:cacheft .. ' and bu