Coder Social home page Coder Social logo

Comments (15)

Shatur avatar Shatur commented on June 19, 2024

Hi! I can't reproduce the issue with your configuration on my side. After running :CMake build or :CMake clean the quickfix window stays open until I close it by myself.

from neovim-cmake.

csy19960309 avatar csy19960309 commented on June 19, 2024

Hi! I can't reproduce the issue with your configuration on my side. After running :CMake build or :CMake clean the quickfix window stays open until I close it by myself.

Is there any way to trace this problem? I am new to neovim and do not know much about logging.

from neovim-cmake.

Shatur avatar Shatur commented on June 19, 2024

Just disable other plugins and see if it works. You need to detect which one causes your issue.

from neovim-cmake.

csy19960309 avatar csy19960309 commented on June 19, 2024

Just disable other plugins and see if it works. You need to detect which one causes your issue.

I remove all of the plugins except wbthomason/packer.nvim, mfussenegger/nvim-dap, nvim-lua/plenary.nvim', 'nvim-telescope/telescope.nvim', 'skywind3000/asyncrun.vim' and 'Shatur/neovim-cmake', but everything stays the same.
When configuring the QuickFix window keeps open ,but when I try to build or clean it closes.

from neovim-cmake.

Shatur avatar Shatur commented on June 19, 2024

So it works this way even with clean configuration?

from neovim-cmake.

csy19960309 avatar csy19960309 commented on June 19, 2024

So it works this way even with clean configuration?

Sorry for the late reply.
You mean clearing the cache? When I run CMake clear_cache, the QuickFix window keeps open.
To make further tests I set up an environment in Windows and meet the same issue even if the configuration is not complete. I mean, just running commands like CMake build and CMake clean triggers that.

from neovim-cmake.

Shatur avatar Shatur commented on June 19, 2024

No, I meant with a clean Neovim config. E.g. run without all your settings, except packer and neovim-cmake.
Because I can't reproduce the issue on my machine.

from neovim-cmake.

csy19960309 avatar csy19960309 commented on June 19, 2024

No, I meant with a clean Neovim config. E.g. run without all your settings, except packer and neovim-cmake. Because I can't reproduce the issue on my machine.

I had already done that. I removed all of the plugins except necessary ones, like packer.nvim something. It was nearly a minimal configuration, but auto-close still stayed. However I worked around with the keymap which reopened the QuickFix window.
Maybe I can find something more at further using.

from neovim-cmake.

Shatur avatar Shatur commented on June 19, 2024

Could you check if it works correctly on previous version? On c2dbed0, for example?

from neovim-cmake.

csy19960309 avatar csy19960309 commented on June 19, 2024

Could you check if it works correctly on previous version? On c2dbed0, for example?

Sure. I find out that it began since version 267e668. At any earlier version the QuickFix window keeps open.

from neovim-cmake.

Shatur avatar Shatur commented on June 19, 2024

Could you check if the latest master fixes your issue?

from neovim-cmake.

csy19960309 avatar csy19960309 commented on June 19, 2024

Could you check if the latest master fixes your issue?

No, it still closes.

from neovim-cmake.

Shatur avatar Shatur commented on June 19, 2024

Could you try to comment out this line?

vim.api.nvim_command('cclose')

from neovim-cmake.

csy19960309 avatar csy19960309 commented on June 19, 2024

Could you try to comment out this line?

vim.api.nvim_command('cclose')

Yeah. The auto-close disappeared with that line commented out. Is this auto-close a new feature or something else?

from neovim-cmake.

Shatur avatar Shatur commented on June 19, 2024

Thanks! No, it was before. I used it to automatically hide quickfix if someone was using terminal output. But I decided to remove this functionality, since the user himself will be able to automate this if he needs to.
But it's weird that I can't reproduce the issue with exactly the same configuration.
But now it should work for you. Sorry for the inconvenience.

from neovim-cmake.

Related Issues (20)

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.