From 48bf7d82c6e171fe09cfd87647271bf9247b8f0c Mon Sep 17 00:00:00 2001 From: codybuell Date: Fri, 19 Jan 2018 12:17:21 -0500 Subject: [PATCH 1/1] Initialize empty l:ext in case no ext opt set --- ftplugin/markdown.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/ftplugin/markdown.vim b/ftplugin/markdown.vim index be62835..1078f3d 100644 --- a/ftplugin/markdown.vim +++ b/ftplugin/markdown.vim @@ -599,6 +599,7 @@ if !exists('*s:EditUrlUnderCursor') endif endif if l:url != '' + let l:ext = '' if get(g:, 'vim_markdown_no_extensions_in_markdown', 0) " use another file extension if preferred if exists('g:vim_markdown_auto_extension_ext') -- 2.39.5