Skip to content

Commit

Permalink
feat: Change "- TODO" in "TODO"
Browse files Browse the repository at this point in the history
  • Loading branch information
kkoomen committed Jun 18, 2019
1 parent 569223b commit 8a58aeb
Show file tree
Hide file tree
Showing 8 changed files with 158 additions and 158 deletions.
2 changes: 1 addition & 1 deletion ftplugin/coffee.vim
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ call add(b:doge_patterns, {
\ 'parameters': {
\ 'match': '\m\([^,]\+\)',
\ 'match_group_names': ['name'],
\ 'format': ['@param {*}', '{name}', '- TODO'],
\ 'format': ['@param {*}', '{name}', 'TODO'],
\ },
\ 'comment': {
\ 'insert': 'above',
Expand Down
6 changes: 3 additions & 3 deletions ftplugin/javascript.vim
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ call add(b:doge_patterns, {
\ 'parameters': {
\ 'match': s:parameters_match_pattern,
\ 'match_group_names': ['name', 'type'],
\ 'format': ['@param', '!{{type|*}}', '{name}', '- TODO'],
\ 'format': ['@param', '!{{type|*}}', '{name}', 'TODO'],
\ },
\ 'comment': {
\ 'insert': 'above',
Expand Down Expand Up @@ -94,7 +94,7 @@ call add(b:doge_patterns, {
\ 'parameters': {
\ 'match': s:parameters_match_pattern,
\ 'match_group_names': ['name', 'type'],
\ 'format': ['@param', '!{{type|*}}', '{name}', '- TODO'],
\ 'format': ['@param', '!{{type|*}}', '{name}', 'TODO'],
\ },
\ 'comment': {
\ 'insert': 'above',
Expand Down Expand Up @@ -139,7 +139,7 @@ call add(b:doge_patterns, {
\ 'parameters': {
\ 'match': s:parameters_match_pattern,
\ 'match_group_names': ['name', 'type'],
\ 'format': ['@param', '!{{type|*}}', '{name}', '- TODO'],
\ 'format': ['@param', '!{{type|*}}', '{name}', 'TODO'],
\ },
\ 'comment': {
\ 'insert': 'above',
Expand Down
6 changes: 3 additions & 3 deletions ftplugin/typescript.vim
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ call add(b:doge_patterns, {
\ 'parameters': {
\ 'match': s:parameters_match_pattern,
\ 'match_group_names': ['name', 'type'],
\ 'format': ['@param', '!{{type|*}}', '{name}', '- TODO'],
\ 'format': ['@param', '!{{type|*}}', '{name}', 'TODO'],
\ },
\ 'comment': {
\ 'insert': 'above',
Expand Down Expand Up @@ -97,7 +97,7 @@ call add(b:doge_patterns, {
\ 'parameters': {
\ 'match': s:parameters_match_pattern,
\ 'match_group_names': ['name', 'type'],
\ 'format': ['@param', '!{{type|*}}', '{name}', '- TODO'],
\ 'format': ['@param', '!{{type|*}}', '{name}', 'TODO'],
\ },
\ 'comment': {
\ 'insert': 'above',
Expand Down Expand Up @@ -142,7 +142,7 @@ call add(b:doge_patterns, {
\ 'parameters': {
\ 'match': s:parameters_match_pattern,
\ 'match_group_names': ['name', 'type'],
\ 'format': ['@param', '!{{type|*}}', '{name}', '- TODO'],
\ 'format': ['@param', '!{{type|*}}', '{name}', 'TODO'],
\ },
\ 'comment': {
\ 'insert': 'above',
Expand Down
16 changes: 8 additions & 8 deletions playground/test.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -10,32 +10,32 @@ myFunc = () -> x * x
###
@description TODO
@function myFunc
@param {*} x - TODO
@param {*} x TODO
###
myFunc = (x) -> x * x

###
@description TODO
@function myFunc
@param {*} x - TODO
@param {*} x TODO
###
myFunc = (x) => x * x

###
@description TODO
@function myFunc
@param {*} arg1 - TODO
@param {*} arg2 - TODO
@param {*} arg3 - TODO
@param {*} arg1 TODO
@param {*} arg2 TODO
@param {*} arg3 TODO
###
myFunc = (arg1, arg2, arg3) -> x * x

###
@description TODO
@function myFunc
@param {*} $arg1 - TODO
@param {*} $arg2 - TODO
@param {*} $arg3 - TODO
@param {*} $arg1 TODO
@param {*} $arg2 TODO
@param {*} $arg3 TODO
###
myFunc = ($arg1, $arg2, $arg3) => x * x

Expand Down
Loading

0 comments on commit 8a58aeb

Please sign in to comment.