mirror of
https://github.com/preservim/nerdtree.git
synced 2025-11-10 12:23:49 -05: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:
@@ -511,9 +511,7 @@ function! s:MenuController._echoPrompt()
|
|||||||
|
|
||||||
for i in range(0, len(self.menuItems)-1)
|
for i in range(0, len(self.menuItems)-1)
|
||||||
if self.selection == i
|
if self.selection == i
|
||||||
echohl todo
|
|
||||||
echo "> " . self.menuItems[i].text
|
echo "> " . self.menuItems[i].text
|
||||||
echohl normal
|
|
||||||
else
|
else
|
||||||
echo " " . self.menuItems[i].text
|
echo " " . self.menuItems[i].text
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user