Skip to content

Commit

Permalink
add alternative method of configuring mkdx that allows resourcing vim…
Browse files Browse the repository at this point in the history
…rc file without losing settings (#151)
  • Loading branch information
SidOfc committed May 21, 2021
1 parent 84c9a59 commit b45099a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions plugin/mkdx.vim
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,7 @@ if (!exists('g:mkdx#settings_initialized'))
let g:mkdx#settings_initialized = 1
call mkdx#guard_settings()
endif

function mkdx#configure(...)
let g:mkdx#settings = mkdx#MergeSettings(s:defaults, get(a:000, 0, {}))
endfunction

0 comments on commit b45099a

Please sign in to comment.