Pretty: Delete trailing space

This commit is contained in:
Tinmarino
2021-06-10 17:17:57 -04:00
parent 4cc6edf3eb
commit 7eb6fed581
6 changed files with 12 additions and 12 deletions
+2 -2
View File
@@ -125,7 +125,7 @@ function! s:template_full_name(name) abort
" Suffix Path by a / is not
let path = vimwiki#vars#get_wikilocal('template_path')
if strridx(path, '/') +1 != len(path)
if strridx(path, '/') +1 != len(path)
let path .= '/'
endif
@@ -1708,7 +1708,7 @@ function! vimwiki#html#CustomWiki2HTML(root_path, path, wikifile, force) abort
\ (len(vimwiki#vars#get_bufferlocal('subdir')) > 0 ?
\ s:shellescape(s:root_path(vimwiki#vars#get_bufferlocal('subdir'))) : '-'). ' '.
\ (len(vimwiki#vars#get_wikilocal('custom_wiki2html_args')) > 0 ?
\ vimwiki#vars#get_wikilocal('custom_wiki2html_args') : '-'))
\ vimwiki#vars#get_wikilocal('custom_wiki2html_args') : '-'))
" Print if non void
if output !~? '^\s*$'
call vimwiki#u#echo(string(output))
+2 -2
View File
@@ -1117,7 +1117,7 @@ function! s:remove_done_in_list(item, recursive) abort
if a:item.type == 0
return
endif
" Recurse self on list item
let first_item = s:get_first_item_in_list(a:item, 0)
let total_lines_removed = 0
@@ -1183,7 +1183,7 @@ function! vimwiki#lst#remove_done_in_range(first_line, last_line) abort
endif
let cur_ln = s:get_next_line(cur_ln)
endwhile
" Update all parent state (percentage of done)
for parent_item in parent_items_of_lines
call s:update_state(parent_item)
+4 -4
View File
@@ -213,9 +213,9 @@ function! s:internal_global_settings() abort
" Know internal schemes
let g:vimwiki_global_vars.schemes_web =
let g:vimwiki_global_vars.schemes_web =
\ join(vimwiki#vars#get_global('schemes_web'), '\|')
let g:vimwiki_global_vars.schemes_any =
let g:vimwiki_global_vars.schemes_any =
\ join(vimwiki#vars#get_global('schemes_any'), '\|')
let g:vimwiki_global_vars.schemes_local =
\ join(['wiki\d\+', 'diary', 'local'], '\|')
@@ -463,8 +463,8 @@ function! s:get_default_wikilocal() abort
" Must be coherent with VimwikiColorize
let fg = 'color\s*:\s*__COLORFG__\s*;\s*'
let bg = 'background\s*:\s*__COLORBG__\s*;\s*'
let color_tag_rx = '<span \s*style\s*=\s*"\s*\('
\ . fg . bg . '\|' . fg . '\|' . bg
let color_tag_rx = '<span \s*style\s*=\s*"\s*\('
\ . fg . bg . '\|' . fg . '\|' . bg
\ . '\)"\s*>__CONTENT__<\/span>'
return {
\ 'auto_diary_index': {'type': type(0), 'default': 0, 'min': 0, 'max': 1},