Xuyuanp / nerdtree-git-plugin

A plugin of NERDTree showing git status
Do What The F*ck You Want To Public License
2.08k stars 150 forks source link

not working with vim 8.1 #121

Closed laoshaw closed 4 years ago

laoshaw commented 5 years ago

I use plug to install the newest nerdtree and nerdtree-git-plugin, open a file within a clean git repo, made some changes, there is nothing shown up on nerdtree's pane, running linux with vim 8.1

VIM - Vi IMproved 8.1 (2018 May 18, compiled May 27 2019 13:46:23) Included patches: 1-1408

jayakornk commented 5 years ago

Doesn't work on Neovim as well!

NVIM v0.3.7 Build type: Release

laoshaw commented 5 years ago

strangely after using a different ubuntu 18.04 it started working, same vim version

windy commented 5 years ago

+1 vim8.1 not work

Xuyuanp commented 5 years ago

vim

VIM - Vi IMproved 8.1 (2018 May 18, compiled Jun  9 2019 07:22:39)
macOS version
Included patches: 1-1500
Compiled by Homebrew

neovim

NVIM v0.4.0-1015-gbabcf641e

it's still working

felixcrazzolara commented 4 years ago

For me too this works with 8.1. Vim compiled from source. image

weizhou-chaojixx commented 4 years ago

+1 vim8.1 not work

newgoliath commented 4 years ago

Doesn't work:

:version
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled May 11 2018 15:17:01)
Included patches: 1-1813
Modified by <bugzilla@redhat.com>
Compiled by <bugzilla@redhat.com>
Huge version without GUI.  Features included (+) or not (-):
+acl               +cryptv            -footer            +mksession         +path_extra        +syntax            +viminfo
+arabic            +cscope            +fork()            +modify_fname      +perl/dyn          +tag_binary        +vreplace
+autocmd           +cursorbind        +gettext           +mouse             +persistent_undo   +tag_old_static    +wildignore
-autoservername    +cursorshape       -hangul_input      -mouseshape        +postscript        -tag_any_white     +wildmenu
-balloon_eval      +dialog_con        +iconv             +mouse_dec         +printer           -tcl               +windows
+balloon_eval_term +diff              +insert_expand     +mouse_gpm         +profile           +termguicolors     +writebackup
-browse            +digraphs          +job               -mouse_jsbterm     +python/dyn        +terminal          -X11
++builtin_terms    -dnd               +jumplist          +mouse_netterm     -python3           +terminfo          -xfontset
+byte_offset       -ebcdic            +keymap            +mouse_sgr         +quickfix          +termresponse      -xim
+channel           +emacs_tags        +lambda            -mouse_sysmouse    +reltime           +textobjects       -xpm
+cindent           +eval              +langmap           +mouse_urxvt       +rightleft         +timers            -xsmp
-clientserver      +ex_extra          +libcall           +mouse_xterm       +ruby/dyn          +title             -xterm_clipboard
-clipboard         +extra_search      +linebreak         +multi_byte        +scrollbind        -toolbar           -xterm_save
+cmdline_compl     +farsi             +lispindent        +multi_lang        +signs             +user_commands
+cmdline_hist      +file_in_path      +listcmds          -mzscheme          +smartindent       +vertsplit
+cmdline_info      +find_in_path      +localmap          +netbeans_intg     +startuptime       +virtualedit
+comments          +float             +lua/dyn           +num64             +statusline        +visual
+conceal           +folding           +menu              +packages          -sun_workshop      +visualextra
   system vimrc file: "/etc/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: "/etc"
 f-b for $VIMRUNTIME: "/usr/share/vim/vim80"
Compilation: gcc -std=gnu99 -c -I. -Iproto -DHAVE_CONFIG_H     -O2 -g -pipe -Wall -fexceptions -fstack-protector-strong --param=ssp-bu
ffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1

Linking: gcc -std=gnu99   -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,--enable-new-dtags -Wl,-rpath,/usr/lib6
4/perl5/CORE  -Wl,-z,relro  -L/usr/local/lib -Wl,--as-needed -o vim        -lm -lnsl  -lselinux  -lncurses -lacl -lattr -lgpm -ldl   -
Wl,--enable-new-dtags -Wl,-rpath,/usr/lib64/perl5/CORE  -fstack-protector  -L/usr/lib64/perl5/CORE -lperl -lresolv -lnsl -ldl -lm -lcr
ypt -lutil -lpthread -lc
Press ENTER or type command to continue
HelloIK commented 4 years ago

Doesn't work neither.

VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Dec 22 2019 14:18:30)
Included patches: 1-29
Compiled by root@VM_0_11_centos
Huge version without GUI.  Features included (+) or not (-):
+acl               -dnd               +localmap          +printer           +textprop
+arabic            -ebcdic            -lua               +profile           +timers
+autocmd           +emacs_tags        +menu              +python            +title
+autochdir         +eval              +mksession         -python3           -toolbar
-autoservername    +ex_extra          +modify_fname      +quickfix          +user_commands
-balloon_eval      +extra_search      +mouse             +reltime           +vartabs
+balloon_eval_term -farsi             -mouseshape        +rightleft         +vertsplit
-browse            +file_in_path      +mouse_dec         -ruby              +virtualedit
++builtin_terms    +find_in_path      -mouse_gpm         +scrollbind        +visual
+byte_offset       +float             -mouse_jsbterm     +signs             +visualextra
+channel           +folding           +mouse_netterm     +smartindent       +viminfo
+cindent           -footer            +mouse_sgr         -sound             +vreplace
-clientserver      +fork()            -mouse_sysmouse    +spell             +wildignore
-clipboard         +gettext           +mouse_urxvt       +startuptime       +wildmenu
+cmdline_compl     -hangul_input      +mouse_xterm       +statusline        +windows
+cmdline_hist      +iconv             +multi_byte        -sun_workshop      +writebackup
+cmdline_info      +insert_expand     +multi_lang        +syntax            -X11
+comments          +job               -mzscheme          +tag_binary        -xfontset
+conceal           +jumplist          +netbeans_intg     -tag_old_static    -xim
+cryptv            +keymap            +num64             -tag_any_white     -xpm
+cscope            +lambda            +packages          -tcl               -xsmp
+cursorbind        +langmap           +path_extra        +termguicolors     -xterm_clipboard
+cursorshape       +libcall           +perl              +terminal          -xterm_save
+dialog_con        +linebreak         +persistent_undo   +terminfo
+diff              +lispindent        +popupwin          +termresponse
+digraphs          +listcmds          +postscript        +textobjects
   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: gcc -std=gnu99 -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_
SOURCE=1
Linking: gcc -std=gnu99   -Wl,--enable-new-dtags -Wl,-rpath,/usr/lib64/perl5/CORE   -L/usr/local/li
b -Wl,--as-needed -o vim        -lm -ltinfo -lnsl  -lselinux  -ldl   -Wl,--enable-new-dtags -Wl,-rp
ath,/usr/lib64/perl5/CORE  -fstack-protector  -L/usr/lib64/perl5/CORE -lperl -lresolv -lnsl -ldl -l
m -lcrypt -lutil -lpthread -lc -L/usr/lib64/python2.7/config -lpython2.7 -lpthread -ldl -lutil -lm
-Xlinker -export-dynamic
stucash commented 4 years ago

not working with latest vim as of today, i.e. vim 8.2.187

VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Jan 31 2020 20:33:50)
Included patches: 1-187
Compiled by demo@mx1
Huge version with GTK2 GUI.  Features included (+) or not (-):
+acl               -farsi             -mouse_sysmouse    -tag_old_static
+arabic            +file_in_path      +mouse_urxvt       -tag_any_white
+autocmd           +find_in_path      +mouse_xterm       -tcl
+autochdir         +float             +multi_byte        +termguicolors
-autoservername    +folding           +multi_lang        +terminal
+balloon_eval      -footer            -mzscheme          +terminfo
+balloon_eval_term +fork()            +netbeans_intg     +termresponse
+browse            +gettext           +num64             +textobjects
++builtin_terms    -hangul_input      +packages          +textprop
+byte_offset       +iconv             +path_extra        +timers
+channel           +insert_expand     +perl              +title
+cindent           +job               +persistent_undo   +toolbar
+clientserver      +jumplist          +popupwin          +user_commands
+clipboard         +keymap            +postscript        +vartabs
+cmdline_compl     +lambda            +printer           +vertsplit
+cmdline_hist      +langmap           +profile           +virtualedit
+cmdline_info      +libcall           +python/dyn        +visual
+comments          +linebreak         +python3/dyn       +visualextra
+conceal           +lispindent        +quickfix          +viminfo
+cryptv            +listcmds          +reltime           +vreplace
+cscope            +localmap          +rightleft         +wildignore
+cursorbind        +lua               +ruby              +wildmenu
+cursorshape       +menu              +scrollbind        +windows
+dialog_con_gui    +mksession         +signs             +writebackup
+diff              +modify_fname      +smartindent       +X11
+digraphs          +mouse             -sound             -xfontset
+dnd               +mouseshape        +spell             +xim
-ebcdic            +mouse_dec         +startuptime       +xpm
+emacs_tags        -mouse_gpm         +statusline        +xsmp_interact
+eval              -mouse_jsbterm     -sun_workshop      +xterm_clipboard
+ex_extra          +mouse_netterm     +syntax            -xterm_save
+extra_search      +mouse_sgr         +tag_binary        
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"
      user exrc file: "$HOME/.exrc"
  system gvimrc file: "$VIM/gvimrc"
    user gvimrc file: "$HOME/.gvimrc"
2nd user gvimrc file: "~/.vim/gvimrc"
       defaults file: "$VIMRUNTIME/defaults.vim"
    system menu file: "$VIMRUNTIME/menu.vim"
  fall-back for $VIM: "/usr/local/share/vim"
 f-b for $VIMRUNTIME: "/usr/local/share/vim/vim82"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16   -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       
Linking: gcc   -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-E   -L/usr/local/lib -Wl,--as-needed -o vim   -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype -lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM -lICE  -lm -ltinfo -lelf -lnsl  -lselinux   -ldl  -L/usr/lib -llua5.1 -Wl,-E  -fstack-protector-strong -L/usr/local/lib  -L/usr/lib/x86_64-linux-gnu/perl/5.28/CORE -lperl -ldl -lm -lpthread -lcrypt    -lruby-2.5 -lpthread -lgmp -ldl -lcrypt -lm  
xuoutput commented 4 years ago

https://github.com/Xuyuanp/nerdtree-git-plugin/issues/70#issuecomment-269161631 Try to enter your project directory.

stucash commented 4 years ago

#70 (comment) Try to enter your project directory.

Tried and to no avail. I literally did as NerdTree asked, "cd" to my CWD and my CWD has changes. Nothing shown.

haroldduan commented 4 years ago

+1 vim8.2 not work ArchLinux

VIM - Vi IMproved 8.2 (2019 Dec 12, compiled May 23 2020 22:02:57) Included patches: 1-814 Compiled by Arch Linux Huge version with GTK3 GUI. Features included (+) or not (-): +acl -farsi +mouse_sgr +tag_binary +arabic +file_in_path -mouse_sysmouse -tag_old_static +autocmd +find_in_path +mouse_urxvt -tag_any_white +autochdir +float +mouse_xterm +tcl/dyn -autoservername +folding +multi_byte +termguicolors +balloon_eval -footer +multi_lang +terminal +balloon_eval_term +fork() -mzscheme +terminfo +browse +gettext +netbeans_intg +termresponse ++builtin_terms -hangul_input +num64 +textobjects +byte_offset +iconv +packages +textprop +channel +insert_expand +path_extra +timers +cindent +ipv6 +perl/dyn +title +clientserver +job +persistent_undo +toolbar +clipboard +jumplist +popupwin +user_commands +cmdline_compl +keymap +postscript +vartabs +cmdline_hist +lambda +printer +vertsplit +cmdline_info +langmap +profile +virtualedit +comments +libcall +python/dyn +visual +conceal +linebreak +python3/dyn +visualextra +cryptv +lispindent +quickfix +viminfo +cscope +listcmds +reltime +vreplace +cursorbind +localmap +rightleft +wildignore +cursorshape +lua/dyn +ruby/dyn +wildmenu +dialog_con_gui +menu +scrollbind +windows +diff +mksession +signs +writebackup +digraphs +modify_fname +smartindent +X11 +dnd +mouse +sound -xfontset -ebcdic +mouseshape +spell +xim +emacs_tags +mouse_dec +startuptime -xpm +eval +mouse_gpm +statusline +xsmp_interact +ex_extra -mouse_jsbterm -sun_workshop +xterm_clipboard +extra_search +mouse_netterm +syntax -xterm_save system vimrc file: "/etc/vimrc" user vimrc file: "$HOME/.vimrc" 2nd user vimrc file: "~/.vim/vimrc" user exrc file: "$HOME/.exrc" system gvimrc file: "/etc/gvimrc" user gvimrc file: "$HOME/.gvimrc" 2nd user gvimrc file: "~/.vim/gvimrc" defaults file: "$VIMRUNTIME/defaults.vim"

Xuyuanp commented 4 years ago

mac neovim-0.4.3 vim-8.1 vim-8.2 ubunut neovim-0.4.3 vim-8.1 vim-8.2

works well under these envs just now.

could you please provide your git's version and vim plugins installed?

AeonFr commented 4 years ago

Not working for me

VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Apr 12 2020 00:47:07)
macOS version
Included patches: 1-539
Compiled by travis@Traviss-Mac.local

Git

git version 2.24.3 (Apple Git-128)

Plugins

Plugin 'VundleVim/Vundle.vim'
   7 Plugin 'tpope/vim-fugitive'
   8 Plugin 'scrooloose/syntastic'
   9 Plugin 'airblade/vim-gitgutter'
  10 Plugin 'vim-airline/vim-airline'
  11 Plugin 'scrooloose/nerdcommenter'
  12 Plugin 'vim-airline/vim-airline-themes'
  13 Plugin 'altercation/vim-colors-solarized'
  14 Plugin 'jparise/vim-graphql'
  15 " Plugin 'chriskempson/base16-vim'
  16 Plugin 'connorholyday/vim-snazzy'
  17 Plugin 'dense-analysis/ale'
  18 Plugin 'morhetz/gruvbox'
  19 Plugin 'ciaranm/detectindent'
  20 Plugin 'jxnblk/vim-mdx-js'
  21 Plugin 'preservim/nerdtree'
  22 Plugin 'Xuyuanp/nerdtree-git-plugin'
Xuyuanp commented 4 years ago

@AeonFr please ensure both of nerdtree and nerdtree-git-plugin are all uptodate, then

