Failed to run `config` for code_runner.nvim
Closed this issue · 1 comments
wwWT000 commented
dorrajmachai commented
Hi!
Could you remove the initial set of parentheses after setup
? So, it would look like:
{
"CRAG666/code_runner.nvim",
config = function()
-- removed extra parentheses here!
require("code_runner").setup({
filetype = {
python = "python3 -u",
},
})
end,
event = {"VeryLazy"}
},
instead of:
{
"CRAG666/code_runner.nvim",
config = function()
require("code_runner").setup()({
filetype = {
python = "python3 -u",
},
})
end,
event = {"VeryLazy"}
},