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
Undefined variable: g:my_var
Method 1: