Comments (3)
Yes, when cmake_always_use_terminal
is true, and callback is not nil, it will be invoked at once, also the command cannot be transfered to terminal. As we cannot find a proper way to register callback for terminal (See discussions: #60, PR is welcome).
So, for now, if you want to use callback, you should set cmake_always_use_terminal
to false and use quickfix mode.
from cmake-tools.nvim.
Yeah, terminal is a complex component, can we use toggleterm directly?
In another neovim plugin named overseer.nvim, which supoort different run method, include:
- builtin terminal: using
termopen()
- jobstart()
- toggleterm(): integrate with
ToggleTerm
from cmake-tools.nvim.
Yeah, I will consider it.
from cmake-tools.nvim.
Related Issues (20)
- Execute the command, and a pop-up window will appear to manually select the target. If no selection is made and the pop-up window disappears, the command will no longer bring up the corresponding pop-up window. HOT 5
- Usage/workflow questions HOT 7
- Unexpected input keys in Neovim due to autocommand HOT 2
- How to get current cmake args in neovim's lua? HOT 3
- Possibility to set a path for `cmake_build_directory` that is not relative to `vim.loop.cwd()` HOT 2
- if executor is terminal, then no double quotes around path to build folder HOT 3
- Command: CMakeStopRunner not working when using toggleterm. HOT 1
- CMakeGenerate does not work HOT 2
- Toggleterm executor opens new tab instead of rewriting existing one
- Error during the lazy initialization, when it is triggered by pressing hotkeys HOT 11
- Wrong cwd when running CTest -> runner doesn't pass arguments when running CTest HOT 3
- Symlink compile_commands.json doesn't appear to work on windows HOT 7
- quick start HOT 4
- on_exit in default terminal.lua HOT 1
- How to choose target when every build/run HOT 18
- targets in buildPresets of CMakePresets.json not honored
- Build Directory Creation will Fail if it Requires a Recursive Create on Windows HOT 4
- Build Directory and Build Targets Not Always Found HOT 11
- Support fish shell HOT 4
- CMakeRun No Output on Windows HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cmake-tools.nvim.