-
Notifications
You must be signed in to change notification settings - Fork 89
Description
This plugin was working great until I updated my Vim install (new install is with brew, version deets below, I don't remember what version/install method the old install was). Now when I invoke the plugin with <leader>p, it asks for a filename, but once I enter one and hit Enter, nothing (visible) happens. The directory for the image is created, but no image is saved into that directory, and nothing shows up in the file I'm editing. I confirm I have image data in the clipboard because I can copy it into other applications.
It's possible some other stuff changed on my system between the last time I used this plugin and today also, perhaps a Mac update.
Let me know how I can debug this further, thanks!
Here's the relevant part of the vimrc (not including the Vundle stuff):
autocmd FileType markdown nmap <buffer><silent> <leader>p :call mdip#MarkdownClipboardImage()<CR>
And my vim version:
VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Mar 8 2021 03:27:03)
macOS version - x86_64
Included patches: 1-2575
Compiled by Homebrew
Huge version without GUI. Features included (+) or not (-):
+acl +cmdline_hist +ex_extra +jumplist +mouse_dec +perl -sound +textprop +writebackup
+arabic +cmdline_info +extra_search +keymap -mouse_gpm +persistent_undo +spell +timers -X11
+autocmd +comments -farsi +lambda -mouse_jsbterm +popupwin +startuptime +title -xfontset
+autochdir +conceal +file_in_path +langmap +mouse_netterm +postscript +statusline -toolbar -xim
-autoservername +cryptv +find_in_path +libcall +mouse_sgr +printer -sun_workshop +user_commands -xpm
-balloon_eval +cscope +float +linebreak -mouse_sysmouse +profile +syntax +vartabs -xsmp
+balloon_eval_term +cursorbind +folding +lispindent +mouse_urxvt -python +tag_binary +vertsplit -xterm_clipboard
-browse +cursorshape -footer +listcmds +mouse_xterm +python3 -tag_old_static +virtualedit -xterm_save
++builtin_terms +dialog_con +fork() +localmap +multi_byte +quickfix -tag_any_white +visual
+byte_offset +diff +gettext +lua +multi_lang +reltime -tcl +visualextra
+channel +digraphs -hangul_input +menu -mzscheme +rightleft +termguicolors +viminfo
+cindent -dnd +iconv +mksession +netbeans_intg +ruby +terminal +vreplace
-clientserver -ebcdic +insert_expand +modify_fname +num64 +scrollbind +terminfo +wildignore
+clipboard +emacs_tags +ipv6 +mouse +packages +signs +termresponse +wildmenu
+cmdline_compl +eval +job -mouseshape +path_extra +smartindent +textobjects +windows
system vimrc file: "$VIM/vimrc"
user vimrc file: "$HOME/.vimrc"
2nd user vimrc file: "~/.vim/vimrc"
user exrc file: "$HOME/.exrc"
defaults file: "$VIMRUNTIME/defaults.vim"
fall-back for $VIM: "/usr/local/share/vim"
Compilation: clang -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X -DMACOS_X_DARWIN -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: clang -L. -fstack-protector-strong -L/usr/local/lib -L/usr/local/opt/libyaml/lib -L/usr/local/opt/[email protected]/lib -L/usr/local/opt/readline/lib -L/usr/local/lib -o vim -
lm -lncurses -liconv -lintl -framework AppKit -L/usr/local/opt/lua/lib -llua5.4 -mmacosx-version-min=11.2 -fstack-protector-strong -L/usr/local/lib -L/usr/local/Cellar/perl/5.32.
1_1/lib/perl5/5.32.1/darwin-thread-multi-2level/CORE -lperl -L/usr/local/opt/[email protected]/Frameworks/Python.framework/Versions/3.9/lib/python3.9/config-3.9-darwin -lpython3.9 -fram
ework CoreFoundation -lruby.3.0 -L/usr/local/Cellar/ruby/3.0.0_1/lib