Friday, April 8, 2022

Embed langage print when sourcing vim9script

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 bufnr is ' .. g:cachebufnr )
  endif

  lua << EOF

print('foo')

EOF

enddef   

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/76d0f739-9dfd-482b-b532-4f9f443603ecn%40googlegroups.com.

No comments: