From: codybuell Date: Fri, 27 Apr 2018 18:41:12 +0000 (-0400) Subject: Initialize editmethod variable X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/30e0b6ad91d883a84f0cc40710fdc937ee747d5b?ds=sidebyside;hp=--cc Initialize editmethod variable --- 30e0b6ad91d883a84f0cc40710fdc937ee747d5b diff --git a/ftplugin/markdown.vim b/ftplugin/markdown.vim index d9efd3c..68d1d3d 100644 --- a/ftplugin/markdown.vim +++ b/ftplugin/markdown.vim @@ -609,6 +609,7 @@ if !exists('*s:EditUrlUnderCursor') endif endif let l:url = fnameescape(fnamemodify(expand('%:h').'/'.l:url.l:ext, ':.')) + let l:editmethod = '' " determine how to open the linked file (split, tab, etc) if exists('g:vim_markdown_edit_url_in') if g:vim_markdown_edit_url_in == 'tab'