Skip to content
This repository has been archived by the owner on Oct 6, 2024. It is now read-only.

Possibly not working on Vim 8.0 #33

Open
coaxial opened this issue Jun 17, 2020 · 3 comments
Open

Possibly not working on Vim 8.0 #33

coaxial opened this issue Jun 17, 2020 · 3 comments
Assignees
Labels
bug Something isn't working properly

Comments

@coaxial
Copy link

coaxial commented Jun 17, 2020

I have added the plugin with vim-plug as per the instructions, installed it, and went about editing a markdown file moving naively (jjjjjjjjjwwwww) to see the plugin work.

But nothing happened. I have python3 and timers (:echo has('python3') and :echo ('timers') both return 1), and the :PathfinderBegin and :PathfinderRun commands are set but if I run them, nothing happens either.

This is my .vimrc: https://github.com/coaxial/dotfiles/blob/vim-mov/.vimrc#L147-L151

and this is my vim version:

$ vim --version
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Mar 18 2020 18:29:15)
Included patches: 1-1453
Modified by [email protected]
Compiled by [email protected]
Huge version without GUI.  Features included (+) or not (-):
+acl               +farsi             +mouse_sgr         -tag_any_white
+arabic            +file_in_path      -mouse_sysmouse    -tcl
+autocmd           +find_in_path      +mouse_urxvt       +termguicolors
-autoservername    +float             +mouse_xterm       +terminal
-balloon_eval      +folding           +multi_byte        +terminfo
+balloon_eval_term -footer            +multi_lang        +termresponse
-browse            +fork()            -mzscheme          +textobjects
++builtin_terms    +gettext           +netbeans_intg     +timers
+byte_offset       -hangul_input      +num64             +title
+channel           +iconv             +packages          -toolbar
+cindent           +insert_expand     +path_extra        +user_commands
-clientserver      +job               -perl              +vertsplit
-clipboard         +jumplist          +persistent_undo   +virtualedit
+cmdline_compl     +keymap            +postscript        +visual
+cmdline_hist      +lambda            +printer           +visualextra
+cmdline_info      +langmap           +profile           +viminfo
+comments          +libcall           -python            +vreplace
+conceal           +linebreak         +python3           +wildignore
+cryptv            +lispindent        +quickfix          +wildmenu
+cscope            +listcmds          +reltime           +windows
+cursorbind        +localmap          +rightleft         +writebackup
+cursorshape       -lua               -ruby              -X11
+dialog_con        +menu              +scrollbind        -xfontset
+diff              +mksession         +signs             -xim
+digraphs          +modify_fname      +smartindent       -xpm
-dnd               +mouse             +startuptime       -xsmp
-ebcdic            -mouseshape        +statusline        -xterm_clipboard
+emacs_tags        +mouse_dec         -sun_workshop      -xterm_save
+eval              +mouse_gpm         +syntax            
+ex_extra          -mouse_jsbterm     +tag_binary        
+extra_search      +mouse_netterm     +tag_old_static    
   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/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/build/vim-dfCUyu/vim-8.0.1453=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       
Linking: gcc   -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o vim        -lm -ltinfo -lnsl  -lselinux  -lacl -lattr -lgpm -ldl     -L/usr/lib/python3.6/config-3.6m-x86_64-linux-gnu -lpython3.6m -lpthread -ldl -lutil -lm
@danth
Copy link
Owner

danth commented Jun 17, 2020

Since you don't have Vim 8.2, the suggestions should appear in the echo area at the bottom of the screen rather than as a popup.

However the plugin only starts working when Vim first loads:

https://github.com/AlphaMycelium/pathfinder.vim/blob/4f45d9480aa5ae45726aefde4aaebd587fa4c3a0/plugin/main.vim#L43-L46

Even when using manual commands, that loop function must be running in order to fetch the results from the server process. It's probably a good idea to make it start after installation too, will do that soon.

Do you still get this problem after a relaunch?

@danth danth self-assigned this Jun 17, 2020
@danth danth added the bug Something isn't working properly label Jun 17, 2020
@coaxial
Copy link
Author

coaxial commented Jun 19, 2020

Thanks. I updated to 8.2 and I now see the popup. I think I had restarted vim and didn't see the suggestions on 8.0 but I'm not certain that I had restarted vim.

@danth
Copy link
Owner

danth commented Jun 19, 2020

I opened #36 about starting after install. I'll leave this issue open until it is confirmed whether the plugin works on 8.0 or not.

@danth danth changed the title The plugin doesn't do anything on my configuration Possibly not working on Vim 8.0 Jun 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working properly
Projects
None yet
Development

No branches or pull requests

2 participants