Wednesday, January 11, 2023

vim9 autoload script modified : How to reload it On-The-Fly

Hi,

Currently modifying an autoload/vim9fooscript.vim which can be started by typing a nnoremap as this :

  • _vimrc :
import autoload './vimfiles/some/thing/autoload/vim9fooscript  .vim'
as thatHelp
nnoremap inout <ScriptCmd> thatHelp.E10_InOut()<CR>


  • vimfiles/some/thing/autoload/vim9fooscript.vim  
            def Foo which is currently modifying


How to force "recompile" the new modified content of def Foo without touch the nnoremap ?

Thank you
N i  c  o l a s

--
--
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/a132de71-6114-4fe2-ab83-41bec94ce8b7n%40googlegroups.com.

No comments: