{"action":"created","issue":{"url":"https://api.github.com/repos/severin-lemaignan/vim-minimap/issues/42","repository_url":"https://api.github.com/repos/severin-lemaignan/vim-minimap","labels_url":"https://api.github.com/repos/severin-lemaignan/vim-minimap/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/severin-lemaignan/vim-minimap/issues/42/comments","events_url":"https://api.github.com/repos/severin-lemaignan/vim-minimap/issues/42/events","html_url":"https://github.com/severin-lemaignan/vim-minimap/issues/42","id":154981523,"number":42,"title":"vim.error when executing :Minimap in nvim/vim","user":{"login":"fredrikaverpil","id":994357,"avatar_url":"https://avatars.githubusercontent.com/u/994357?v=3","gravatar_id":"","url":"https://api.github.com/users/fredrikaverpil","html_url":"https://github.com/fredrikaverpil","followers_url":"https://api.github.com/users/fredrikaverpil/followers","following_url":"https://api.github.com/users/fredrikaverpil/following{/other_user}","gists_url":"https://api.github.com/users/fredrikaverpil/gists{/gist_id}","starred_url":"https://api.github.com/users/fredrikaverpil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fredrikaverpil/subscriptions","organizations_url":"https://api.github.com/users/fredrikaverpil/orgs","repos_url":"https://api.github.com/users/fredrikaverpil/repos","events_url":"https://api.github.com/users/fredrikaverpil/events{/privacy}","received_events_url":"https://api.github.com/users/fredrikaverpil/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-16T08:13:55Z","updated_at":"2016-05-17T19:14:53Z","closed_at":null,"body":"I've installed minimap, and it shows the following in neovim, when executing `:Minimap`:\r\n```\r\nError detected while processing function minimap#UpdateMinimap:\r\nline    2:\r\nTraceback (most recent call last):\r\n  File \"<string>\", line 1, in <module>\r\n  File \"/Users/fredrik/.config/nvim/plugged/vim-minimap/autoload/minimap.py\", line 177, in updateminimap\r\n    vim.command(\"match \" + highlight_group + \" /\\%>0v\\%<{}v\\%>{}l\\%<{}l./\".format(WIDTH + 1, top, bottom))\r\nvim.error: Vim(match):E867: (NFA) Unknown operator '\\%.'\r\n```\r\n\r\nI get a different error in vim:\r\n\r\n```\r\nError detected while processing function minimap#ShowMinimap:\r\nline    2:\r\nTraceback (most recent call last):\r\n  File \"<string>\", line 1, in <module>\r\n  File \"/Users/fredrik/.config/nvim/plugged/vim-minimap/autoload/minimap.py\", line 97, in showminima\r\np\r\n    vim.command(\":call minimap#UpdateMinimap()\")\r\nvim.error: Vim(python):Traceback (most recent call last):\r\n```\r\n\r\nBoth these errors can be seen here:\r\n[![asciicast](https://asciinema.org/a/02edrcalohhws9axqpgzcnxhz.png)](https://asciinema.org/a/02edrcalohhws9axqpgzcnxhz)\r\n\r\nI'm on OS X 10.10.4.\r\n\r\n```\r\n$ nvim --version\r\n\r\nNVIM 0.1.4\r\nBuild type: RelWithDebInfo\r\nCompilation: /usr/local/Library/ENV/4.3/clang -Wconversion -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DDISABLE_LOG -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wvla -fstack-protector-strong -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -DHAVE_CONFIG_H -I/tmp/neovim-20160515-56895-2xlxxv/neovim-0.1.4/build/config -I/tmp/neovim-20160515-56895-2xlxxv/neovim-0.1.4/src -I/tmp/neovim-20160515-56895-2xlxxv/neovim-0.1.4/deps-build/usr/include -I/tmp/neovim-20160515-56895-2xlxxv/neovim-0.1.4/deps-build/usr/include -I/tmp/neovim-20160515-56895-2xlxxv/neovim-0.1.4/deps-build/usr/include/luajit-2.0 -I/tmp/neovim-20160515-56895-2xlxxv/neovim-0.1.4/deps-build/usr/include -I/tmp/neovim-20160515-56895-2xlxxv/neovim-0.1.4/deps-build/usr/include -I/tmp/neovim-20160515-56895-2xlxxv/neovim-0.1.4/deps-build/usr/include -I/tmp/neovim-20160515-56895-2xlxxv/neovim-0.1.4/deps-build/usr/include -I/usr/local/opt/gettext/include -I/usr/include -I/usr/include -I/tmp/neovim-20160515-56895-2xlxxv/neovim-0.1.4/build/src/nvim/auto -I/tmp/neovim-20160515-56895-2xlxxv/neovim-0.1.4/build/include\r\nCompiled by fredrik@averpil.local\r\n\r\nOptional features included (+) or not (-): +acl   +iconv    +jemalloc\r\nFor differences from Vim, see :help vim-differences\r\n\r\n   system vimrc file: \"$VIM/sysinit.vim\"\r\n  fall-back for $VIM: \"/usr/local/Cellar/neovim/0.1.4/share/nvim\"\r\n```\r\n\r\n```\r\n$ vim --version\r\n\r\nVIM - Vi IMproved 7.4 (2013 Aug 10, compiled Jan 26 2016 14:23:49)\r\nMacOS X (unix) version\r\nIncluded patches: 1-1063\r\nCompiled by Homebrew\r\nHuge version without GUI.  Features included (+) or not (-):\r\n+acl             +farsi           +mouse_netterm   +syntax\r\n+arabic          +file_in_path    +mouse_sgr       +tag_binary\r\n+autocmd         +find_in_path    -mouse_sysmouse  +tag_old_static\r\n-balloon_eval    +float           +mouse_urxvt     -tag_any_white\r\n-browse          +folding         +mouse_xterm     -tcl\r\n++builtin_terms  -footer          +multi_byte      +terminfo\r\n+byte_offset     +fork()          +multi_lang      +termresponse\r\n+cindent         -gettext         -mzscheme        +textobjects\r\n-clientserver    -hangul_input    +netbeans_intg   +title\r\n+clipboard       +iconv           +path_extra      -toolbar\r\n+cmdline_compl   +insert_expand   +perl            +user_commands\r\n+cmdline_hist    +jumplist        +persistent_undo +vertsplit\r\n+cmdline_info    +keymap          +postscript      +virtualedit\r\n+comments        +langmap         +printer         +visual\r\n+conceal         +libcall         +profile         +visualextra\r\n+cryptv          +linebreak       +python          +viminfo\r\n+cscope          +lispindent      -python3         +vreplace\r\n+cursorbind      +listcmds        +quickfix        +wildignore\r\n+cursorshape     +localmap        +reltime         +wildmenu\r\n+dialog_con      -lua             +rightleft       +windows\r\n+diff            +menu            +ruby            +writebackup\r\n+digraphs        +mksession       +scrollbind      -X11\r\n-dnd             +modify_fname    +signs           -xfontset\r\n-ebcdic          +mouse           +smartindent     -xim\r\n+emacs_tags      -mouseshape      -sniff           -xsmp\r\n+eval            +mouse_dec       +startuptime     -xterm_clipboard\r\n+ex_extra        -mouse_gpm       +statusline      -xterm_save\r\n+extra_search    -mouse_jsbterm   -sun_workshop    -xpm\r\n   system vimrc file: \"$VIM/vimrc\"\r\n     user vimrc file: \"$HOME/.vimrc\"\r\n 2nd user vimrc file: \"~/.vim/vimrc\"\r\n      user exrc file: \"$HOME/.exrc\"\r\n  fall-back for $VIM: \"/usr/local/share/vim\"\r\nCompilation: /usr/bin/clang -c -I. -Iproto -DHAVE_CONFIG_H   -F/usr/local/Frameworks -DMACOS_X_UNIX  -Os -w -pipe -march=native -mmacosx-version-min=10.11 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1\r\nLinking: /usr/bin/clang   -L. -L/usr/local/lib -L/usr/local/lib -F/usr/local/Frameworks -Wl,-headerpad_max_install_names -o vim        -lm  -lncurses -liconv -framework Cocoa   -fstack-protector  -L/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE -lperl -F/usr/local/Cellar/python/2.7.10_2/Frameworks -framework Python   -lruby.2.0.0 -lobjc\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/severin-lemaignan/vim-minimap/issues/comments/219823469","html_url":"https://github.com/severin-lemaignan/vim-minimap/issues/42#issuecomment-219823469","issue_url":"https://api.github.com/repos/severin-lemaignan/vim-minimap/issues/42","id":219823469,"user":{"login":"micahjsmith","id":5473606,"avatar_url":"https://avatars.githubusercontent.com/u/5473606?v=3","gravatar_id":"","url":"https://api.github.com/users/micahjsmith","html_url":"https://github.com/micahjsmith","followers_url":"https://api.github.com/users/micahjsmith/followers","following_url":"https://api.github.com/users/micahjsmith/following{/other_user}","gists_url":"https://api.github.com/users/micahjsmith/gists{/gist_id}","starred_url":"https://api.github.com/users/micahjsmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/micahjsmith/subscriptions","organizations_url":"https://api.github.com/users/micahjsmith/orgs","repos_url":"https://api.github.com/users/micahjsmith/repos","events_url":"https://api.github.com/users/micahjsmith/events{/privacy}","received_events_url":"https://api.github.com/users/micahjsmith/received_events","type":"User","site_admin":false},"created_at":"2016-05-17T19:14:53Z","updated_at":"2016-05-17T19:14:53Z","body":"I had the exact same issue. I'm guessing you're also using Python 2.6... the fix suggested in #41 worked for me."}}