Skip to content

Commit

Permalink
fix: adjust python errors; adjust package.json and tsconfig to use bu…
Browse files Browse the repository at this point in the history
…ild/ instead of dist/
  • Loading branch information
kkoomen committed Feb 16, 2021
1 parent 7ec480c commit e0f29d4
Show file tree
Hide file tree
Showing 5 changed files with 12,370 additions and 47 deletions.
26 changes: 13 additions & 13 deletions autoload/doge/pattern.vim
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ function! doge#pattern#custom(name) abort
call add(l:doc, "let b:doge_patterns = get(b:, 'doge_patterns', {})")
call add(l:doc, "let b:doge_supported_doc_standards = get(b:, 'doge_supported_doc_standards', [])")
call add(l:doc, "if index(b:doge_supported_doc_standards, '" . l:name . "') < 0")
call add(l:doc, "call add(b:doge_supported_doc_standards, '" . l:name . "')")
call add(l:doc, " call add(b:doge_supported_doc_standards, '" . l:name . "')")
call add(l:doc, 'endif')
call add(l:doc, '')
if l:unsupported_filetype
Expand All @@ -229,23 +229,23 @@ function! doge#pattern#custom(name) abort
call add(l:doc, '')
call add(l:doc, '" Ensure we do not overwrite an existing doc standard.')
call add(l:doc, "if !has_key(b:doge_patterns, '" . l:name . "')")
call add(l:doc, "let b:doge_patterns['" . l:name . "'] = [")
call add(l:doc, "\\ {")
call add(l:doc, "\\ 'nodeTypes': ['NODE_TYPE_A', 'NODE_TYPE_B'],")
call add(l:doc, "\\ 'parameters': {")
call add(l:doc, "\\ 'format': '@param {name} !description',")
call add(l:doc, "\\ },")
call add(l:doc, "\\ 'template': [")
call add(l:doc, " let b:doge_patterns['" . l:name . "'] = [")
call add(l:doc, " \\ {")
call add(l:doc, " \\ 'nodeTypes': ['NODE_TYPE_A', 'NODE_TYPE_B'],")
call add(l:doc, " \\ 'parameters': {")
call add(l:doc, " \\ 'format': '@param {name} !description',")
call add(l:doc, " \\ },")
call add(l:doc, " \\ 'template': [")
for l:line in l:template.template
call add(l:doc, '\ ' . string(l:line) . ',')
call add(l:doc, ' \ ' . string(l:line) . ',')
endfor
call add(l:doc, '\ ],')
call add(l:doc, '\ },')
call add(l:doc, '\]')
call add(l:doc, ' \ ],')
call add(l:doc, ' \ },')
call add(l:doc, ' \]')
call add(l:doc, 'endif')
call setreg('"', l:doc)
1
call execute("normal! \"\"P'[=']Gdipgg", 'silent!')
call execute("normal! \"\"PGdd", 'silent!')
endfunction

let &cpoptions = s:save_cpo
Expand Down
Loading

0 comments on commit e0f29d4

Please sign in to comment.