ldelossa / litee.nvim

A framework for building Neovim plugins
409 stars 14 forks source link

Let plugins control cursorline #89

Open ldelossa opened 2 years ago

ldelossa commented 2 years ago

Currently, cusorline is forced by lib/panel

lua/litee/lib/panel/init.lua
472:    vim.api.nvim_win_set_option(win, 'cursorline', true)

Consider removing this and letting plugins control this behavior.

Plugins will control it by performing a vim.fn.cmd("set cursorline in their "post_window_create` callback, when registering themselves with the panel.