Closed Zach-Johnson closed 5 months ago
Should use this instead (also more examples in the README.md)
{
'ray-x/navigator.lua',
dev = (plugin_folder() ~= ''),
-- '~/github/ray-x/navigator.lua',
dependencies = { 'ray-x/guihua.lua', build = 'cd lua/fzy && make' },
config = function()
require('navigator').setup({
keymaps = {
{
key = '<Leader>rn',
func = require('navigator.rename').rename,
desc = 'rename',
},
},
icons = {
enable=true,
diagnostic_err = '👎',
}
})
end,
}
Ah, I was confused by the other config. Thanks very much 🙏
Hi - I'm confused about how to override default config values. It seems like the defaults are persisting regardless of what config I set up. I've just now tried it with the playground in this repo. I've set the following in the navigator section of the
init.lua
:I'd expect that the icon for diagnostics gets overridden but it does not