Comments (11)
Do you invoke the setup function?
from cmake-tools.nvim.
Same issue:
NVIM v0.9.5
Build type: Release
LuaJIT 2.1.1692716794
Error executing Lua callback: ...e/nvim/lazy/cmake-tools.nvim/lua/cmake-tools/scratch.lua:16: Expected Lua number
stack traceback:
[C]: in function 'nvim_buf_set_lines'
...e/nvim/lazy/cmake-tools.nvim/lua/cmake-tools/scratch.lua:16: in function 'append'
...are/nvim/lazy/cmake-tools.nvim/lua/cmake-tools/utils.lua:237: in function <...are/nvim/lazy/cmake-tools.nvim/lua/cmake-tools/utils.lua:220>
from cmake-tools.nvim.
I'm also at Nvim v0.9.5, and it works fine. Can you share the content of cmake-tools buffer?
from cmake-tools.nvim.
I'm also at Nvim v0.9.5, and it works fine. Can you share the content of cmake-tools buffer?
What/Where is cmake-tools buffer?
from cmake-tools.nvim.
from cmake-tools.nvim.
When I open cpp file, I have only this buffer.
from cmake-tools.nvim.
Do you check if the root dir contains CMakeLists.txt file?
from cmake-tools.nvim.
When I press enter after the error. It generates this:
But the files are empty.
from cmake-tools.nvim.
Do you invoke the setup function?
Oh, of course I did not. Thanks man. Sorry for wasting your time.
from cmake-tools.nvim.
That’s alright.😀
from cmake-tools.nvim.
@Civitasv Thanks man! Was omitting the explicit setup function too. Closing this issue now.
from cmake-tools.nvim.
Related Issues (20)
- 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
- Slowdown every time cursor is moved HOT 4
- Whitespace makes CMakeGenerate error HOT 3
- Directory path starting with number causes error
- Feature:Easier to use
- neotest-ctest adapter HOT 3
- Presets are not ignored when `cmake_use_preset` is set to false HOT 5
- Copy compile_commands to a user specified directory after CMake Configure
- target filename HOT 2
- Suggestion: provide a stable callback-based lua API HOT 2
- Automatic split size?
- Disable *cmake-tools* scratch buffer
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.