Webdevelopment

This commit is contained in:
2018-07-29 19:27:23 +02:00
parent 8be1791f6d
commit 8566d05b5f
2 changed files with 16 additions and 1 deletions

View File

@@ -2,6 +2,7 @@ let s:comment_map = {
\ 'c': '\/\/',
\ 'cpp': '\/\/',
\ 'java': '\/\/',
\ 'javascript': '\/\/',
\ 'vhdl': '--',
\ 'python': '#',
\ 'vim': '"',
@@ -16,7 +17,10 @@ let s:block_map = {
\ 'java': ['\/\*', '\*\/'],
\ 'cpp': ['\/\*', '\*\/'],
\ 'python': ['"""', '"""'],
\ 'vim': ['" {{{', '" }}}']
\ 'vim': ['" {{{', '" }}}'],
\ 'css': ['\/\*', '\*\/'],
\ 'html': ['<!--', '-->'],
\ 'javascript': ['\/\*', '\*\/']
\ }
function! MyCommenter(uncomment) range