-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doesn't compatiable with vim's quickfix. #2
Comments
Interesting... However, even though I tried, I cannot reproduce the bug. On my machine everything works the same for fizsh, zsh, bash, and fish. I have never used vim's quickfix features though. So I may have miss something. Anyway, I would not expect a difference between zsh and fizsh because fizsh is just a layer of simple scripts that enhances zsh. Could you provide more details about how the bug can be triggered? |
One more question: Why should user@machine ~> vim -e "make" jump to "a.cpp" and report errors? On my machine it does not... Neither under zsh, bash, fish nor under fizsh. I even tried this with an empty ".vimrc" file. Instead vim just creates a file called "make", and enters into its "Ex mode"... This seems expected behavior according to the vim documentation. |
Sorry, that's a typo, the correct cmd is: |
On my machine, Zsh works fine, but fizsh doesn't work. I also tried gvim. You know what, If gvim is opened in fizsh, quickfix doesn't work. However, if gvim is opened by bash, quickfix works. I just installed a fresh archlinux in virtualbox and the problem is still exist. I guess install debian instead of archlinux in virtualbox would get the same issue. |
Just let you know, I tested with debian stable in virtualbox, base system, no desktop environment, no x-window, fresh install and just gcc, vim and fizsh in tty. And I still could reproduct this issue. |
Hi Mizuchi, Indeed "vim -c make" reproduces the bug. I checked out which part of fizsh causes this, and the culprit is the syntax highlighting sripts, which are sourced by fizsh. They are being maintained at https://github.com/zsh-users/zsh-syntax-highlighting. You should report this bug there. I will close this bug because it is unrelated to the core fizsh scripts. Thanks for you report. |
Reproduce the problem:
create a illegal c++ source file.
$ echo "int main() { illegal c++ program. }" > a.cppwrite a makefile for it
$ echo -e "all:\n\tg++ a.cpp" > makefileexecute :make in vim
$ vim -e "make"vim should jump to a.cpp and report errors. It works in bash, zsh or fish. However in fizsh, vim reports "No errors" and doesn't jump to a.cpp.
I tried in several environments (and disabled all vim's plugins):
debian 7.0, vim 7.3-547, fizsh 1.0.2, xterm 278 with dwm 6.0
archlinux, vim 7.3-798, fizsh 1.0.5, xterm 298/tty, dwm 6.0/xfce4
A funny thing is if current shell is fizsh, even if I switch to bash ($ bash), or open a new virtual terminal ($ xterm -e bash), vim's quickfix still doesn't work.
The text was updated successfully, but these errors were encountered: