Closed fitrh closed 1 year ago
Not sure the status of this, but I just published a new release if you wanted to merge this :)
Thanks, will merge this, note that I'm not a neo-tree or nvim-tree user (uses those plugins just to test this change), my use case for those plugins is pretty basic, and I haven't had any issue with this change
Previously, we called
disable_manage_ui
forignore_filetypes
to set'guicursor'
and'cursorline'
, now, we completely ignore it.@treatybreaker @Frydac, sorry for ping, but could you test this?
Using the following config, hopefully fix the previous issue
I might update
ignore_filetypes
with the following filetypes if desiredcalltree
flutterToolsOutline
qf
symboltree
Trouble
Because in my experience, with those file types, the expected UX is to have cursor line in the window, e.g.
symboltree
from ldelossa/litee-symboltree.nvim, I expect the window shows the cursor line for the symbol under my current cursorUPDATE:
In addition, this changes also ignores non-normal and unlisted buffer, the rationale is that most of the non-normal buffers are not intended to be used as text editing buffers, which makes it nonsense to change the mode in them, see
:h 'buftype'
,:h special-buffers
.Plugins that utilize window to display information, mostly set their
'buftype'
tonofile
, ignoring such buffers keeps modes.nvim from unintentionally alter the UX of the plugins.Fixes #28 Fixes #34