Describe the bug
Vim 9.1 intermittently freezes while saving/writing Clojure buffers in a small project (using Leiningen), sometimes displaying the following error on the cmdline at the bottom:
Failed to intercept for :elin.constant.interceptor/autocmd: error occured on entering elin.interceptor.autocmd/ns-load because of 'No implementation of method: :as-file of protocol: #'clojure.java.io/Coercions found for class: clojure.lang.PersistentVector'
To Reproduce
The behavior is intermittent, but it seems to be related to using fzf.vim to open a file.
- Change directory to the affected project
- Launch
vim, opening any Clojure file: `vim src/<PATH_TO_CLJ_FILE>
- Connect to a REPL
- Use the
:Files command from fzf.vim to open another Clojure file
- Make a small change to the buffer
- Write/save the change to file:
:w
- Repeat steps 5 and 6 until the behavior is triggered
- When the behavior is triggered,
vim freezes before actually writing the file, and the error message is sometimes displayed.
Expected behavior
Vim does not freeze, but instead writes the file and continues to function properly.
Environment (please complete the following information):
- Editor: Vim
- Editor version: 2:9.1.0016-1ubuntu7.8
- Babashka version: babashka v1.12.197
Configuration file (if you have):
User configuration ($XDG_CONFIG_HOME/elin/config.edn or$HOME/.config/elin/config.edn)
(none)
Project local configuration (YOUR_PROJECT/.elin/config.edn)
(none)
Additional context
Seems related to #30.
Describe the bug
Vim 9.1 intermittently freezes while saving/writing Clojure buffers in a small project (using Leiningen), sometimes displaying the following error on the cmdline at the bottom:
To Reproduce
The behavior is intermittent, but it seems to be related to using
fzf.vimto open a file.vim, opening any Clojure file: `vim src/<PATH_TO_CLJ_FILE>:Filescommand fromfzf.vimto open another Clojure file:wvimfreezes before actually writing the file, and the error message is sometimes displayed.Expected behavior
Vim does not freeze, but instead writes the file and continues to function properly.
Environment (please complete the following information):
Configuration file (if you have):
User configuration (
$XDG_CONFIG_HOME/elin/config.ednor$HOME/.config/elin/config.edn)(none)
Project local configuration (
YOUR_PROJECT/.elin/config.edn)(none)
Additional context
Seems related to #30.