feat(cursorline): Add cursorline option

This commit is contained in:
hedy
2023-11-01 16:20:51 +08:00
parent 1b1f4c02fc
commit 0769cfe5c3
4 changed files with 14 additions and 0 deletions

View File

@@ -49,6 +49,10 @@ function View:setup_view()
if config.options.show_relative_numbers then
vim.api.nvim_win_set_option(self.winnr, 'rnu', true)
end
if config.options.show_cursorline then
vim.api.nvim_win_set_option(self.winnr, 'cursorline', true)
end
end
function View:close()