Vim global variable check throws error in lua (neovim plugin development)

前端 未结 0 1757
谎友^
谎友^ 2020-12-21 12:10

I\'m trying write a neovim plugin using lua, when checking if a variable exists, lua throws an error like: Undefined variable: g:my_var

Method 1:

相关标签:
回答
  • 消灭零回复
提交回复
热议问题