Closed zbouslikhin closed 2 years ago
I think that's just nvim.buf_set_keymap, it's like the nvim prefix is dropped over the entire API when using that nvim wrapper module.
Closing since this is a docs issue more than anything. It's nvim.buf_set_keymap
, not nvim.nvim_buf_set_keymap
I'm currently trying to configure an nvim plugin that involves using the function
nvim_buf_set_keymap
. Using aniseed, I'm exporting nvim to use that function. However, it looks like the function does not exist (returns "attempt to call field nvim_buf_set_keymap (a nil value)". The code is looking like this: