Skip to content

Commit c62a66a

Browse files
committed
Fix README errors
1 parent b26bf45 commit c62a66a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,22 +92,22 @@ let g:NERDTreeSyntaxDisableDefaultExtensions = 1
9292
let g:NERDTreeSyntaxEnabledExtensions = ['hbs', 'lhs'] " enable highlight to .hbs and .lhs files with default colors
9393
```
9494
### Mitigating lag issues
95-
Some users are reporting they feel some lag when using this plugin. There are ways to mitigate this lag. One way is to disable most of the the default highlight exntensions. The code is going to color over than 80 extensions by default, even if you are not using these extensions. One easy way to do it is use the limited syntax mode:
95+
Some users are reporting they feel some lag when using this plugin. There are ways to mitigate this lag. One way is to disable most of the the default highlight exntensions. The code is going to color over than 80 extensions by default, even if you are not using most of them. One easy way to do this is using the limited syntax mode:
9696
```vim
9797
let g:NERDTreeLimitedSyntax = 1
9898
```
99-
This configuration will limit the number of extensions used to these:
99+
This configuration will limit the extensions used to these:
100100
```
101101
.bmp, .c, .coffee, .cpp, .css, .erb, .go, .hs, .html, .java, .jpg, .js, .json, .jsx, .less, .lua, .markdown, .md, .php, .png, .pl, .py, .rb, .rs, .scala, .scss, .sh, .sql, .vim
102102
```
103-
If this doens't solve your lag, or doesn't include the extensions you use, you can choose the exntensions you want to enable. For example, if you work with C, php, ruby and javascript, you could add something like this to your `.vimrc` instead:
103+
If this doens't solve your lag, or doesn't include the extensions you normaly use, you can choose the extensions you want to enable. For example, if you work with C, php, ruby and javascript, you could add something like this to your `.vimrc` instead:
104104
```vim
105105
let g:NERDTreeSyntaxDisableDefaultExtensions = 1
106106
let g:NERDTreeDisableExactMatchHighlight = 1
107107
let g:NERDTreeDisablePatternMatchHighlight = 1
108108
let g:NERDTreeSyntaxEnabledExtensions = ['c', 'h', 'c++', 'php', 'rb', 'js', 'css'] " example
109109
```
110-
A user reported that disabling `Cursorline` highlight from NERDTree fixed the issue. You can do this by adding this to your `.vimrc`
110+
A user reported that disabling `Cursorline` highlight from NERDTree fixed the issue. You can do this by adding this configuration to your `.vimrc`:
111111
```vim
112112
let g:NERDTreeHighlightCursorline = 0
113113
```

0 commit comments

Comments
 (0)