mirror of
https://github.com/preservim/nerdtree.git
synced 2024-11-23 07:16:49 +08:00
dont highlight current menu item
this is mainly because users shouldnt be encouraged to use j/k, but rather they should use the shortcuts... this is faster and stops the menu from being re-rendered so often (which looks shithouse since he screen is being ":redraw!"n)
This commit is contained in:
parent
a3b05e8e38
commit
e5c79fc5c1
|
@ -511,9 +511,7 @@ function! s:MenuController._echoPrompt()
|
|||
|
||||
for i in range(0, len(self.menuItems)-1)
|
||||
if self.selection == i
|
||||
echohl todo
|
||||
echo "> " . self.menuItems[i].text
|
||||
echohl normal
|
||||
else
|
||||
echo " " . self.menuItems[i].text
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue
Block a user