AeonFr commented 4 years ago

I basically removed unnecessary plugins, reorganized their names and updated them all (:PluginUpdate & :PluginClean) and now it's working. I'm not sure what was happening but maybe some version conflict or something like that. (I hadn't run a PluginClean in a while)

This is my .vimrc file now

 call vundle#begin()
 plugin 'vundlevim/vundle.vim'

 " ui
 plugin 'preservim/nerdtree'
 plugin 'xuyuanp/nerdtree-git-plugin'
 plugin 'jistr/vim-nerdtree-tabs'
 plugin 'airblade/vim-gitgutter'
 plugin 'vim-airline/vim-airline'
 plugin 'morhetz/gruvbox'

 " editor
 plugin 'dense-analysis/ale'
 plugin 'scrooloose/nerdcommenter'
 plugin 'ciaranm/detectindent'

 " filetypes
 plugin 'jxnblk/vim-mdx-js'
 plugin 'jparise/vim-graphql'
 call vundle#end()
Xuyuanp commented 4 years ago

Good

Dzordzu commented 4 years ago

Issue

Not working image

Git

git version 2.28.0

Plugins

- vim-polyglot: OK
- vim-devicons: OK
- vim-grammarous: OK
- lightline.vim: OK
- tender.vim: OK
- vim-snippets: OK
- vim-tmux: OK
- clang_complete: OK
- syntastic: OK
- vim-projectroot: OK
- vim-autoformat: OK
- ctrlp.vim: OK
- vim-scala: OK
- vim-markdown: OK
- scss-syntax.vim: OK
- YouCompleteMe: OK
- vim-puppet: OK
- vim-toml: OK
- vim-arduino: OK
- goyo.vim: OK
- vim-instant-markdown: OK
- vim-yaml-folds: OK
- gruvbox: OK
- vim-gitgutter: OK
- Jenkinsfile-vim-syntax: OK
- vim-yaml-formatter: OK
- sparkup: OK
- vim-slime: OK
- vim-cmake-completion: OK
- vim-cmake: OK
- vim-latex-live-preview: OK (not loaded)
- docker: OK
- nerdtree: OK
- nerdtree-git-plugin: OK
- ultisnips: OK
- haskell-vim: OK
- vim-fugitive: OK
- Nvim-R: OK
- merlin: OK
- vim-flavored-markdown: OK
- tabular: OK
- vim-easymotion: OK
- vim-wordy: OK
- jedi-vim: OK
- vim-tmux-navigator: OK
- nginx.vim: OK
- async.vim: OK
- vim-table-mode: OK
- vim-surround: OK
- vim-signature: OK
- plantuml-syntax: OK
- vimtex: OK

Also doesn't work for

- vim-devicons: OK
- vim-gitgutter: OK
- YouCompleteMe: OK
- nerdtree: OK
- nerdtree-git-plugin: OK
- vim-fugitive: OK

And for

- vim-devicons: OK
- YouCompleteMe: OK
- nerdtree: OK
- nerdtree-git-plugin: OK

Used editors

VIM

VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Jun 21 2020 16:11:23)
Included patches: 1-814
Compiled by Arch Linux
Huge version with GTK3 GUI.  Features included (+) or not (-):
+acl               -farsi             +mouse_sgr         +tag_binary
+arabic            +file_in_path      -mouse_sysmouse    -tag_old_static
+autocmd           +find_in_path      +mouse_urxvt       -tag_any_white
+autochdir         +float             +mouse_xterm       +tcl/dyn
-autoservername    +folding           +multi_byte        +termguicolors
+balloon_eval      -footer            +multi_lang        +terminal
+balloon_eval_term +fork()            -mzscheme          +terminfo
+browse            +gettext           +netbeans_intg     +termresponse
++builtin_terms    -hangul_input      +num64             +textobjects
+byte_offset       +iconv             +packages          +textprop
+channel           +insert_expand     +path_extra        +timers
+cindent           +ipv6              +perl/dyn          +title
+clientserver      +job               +persistent_undo   +toolbar
+clipboard         +jumplist          +popupwin          +user_commands
+cmdline_compl     +keymap            +postscript        +vartabs
+cmdline_hist      +lambda            +printer           +vertsplit
+cmdline_info      +langmap           +profile           +virtualedit
+comments          +libcall           +python/dyn        +visual
+conceal           +linebreak         +python3/dyn       +visualextra
+cryptv            +lispindent        +quickfix          +viminfo
+cscope            +listcmds          +reltime           +vreplace
+cursorbind        +localmap          +rightleft         +wildignore
+cursorshape       +lua/dyn           +ruby/dyn          +wildmenu
+dialog_con_gui    +menu              +scrollbind        +windows
+diff              +mksession         +signs             +writebackup
+digraphs          +modify_fname      +smartindent       +X11
+dnd               +mouse             +sound             -xfontset
-ebcdic            +mouseshape        +spell             +xim
+emacs_tags        +mouse_dec         +startuptime       -xpm
+eval              +mouse_gpm         +statusline        +xsmp_interact
+ex_extra          -mouse_jsbterm     -sun_workshop      +xterm_clipboard
+extra_search      +mouse_netterm     +syntax            -xterm_save
   system vimrc file: "/etc/vimrc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"
      user exrc file: "$HOME/.exrc"
  system gvimrc file: "/etc/gvimrc"
    user gvimrc file: "$HOME/.gvimrc"
