Open Ajaymamtora opened 1 month ago
I would suggest to not copy all the default opts, as it can changes in the future. By not setting it, it will takes default values anyway.
I've greatly simplified to setup of delta some times ago, so now it is configured like so:
delta = {
-- Header from delta can be quite large.
-- You can remove them by setting this to the number of lines to remove
header_lines_to_remove = 4,
-- The arguments to pass to delta
-- If you have a custom configuration file, you can set the path to it like so:
-- args = {
-- "--config" .. os.getenv("HOME") .. "/.config/delta/config.yml",
-- }
args = {
"--line-numbers",
},
},
In your setup, delete all except backend
, and it should work.
I would suggest to not copy all the default opts, as it can changes in the future. By not setting it, it will takes default values anyway.
I've greatly simplified to setup of delta some times ago, so now it is configured like so:
delta = { -- Header from delta can be quite large. -- You can remove them by setting this to the number of lines to remove header_lines_to_remove = 4, -- The arguments to pass to delta -- If you have a custom configuration file, you can set the path to it like so: -- args = { -- "--config" .. os.getenv("HOME") .. "/.config/delta/config.yml", -- } args = { "--line-numbers", }, },
In your setup, delete all except
backend
, and it should work.
Deleted everything, still the same issue
I've added a check that verify is code action is nil.
But it means that no code action can be resolved, which is weird. How do you setup lua_ls ?
When opening the picker, the actions are listed but the preview is empty and I get this error every time I try and scroll through the actions:
this is my config