Closed telotortium closed 2 years ago
Figured it out - my vimrc had the following autocmd within it, which broke the plugin:
if has("autocmd")
augroup vimrcEx
autocmd!
" Change the current working directory of the window in which a
" file is being edited to the file's directory.
" (Do not change it if we're editing a remote file.)
autocmd BufEnter *
\ if bufname("") !~ '\v^[A-Za-z0-9]+:[\\/]{2}' |
\ lcd %:p:h |
\ endif
" When editing a file, always jump to the last known cursor position.
" Don't do it when the position is invalid or when inside an event
" handler (happens when dropping a file on gvim). Also don't do it
" when the mark is in the first line, that is the default position
" when opening a file.
autocmd BufReadPost *
\ if line("'\"") > 1 && line("'\"") <= line("$") |
\ exe "normal! g`\"" |
\ endif
augroup END
endif
vim dist/index.js:155:9
tries to open a new file on the command line.vim dist
and then running:e index.js:155:9
works as expected.vim-fetch commit: 0a6ab17e84c7f4808bf05ec380121bce40b40d21 vim --version