commit 052b1f00a0ef14b0019f4d0cda9906ba93f9a0d6
parent f63132cade94e0937e51d55e4f9ddd33bec69e4e
Author: Phil Runninger <PhilRunninger@users.noreply.github.com>
Date: Tue, 26 May 2020 00:15:17 -0400
Add curly braces to the list of characters to be escaped. (#1128)
* Add curly braces to the list of characters to be escaped.
* Update version number in change log.
Diffstat:
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
@@ -5,6 +5,7 @@
- **.PATCH**: Pull Request Title (PR Author) [PR Number](Link to PR)
-->
#### 6.7
+- **.15**: Add curly braces to the list of characters to be escaped. (PhilRunninger) [#1128](https://github.com/preservim/nerdtree/pull/1128)
- **.14**: Use backward-compatible `nerdtree#and()` in one place that was missed. (PhilRunninger) [#1134](https://github.com/preservim/nerdtree/pull/1134)
- **.13**: `cmd.exe /c start "" <filename>` for windows default viewer support. (J. Altayó) [#1130](https://github.com/preservim/nerdtree/pull/1130)
- **.12**: Fixed a bug that caused the file-tree construction to slow down significantly. (Eugenij-W) [#1126](https://github.com/preservim/nerdtree/pull/1126)
diff --git a/lib/nerdtree/path.vim b/lib/nerdtree/path.vim
@@ -332,7 +332,7 @@ function! s:Path._escChars()
return " `\|\"#%&,?()\*^<>$"
endif
- return " \\`\|\"#%&,?()\*^<>[]$"
+ return " \\`\|\"#%&,?()\*^<>[]{}$"
endfunction
" FUNCTION: Path.getDir() {{{1