2nd user gvimrc file: "~/.vim/gvimrc"
       defaults file: "$VIMRUNTIME/defaults.vim"
    system menu file: "$VIMRUNTIME/menu.vim"
  fall-back for $VIM: "/usr/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/at-spi-2.0 -pthread    -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_REENTRANT  -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: gcc   -L. -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,-E -Wl,-rpath,/usr/lib/perl5/5.32/core_perl/CORE  -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -L/usr/local/lib -Wl,--as-needed -o vim   -lgtk-3 -lgdk-3 -lz -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0  -lSM -lICE -lXt -lX11 -lXdmcp -lSM -lICE  -lm -ltinfo -lelf    -lcanberra  -lacl -lattr -lgpm -ldl   -Wl,-E -Wl,-rpath,/usr/lib/perl5/5.32/core_perl/CORE -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -fstack-protector-strong -L/usr/local/lib  -L/usr/lib/perl5/5.32/core_perl/CORE -lperl -lpthread -ldl -lm -lcrypt -lutil -lc   -L/usr/lib -ltclstub8.6 -ldl -lz -lpthread -lm

NeoVim

General
NVIM v0.4.4
Build type: Release
LuaJIT 2.0.5
Compilation: /usr/bin/cc -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -O2 -DNDEBUG -DMIN_LOG_LEVEL=3 -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fno-common -fdiagnostics-color=always -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -I/build/neovim/src/build/config -I/build/neovim/src/neovim-0.4.4/src -I/usr/include -I/build/neovim/src/build/src/nvim/auto -I/build/neovim/src/build/include
Compiled by builduser

Features: +acl +iconv +tui
Checkhealth
health#jedi#check
========================================================================
## jedi
#### Jedi-vim debug information

##### jedi-vim version

 - jedi-vim git version: a17b033
 - jedi git submodule status:  3b7106ae71cb7bd3431101d169a0110ee0c179aa pythonx/jedi (v0.17.2)
 - parso git submodule status:  c864ca60d1a2f36524a4f79013a7de223e65e19d pythonx/parso (v0.6.0)

##### Global Python

Using Python version 3 to access Jedi.
 - global sys.executable: `/usr/bin/python3`
 - global sys.version: `3.8.5 (default, Jul 27 2020, 08:42:51), [GCC 10.1.0]`
 - global site module: `/usr/lib/python3.8/site.py`

##### Jedi

 - path: `/home/dzordzu/.vim/plugged/jedi-vim/pythonx/jedi/jedi/__init__.py`
 - version: 0.17.2
##### Jedi environment: <SameEnvironment: 3.8.5 in /usr>

 - executable: /usr/bin/python3
 - sys_path:
    - `/usr/lib/python3.8/site-packages/_pdbpp_path_hack`
    - `/usr/lib/python38.zip`
    - `/usr/lib/python3.8`
    - `/usr/lib/python3.8/lib-dynload`
    - `/home/dzordzu/.local/lib/python3.8/site-packages`
    - `/usr/lib/python3.8/site-packages`

##### Known environments

 - <Environment: 3.8.5 in /usr> (/usr/bin/python3.8)

 - <Environment: 2.7.18 in /usr> (/usr/bin/python2.7)

##### Settings

  omnifunc=htmlcomplete#CompleteTags
    Last set from /usr/share/nvim/runtime/ftplugin/html.vim line 24
  completeopt=menuone,longest,preview
    Last set from ~/.vim/plugged/jedi-vim/plugin/jedi.vim line 36

health#vimtex#check
========================================================================
## vimtex
  - OK: Vim version should have full support!
  - OK: General viewer should work properly!
  - WARNING: Compiler callbacks will not work!
    - ADVICE:
      - `neovim-remote` / `nvr` is required for callbacks to work with neovim
      - Please also set |g:vimtex_compiler_progname| = 'nvr'
      - For more info, see :help |vimtex-faq-neovim|
health#nvim#check
========================================================================
## Configuration
  - OK: no issues found

## Performance
  - OK: Build type: Release

## Remote Plugins
  - OK: Up to date

