Giter Club home page Giter Club logo

Comments (6)

guidovansteen avatar guidovansteen commented on August 28, 2024

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?

from fizsh.

guidovansteen avatar guidovansteen commented on August 28, 2024

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.

from fizsh.

Mizuchi avatar Mizuchi commented on August 28, 2024

Sorry, that's a typo, the correct cmd is:
vim -c "make"

from fizsh.

Mizuchi avatar Mizuchi commented on August 28, 2024

On my machine, Zsh works fine, but fizsh doesn't work.
I also tried that output make's error to a file ($ make >& error.log) and then use ":cfile error.log" in vim to read the error file, and this time, everything works fine in fizsh. I guess, maybe fizsh has some problem with pipe that impede vim read error from make (that's also explain why vim reported "No errors"). vim uses command like "!make 2>&1 | tee /tmp/va5Pdt5/0" to get the error from make.

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.
If you are familiar with archlinux, you could try to install a base system in virtualbox,
download and install fizsh from AUR (or install manually if you like).
And just try it in tty, you would likely reproduct this issue.

I guess install debian instead of archlinux in virtualbox would get the same issue.
Though fizsh in debian stable or testing is a little bit dated (1.0.2),
but archlinux use the latest version (1.0.5) and still has the same issue.

from fizsh.

Mizuchi avatar Mizuchi commented on August 28, 2024

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.

from fizsh.

guidovansteen avatar guidovansteen commented on August 28, 2024

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.

from fizsh.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.