BREAKING,feat: Customizable guide markers

See readme
This commit is contained in:
hedy
2023-11-02 17:46:27 +08:00
parent 841825b747
commit a87f73c3b2
5 changed files with 39 additions and 24 deletions

View File

@@ -32,7 +32,7 @@ function View:setup_view()
vim.api.nvim_win_set_option(self.winnr, 'wrap', config.options.wrap)
vim.api.nvim_win_set_option(self.winnr, 'linebreak', true) -- only has effect when wrap=true
vim.api.nvim_win_set_option(self.winnr, 'breakindent', true) -- only has effect when wrap=true
-- Would be nice to use ui.markers.vertical as part of showbreak to keep
-- Would be nice to use guides.markers.vertical as part of showbreak to keep
-- continuity of the tree UI, but there's currently no way to style the
-- color, apart from globally overriding hl-NonText, which will potentially
-- mess with other theme/user settings. So just use empty spaces for now.