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?hp=9ee2d595523917ec1c00140afe57e1c0d2200272 Initialize editmethod variable --- 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'