Skip to content

Commit 5cefcff

Browse files
committed
Unpluralizing files and variable names
1 parent 37bfc8c commit 5cefcff

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ add them to your `.vimrc` to enable their features.
4141
-----------------
4242

4343
```
44-
let g:javascript_plugin_jsdocs = 1
44+
let g:javascript_plugin_jsdoc = 1
4545
```
4646

4747
Enables syntax highlighting for [JSDocs](http://usejsdoc.org/).
@@ -51,7 +51,7 @@ Default Value: 0
5151
-----------------
5252

5353
```
54-
let g:javascript_plugin_ngdocs = 1
54+
let g:javascript_plugin_ngdoc = 1
5555
```
5656

5757
Enables some additional syntax highlighting for NGDocs. Requires JSDoc plugin
File renamed without changes.
File renamed without changes.

syntax/javascript.vim

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -192,11 +192,11 @@ syntax region jsComment start="/\*" end="\*/" contains=jsCommentTodo,js
192192
syntax region jsEnvComment start="\%^#!" end="$" display
193193
syntax region jsCvsTag contained start="\$\cid:" end="\$" oneline
194194

195-
if exists("javascript_plugin_jsdocs")
196-
runtime extras/jsdocs.vim
195+
if exists("javascript_plugin_jsdoc")
196+
runtime extras/jsdoc.vim
197197
" NGDoc requires JSDoc
198-
if exists("javascript_plugin_ngdocs")
199-
runtime extras/ngdocs.vim
198+
if exists("javascript_plugin_ngdoc")
199+
runtime extras/ngdoc.vim
200200
endif
201201
endif
202202

0 commit comments

Comments
 (0)