Skip to content

Commit b3325fa

Browse files
committed
Add prolog supported
1 parent dccc341 commit b3325fa

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
## 2. Usage
1515
### 2.a. Supported Languages
16-
+ C, C++, Html, Java, Makefile, Python, Rust, Shell script, Lisp, Vim script.
16+
+ C, C++, Html, Java, Lisp, Makefile, Prolog, Python, Rust, Shell script, Vim script.
1717

1818
### 2.b. Block comment
1919
+ In v or ^v(ctrl-v) mode will use block comment.

Diff for: autoload/commenter.vim

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,12 @@ let s:commentMap = {
99
\ 'cpp': { 'll': '// ', 'bl': '/* ', 'br': ' */' },
1010
\ 'html': { 'bl': '<!-- ', 'br': ' -->' },
1111
\ 'java': { 'll': '// ', 'bl': '/* ', 'br': ' */' },
12+
\ 'lisp': { 'll': '; ' },
1213
\ 'make': { 'll': '# ' },
14+
\ 'prolog': { 'll': '% ' },
1315
\ 'python': { 'll': '# ' },
1416
\ 'rust': { 'll': '// ', 'bl': '/* ', 'br': ' */' },
1517
\ 'sh': { 'll': '# ' },
16-
\ 'lisp': { 'll': '; ' },
1718
\ 'vim': { 'll': '" ' }
1819
\ }
1920

Diff for: doc/commenter.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ CONTENTS *commenter-contents*
3232
==============================================================================
3333
1. Usage *commenter_usage*
3434

35-
Now Support C, C++, Html, Java, Makefile, Python, Rust, Shell script, Lisp
36-
and Vim script.
35+
Now Support C, C++, Html, Java, Lisp, Makefile, Prolog, Python, Rust,
36+
Shell script, Lisp and Vim script.
3737
In v or ^v(ctrl-v) mode will use block comment. e.g. C: /* comment here */
3838

3939
==============================================================================

0 commit comments

Comments
 (0)