## terminal
  - INFO: key_backspace (kbs) terminfo entry: key_backspace=^H
  - INFO: key_dc (kdch1) terminfo entry: key_dc=\E[3~
  - INFO: $COLORTERM='truecolor'

## tmux
  - OK: escape-time: 0ms
  - INFO: $TERM: xterm-256color
  - INFO: default-terminal: screen-256color
  - ERROR: $TERM differs from the tmux `default-terminal` setting. Colors might look wrong.
    - ADVICE:
      - $TERM may have been set by some rc (.bashrc, .zshrc, ...).
  - WARNING: Neither Tc nor RGB capability set. True colors are disabled. |'termguicolors'| won't work properly.
    - ADVICE:
      - Put this in your ~/.tmux.conf and replace XXX by your $TERM outside of tmux:
          set-option -sa terminal-overrides ',XXX:RGB'
      - For older tmux versions use this instead:
          set-option -ga terminal-overrides ',XXX:Tc'

health#provider#check
========================================================================
## Clipboard (optional)
  - OK: Clipboard tool found: xclip

## Python 2 provider (optional)
  - WARNING: No Python executable found that can `import neovim`. Using the first available executable for diagnostics.
  - ERROR: Python provider error:
    - ADVICE:
      - provider/pythonx: Could not load Python 2:
          /usr/bin/python2 does not have the "neovim" module. :help |provider-python|
          /usr/bin/python2.7 does not have the "neovim" module. :help |provider-python|
          python2.6 not found in search path or not executable.
          /usr/bin/python is Python 3.8 and cannot provide Python 2.
  - INFO: Executable: Not found

## Python 3 provider (optional)
  - INFO: `g:python3_host_prog` is not set.  Searching for python3 in the environment.
  - INFO: Executable: /usr/bin/python3
  - INFO: Python version: 3.8.5
  - INFO: pynvim version: 0.4.1
  - OK: Latest pynvim is installed.

## Ruby provider (optional)
  - INFO: Ruby: ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [x86_64-linux]
  - INFO: Host: /home/dzordzu/.gem/ruby/2.7.0/bin/neovim-ruby-host
  - OK: Latest "neovim" gem is installed: 0.8.1

## Node.js provider (optional)
  - INFO: Node.js: v14.7.0
  - INFO: Neovim node.js host: /home/dzordzu/.npm/lib/node_modules/neovim/bin/cli.js
  - OK: Latest "neovim" npm/yarn package is installed: 4.9.0

Gvim

Requested steps

cd to you workdir

1 .M N... 100644 100644 100644 9817cee69d4a4679b27abaac8ff41066dab474f2 9817cee69d4a4679b27abaac8ff41066dab474f2 LICENSE.txt

vim and open nerdtree panel

1 .M N... 100644 100644 100644 9817cee69d4a4679b27abaac8ff41066dab474f2 9817cee69d4a4679b27abaac8ff41066dab474f2 LICENSE.txt

Press ENTER or type command to continue
Dzordzu commented 4 years ago

Sorry for the long form of this issue report, but I've tired to create a stable, entirely described background for the fixes

Xuyuanp commented 4 years ago

@Dzordzu You have to load these plugins in the right order

Plug 'preservim/nerdtree'
Plug 'Xuyuanp/nerdtree-git-plugin'
Plug 'ryanoasis/vim-devicons'
Dzordzu commented 4 years ago

Naaah. They were loaded in a correct order. The Plug is just showing them in it's own way. The issue was in #147. So thank your for the fix @Xuyuanp :)

Xuyuanp commented 4 years ago

Guys, It's a long time since this issue open, this plugin has been changed a lot. I'm closing it. If you still face the same issue, feel free to open a new one.

ParadiseWitch commented 3 years ago

+1 vim:

:version
VIM - Vi IMproved 8.1 (2018 May 18, compiled May 18 2018 18:26:56)
MS-Windows 32-bit console version
Included patches: 1
Compiled by mool@tororo
Huge version without GUI.  Features included (+) or not (-):
+acl               +comments          +file_in_path      +lispindent        -perl              -sun_workshop      +virtualedit
+arabic            +conceal           +find_in_path      +listcmds          +persistent_undo   +syntax            +visual
+autocmd           +cryptv            +float             +localmap          -postscript        +tag_binary        +visualextra
+autoservername    +cscope            +folding           -lua               +printer           +tag_old_static    +viminfo
-balloon_eval      +cursorbind        -footer            +menu              +profile           -tag_any_white     +vreplace
+balloon_eval_term +cursorshape       +gettext/dyn       +mksession         -python            -tcl               +vtp
-browse            +dialog_con        -hangul_input      +modify_fname      -python3           +termguicolors     +wildignore
++builtin_terms    +diff              +iconv/dyn         +mouse             +quickfix          +terminal          +wildmenu
+byte_offset       +digraphs          +insert_expand     -mouseshape        +reltime           -tgetent           +windows
+channel           -dnd               +job               +multi_byte        +rightleft         -termresponse      +writebackup
+cindent           -ebcdic            +jumplist          +multi_lang        -ruby              +textobjects       -xfontset
+clientserver      +emacs_tags        +keymap            -mzscheme          +scrollbind        +timers            -xim
+clipboard         +eval              +lambda            -netbeans_intg     +signs             +title             -xpm_w32
+cmdline_compl     +ex_extra          +langmap           +num64             +smartindent       -toolbar           -xterm_save
+cmdline_hist      +extra_search      +libcall           +packages          +startuptime       +user_commands
+cmdline_info      +farsi             +linebreak         +path_extra        +statusline        +vertsplit
   system vimrc file: "$VIM\vimrc"
     user vimrc file: "$HOME\_vimrc"
 2nd user vimrc file: "$HOME\vimfiles\vimrc"
 3rd user vimrc file: "$VIM\_vimrc"
      user exrc file: "$HOME\_exrc"
  2nd user exrc file: "$VIM\_exrc"
       defaults file: "$VIMRUNTIME\defaults.vim"
Compilation: cl -c /W3 /nologo  -I. -Iproto -DHAVE_PATHDEF -DWIN32  -DFEAT_CSCOPE -DFEAT_TERMINAL  -DFEAT_JOB_CHANNEL      -DWINVER=0x0501 -D_WIN32_WINNT=0x0501 /MP -DHAVE_STDINT_H /Ox /GL -DNDEBUG /arch:IA32 /Zl /MT -DDYNAMIC_ICONV -DDYNAMIC_GETTEXT -DFEAT_HUGE /Fd.\ObjCi386/ /Zi
Linking: link  /nologo /subsystem:console,5.01 /opt:ref /LTCG:STATUS oldnames.lib kernel32.lib advapi32.lib shell32.lib gdi32.lib  comdlg32.lib ole32.lib uuid.lib /machine:i386   libcmt.lib  user32.lib          WSock32.lib  /PDB:vim.pdb -debug

git

git version 2.30.0.windows.2
.vimrc ``` set number set cursorline """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " Vundle " """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" set nocompatible " be iMproved, required filetype off " required " set the runtime path to include Vundle and initialize set rtp+=~/.vim/bundle/Vundle.vim call vundle#begin() Plugin 'preservim/nerdtree' Plugin 'Xuyuanp/nerdtree-git-plugin' " All of your Plugins must be added before the following line call vundle#end() " required filetype plugin indent on " required " NERDTree config map :NERDTreeToggle autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif autocmd vimenter * NERDTree let g:loaded_nerdtree_git_status = 1 let g:NERDTreeGitStatusIndicatorMapCustom = { \ 'Modified' :'✹', \ 'Staged' :'✚', \ 'Untracked' :'✭', \ 'Renamed' :'➜', \ 'Unmerged' :'═', \ 'Deleted' :'✖', \ 'Dirty' :'✗', \ 'Ignored' :'☒', \ 'Clean' :'✔︎', \ 'Unknown' :'?', \ } """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " Maintainer: " Amir Salihefendic — @amix3k " " Awesome_version: " Get this config, nice color schemes and lots of plugins! " " Install the awesome version from: " " https://github.com/amix/vimrc " " Sections: " -> General " -> VIM user interface " -> Colors and Fonts " -> Files and backups " -> Text, tab and indent related " -> Visual mode related " -> Moving around, tabs and buffers " -> Status line " -> Editing mappings " -> vimgrep searching and cope displaying " -> Spell checking " -> Misc " -> Helper functions " """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " => General """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " Sets how many lines of history VIM has to remember set history=500 " Enable filetype plugins filetype plugin on filetype indent on " Set to auto read when a file is changed from the outside set autoread au FocusGained,BufEnter * checktime " With a map leader it's possible to do extra key combinations " like w saves the current file let mapleader = "," " Fast saving nmap w :w! " :W sudo saves the file " (useful for handling the permission-denied error) command! W execute 'w !sudo tee % > /dev/null' edit! """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " => VIM user interface """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " Set 7 lines to the cursor - when moving vertically using j/k set so=7 " Avoid garbled characters in Chinese language windows OS let $LANG='en' set langmenu=en source $VIMRUNTIME/delmenu.vim source $VIMRUNTIME/menu.vim " Turn on the Wild menu set wildmenu " Ignore compiled files set wildignore=*.o,*~,*.pyc if has("win16") || has("win32") set wildignore+=.git\*,.hg\*,.svn\* else set wildignore+=*/.git/*,*/.hg/*,*/.svn/*,*/.DS_Store endif "Always show current position set ruler " Height of the command bar set cmdheight=1 " A buffer becomes hidden when it is abandoned set hid " Configure backspace so it acts as it should act set backspace=eol,start,indent set whichwrap+=<,>,h,l " Ignore case when searching set ignorecase " When searching try to be smart about cases set smartcase " Highlight search results set hlsearch " Makes search act like search in modern browsers set incsearch " Don't redraw while executing macros (good performance config) set lazyredraw " For regular expressions turn magic on set magic " Show matching brackets when text indicator is over them set showmatch " How many tenths of a second to blink when matching brackets set mat=2 " No annoying sound on errors set noerrorbells set novisualbell set t_vb= set tm=500 " Properly disable sound on errors on MacVim if has("gui_macvim") autocmd GUIEnter * set vb t_vb= endif " Add a bit extra margin to the left " set foldcolumn=1 """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " => Colors and Fonts """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " Enable syntax highlighting syntax enable " Enable 256 colors palette in Gnome Terminal if $COLORTERM == 'gnome-terminal' set t_Co=256 endif try colorscheme desert catch endtry set background=dark " Set extra options when running in GUI mode if has("gui_running") set guioptions-=T set guioptions-=e set t_Co=256 set guitablabel=%M\ %t endif " Set utf8 as standard encoding and en_US as the standard language set encoding=utf8 " Use Unix as the standard file type set ffs=unix,dos,mac """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " => Files, backups and undo """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " Turn backup off, since most stuff is in SVN, git etc. anyway... set nobackup set nowb set noswapfile """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " => Text, tab and indent related """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " Use spaces instead of tabs set expandtab " Be smart when using tabs ;) set smarttab " 1 tab == 4 spaces set shiftwidth=4 set tabstop=4 " Linebreak on 500 characters set lbr set tw=500 set ai "Auto indent set si "Smart indent set wrap "Wrap lines """""""""""""""""""""""""""""" " => Visual mode related """""""""""""""""""""""""""""" " Visual mode pressing * or # searches for the current selection " Super useful! From an idea by Michael Naumann vnoremap * :call VisualSelection('', '')/=@/ vnoremap # :call VisualSelection('', '')?=@/ """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " => Moving around, tabs, windows and buffers """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " Map to / (search) and Ctrl- to ? (backwards search) map / map ? " Disable highlight when is pressed map :noh " Smart way to move between windows map j map k map h map l " Close the current buffer map bd :Bclose:tabclosegT " Close all the buffers map ba :bufdo bd map l :bnext map h :bprevious " Useful mappings for managing tabs map tn :tabnew map to :tabonly map tc :tabclose map tm :tabmove map t :tabnext " Let 'tl' toggle between this and the last accessed tab let g:lasttab = 1 nmap tl :exe "tabn ".g:lasttab au TabLeave * let g:lasttab = tabpagenr() " Opens a new tab with the current buffer's path " Super useful when editing files in the same directory map te :tabedit =expand("%:p:h")/ " Switch CWD to the directory of the open buffer map cd :cd %:p:h:pwd " Specify the behavior when switching between buffers try set switchbuf=useopen,usetab,newtab set stal=2 catch endtry " Return to last edit position when opening files (You want this!) au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif """""""""""""""""""""""""""""" " => Status line """""""""""""""""""""""""""""" " Always show the status line set laststatus=2 " Format the status line set statusline=\ %{HasPaste()}%F%m%r%h\ %w\ \ CWD:\ %r%{getcwd()}%h\ \ \ Line:\ %l\ \ Column:\ %c """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " => Editing mappings """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " Remap VIM 0 to first non-blank character map 0 ^ " Move a line of text using ALT+[jk] or Command+[jk] on mac nmap mz:m+`z nmap mz:m-2`z vmap :m'>+`mzgv`yo`z vmap :m'<-2`>my` nmap vmap vmap endif " Delete trailing white space on save, useful for some filetypes ;) fun! CleanExtraSpaces() let save_cursor = getpos(".") let old_query = getreg('/') silent! %s/\s\+$//e call setpos('.', save_cursor) call setreg('/', old_query) endfun if has("autocmd") autocmd BufWritePre *.txt,*.js,*.py,*.wiki,*.sh,*.coffee :call CleanExtraSpaces() endif """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " => Spell checking """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " Pressing ,ss will toggle and untoggle spell checking map ss :setlocal spell! " Shortcuts using map sn ]s map sp [s map sa zg map s? z= """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " => Misc """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " Remove the Windows ^M - when the encodings gets messed up noremap m mmHmt:%s///ge'tzt'm " Quickly open a buffer for scribble map q :e ~/buffer " Quickly open a markdown buffer for scribble map x :e ~/buffer.md " Toggle paste mode on and off map pp :setlocal paste! """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " => Helper functions """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " Returns true if paste mode is enabled function! HasPaste() if &paste return 'PASTE MODE ' endif return '' endfunction " Don't close window, when deleting a buffer command! Bclose call BufcloseCloseIt() function! BufcloseCloseIt() let l:currentBufNum = bufnr("%") let l:alternateBufNum = bufnr("#") if buflisted(l:alternateBufNum) buffer # else bnext endif if bufnr("%") == l:currentBufNum new endif if buflisted(l:currentBufNum) execute("bdelete! ".l:currentBufNum) endif endfunction function! CmdLine(str) call feedkeys(":" . a:str) endfunction function! VisualSelection(direction, extra_filter) range let l:saved_reg = @" execute "normal! vgvy" let l:pattern = escape(@", "\\/.*'$^~[]") let l:pattern = substitute(l:pattern, "\n$", "", "") if a:direction == 'gv' call CmdLine("Ack '" . l:pattern . "' " ) elseif a:direction == 'replace' call CmdLine("%s" . '/'. l:pattern . '/') endif let @/ = l:pattern let @" = l:saved_reg endfunction ```