-
Is it possible to set a different |
Beta Was this translation helpful? Give feedback.
Answered by
hedyhli
Jul 2, 2024
Replies: 1 comment 2 replies
-
Hi! Yes, you can. There's a section in the docs dedicated to customizing this specifically. In fact, I use this myself: symbols = {
icon_fetcher = function(k)
local ft = vim.api.nvim_buf_get_option(require('outline').current.code.buf, "ft")
-- There can only be kind String in markdown so... let's not have the
-- eye candy here
if ft == 'markdown' and k == 'String' then
return ""
end
return false
end,
icon_source = "lspkind",
} No icons are shown when it's markdown. Falls back to |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
hedyhli
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi!
Yes, you can. There's a section in the docs dedicated to customizing this specifically.
In fact, I use this myself:
https://github.com/hedyhli/dotfiles/blob/8b41a2c8135cd579ac7adacb3ca94de993a6b6be/.config/nvim/lua/plugins/outline.lua#L77
No icons are shown when it's markdown. Falls back to
lspkind
…