mirror of
https://github.com/preservim/nerdtree.git
synced 2025-11-09 03:43:50 -05:00
Improve three highlighting rules
The highlighting rules "NERDTreeClosable" and "NERDTreeOpenable" did not recognize files beginning with a "~" character. This caused bad highlighting on systems that use "~" and "+" for the dir arrow symbols by default. Making these rules more specific solves this problem. The "~" characters in quickhelp section titles also would get confused with a custom mapping for "~". Adjusting the "NERDTreeHelpTitle" solved this problem. I also changed the quickhelp title in a minor way to reflect the proper spelling of "NERDTree".
This commit is contained in:
@@ -21,7 +21,7 @@ endfunction
|
||||
"prints out the quick help
|
||||
function! s:UI._dumpHelp()
|
||||
if self.getShowHelp()
|
||||
let help = "\" NERD tree (" . nerdtree#version() . ") quickhelp~\n"
|
||||
let help = "\" NERDTree (" . nerdtree#version() . ") quickhelp~\n"
|
||||
let help .= "\" ============================\n"
|
||||
let help .= "\" File node mappings~\n"
|
||||
let help .= "\" ". (g:NERDTreeMouseMode ==# 3 ? "single" : "double") ."-click,\n"
|
||||
|
||||
Reference in New Issue
Block a user