Closed ubmarco closed 4 years ago
When renaming a file in defx while a buffer is open for the file, the buffer does not get replaced with the new file.
OS: Linux
thinkvim :echo g:thinkvim_version output: 2.6.5
:echo g:thinkvim_version
neovim :version output:
:version
NVIM v0.4.3 Build type: Release LuaJIT 2.0.5 Compilation: /usr/bin/cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -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 -fdiagnostics-color=always -DINCLUDE_GEN ERATED_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.3/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 See ":help feature-compile" system vimrc file: "$VIM/sysinit.vim" fall-back for $VIM: "/usr/share/nvim"
:checkhealth
:CheckHealth
health#coc#check ======================================================================== - OK: Environment check passed - OK: Javascript entry lib/attach.js found - OK: Service started 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: $VTE_VERSION='6003' - INFO: $COLORTERM='truecolor' health#provider#check ======================================================================== ## Clipboard (optional) - OK: Clipboard tool found: xclip ## Python 2 provider (optional) - INFO: `g:python_host_prog` is not set. Searching for python2 in the environment. - INFO: Multiple python2 executables found. Set `g:python_host_prog` to avoid surprises. - INFO: Executable: /usr/sbin/python2 - INFO: Other python executable: /usr/bin/python2 - INFO: Other python executable: /sbin/python2 - INFO: Other python executable: /bin/python2 - INFO: Python version: 2.7.18 - INFO: pynvim version: 0.3.2 (outdated; from ~/.local/lib/python2.7/site-packages/neovim) - WARNING: Latest pynvim is NOT installed: 0.4.1 ## Python 3 provider (optional) - INFO: `g:python3_host_prog` is not set. Searching for python3 in the environment. - INFO: Multiple python3 executables found. Set `g:python3_host_prog` to avoid surprises. - INFO: Executable: /usr/sbin/python3 - INFO: Other python executable: /usr/bin/python3 - INFO: Other python executable: /sbin/python3 - INFO: Other python executable: /bin/python3 - INFO: Python version: 3.8.3 - 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] - WARNING: `neovim-ruby-host` not found. - ADVICE: - Run `gem install neovim` to ensure the neovim RubyGem is installed. - Run `gem environment` to ensure the gem bin directory is in $PATH. - If you are using rvm/rbenv/chruby, try "rehashing". - See :help |g:ruby_host_prog| for non-standard gem installations. ## Node.js provider (optional) - INFO: Node.js: v14.5.0 - INFO: Neovim node.js host: /usr/lib/node_modules/neovim/bin/cli.js - WARNING: Package "neovim" is out-of-date. Installed: 4.6.0-alpha.0, latest: 4.9.0 - ADVICE: - Run in shell: npm install -g neovim - Run in shell (if you use yarn): yarn global add neovim
@ubmarco Please update the defx. work with the latest defx version.
Problems summary
When renaming a file in defx while a buffer is open for the file, the buffer does not get replaced with the new file.
Environment Information
OS: Linux
thinkvim
:echo g:thinkvim_version
output: 2.6.5neovim
:version
output::checkhealth
or:CheckHealth
result(neovim only):How to reproduce the problem from neovim startup (Required!)
Screenshot (if possible)