You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found out about this plugin on the internet yesterday and it's very good, but i have some issues,
Whenever i save, neovim spits out the errors bellow.
To reproduce, use the Lazy config and Null-ls config below
Hope this can be fixed!
Error detected while processing BufWritePre Autocommands for "<buffer=1>":
Error executing lua callback: ....local/share/nvim/lazy/csharp.nvim/lua/csharp/config.lua:68: attempt to index global 'Csharp' (a nil value)
stack traceback:
....local/share/nvim/lazy/csharp.nvim/lua/csharp/config.lua:68: in function 'get_config'
...nvim/lazy/csharp.nvim/lua/csharp/features/fix-usings.lua:25: in function 'fix_usings'
Thank you for reporting. Unfortunately, I don't have time at the moment to look into it :( I appreciate any contribution if you can, otherwise, I'll start looking into it once I get the chance.
It's a misunderstanding of how to setup the plugin.
If you want to override the dap, it should look like:
require("csharp").setup({
dap= {
adapter_name="netcoredbg",
},
-- other config here
})
And running this on configure makes no sense as there's no context for these actions to do anything. These functions are run on a project context or a buffer, not for initialising any functionality.
I found out about this plugin on the internet yesterday and it's very good, but i have some issues,
Hope this can be fixed!
Error detected while processing BufWritePre Autocommands for "<buffer=1>":
Error executing lua callback: ....local/share/nvim/lazy/csharp.nvim/lua/csharp/config.lua:68: attempt to index global 'Csharp' (a nil value)
stack traceback:
....local/share/nvim/lazy/csharp.nvim/lua/csharp/config.lua:68: in function 'get_config'
...nvim/lazy/csharp.nvim/lua/csharp/features/fix-usings.lua:25: in function 'fix_usings'
---------------------------Another error-------------------------
Failed to run
config
for csharp.nvim/home/kingboo/.config/nvim/lua/custom/plugins.lua:161: attempt to index field 'dap' (a nil value)
stacktrace:
Plugins.lua
Null-ls.lua
The text was updated successfully, but these errors were encountered: