Closed thedanielfactor closed 1 year ago
plugin.lua file miss return M
Ok, I added return M
to the bottom of the file lua/config/tools/zk-nvim.lua
and ran PackerSync
. It seems to load fine but it does not seem to be loading the plugin. When I use the <leader>cn
I get an error:
E492: Not an editor command: ZkNew { dir = vim.fn.expand('%:p:h'), title = vim.fn.input('Title: ') }
Is there a log or some way for me to trace the startup? I am just learning Lua so I am not familiar with any tools that may exist for it.
rhs error.
Only viml syntax is allowed in
I am trying to add a new plugin but I am getting an error during startup every time.
Plugin: zk-nvim
I have added the plugin to the
plugins.tools
section in thelua/core/plugins.lua
file. I have tried many variations of this even just callingM.setup()
in the load function.I have also added the config file in
lua/config/zk-nvim.lua