Wednesday, August 3, 2022

Import vim9 script as that and map that.func fails

Hi,

Would import vim9 script as that. It seems to work when I directly call that.foobar.

But how to map the same call in a nnoremapping ?
Thank you
NV


# Imported Functions {{{
import './vimfiles/autoload/nvhelper.vim' as that
nnoremap n n:call that.HLNext(80)<CR>
nnoremap N N:call that.HLNext(80)<CR>

--
--
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/d5cadea4-2989-4e8c-b90a-5f742074a992n%40googlegroups.com.

No comments: