onestatus icon indicating copy to clipboard operation
onestatus copied to clipboard

Cannot update config path with Lua

Open zeitchef opened this issue 3 years ago • 1 comments

I'm not sure why, but I just cannot update the onestatus_config_path in my Lua configs. For example, the following does not work:

vim.g.onestatus_config_path = vim.fn.stdpath('data')

This should set the directory to .local/share/nvim where my onestatus.json is placed. Any ideas what might be the issue?

zeitchef avatar Jun 25 '21 21:06 zeitchef

Hum not sure about this as I do not have a lua config. Did placing your onestatus config in .local/share/nvim work when you were using vanilla vimscript ?

narajaon avatar Jul 16 '21 15:07 narajaon