Skip to content

Is it possible to set buf highlight indside builtin select window #33

Answered by stevearc
fitrh asked this question in Q&A
Discussion options

You must be logged in to vote

At the moment there are very limited controls for customizing the UI, because I don't like the idea of supporting an API that diverges from the core vim.ui.input. However, if you want to do your own post-processing on the window you should be able to hook into the FileType autocmd.

function _G.add_highlights()
  ...
end
vim.cmd([[autocmd FileType DressingSelect lua add_highlights()]])

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@fitrh
Comment options

Answer selected by fitrh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants