onedarkpro.nvim
onedarkpro.nvim copied to clipboard
(support)add support for navic plugins
This is a great plugin for navigating LSP symbols
I'd be more than willing to accept a pull request from yourself. Worth checking how other plugins are structured:
https://github.com/olimorris/onedarkpro.nvim/tree/main/lua/onedarkpro/plugins
@Leiyi548 this is how I have my config for navic
, btw:
local ok, onedarkpro = pcall(load, "onedarkpro")
if not ok then
return
end
onedarkpro.setup({
hlgroups = {
NavicIconsClass = { fg = "${purple}" },
NavicIconsFunction = { fg = "${blue}" },
NavicIconsVariable = { fg = "${red}" },
NavicIconsConstant = { fg = "${orange}" },
NavicIconsBoolean = { fg = "${orange}" },
NavicIconsString = { fg = "${green}" },
NavicIconsObject = { fg = "${purple}" },
NavicIconsProperty = { fg = "${fg}" },
NavicText = { fg = "${gray}", style = "italic" },
NavicSeparator = { fg = "${gray}" },
},
})
vim.cmd("colorscheme onedarkpro")
@Leiyi548 this has now been implemented.