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/35b4fdadc4ac4c78b0d8fb3c604e3e25ed59b157?ds=inline;hp=-c Initialize editmethod variable --- 35b4fdadc4ac4c78b0d8fb3c604e3e25ed59b157 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'