Code Monkey home page Code Monkey logo

Comments (11)

Civitasv avatar Civitasv commented on August 15, 2024 2

Do you invoke the setup function?

from cmake-tools.nvim.

sleaper avatar sleaper commented on August 15, 2024

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.

Civitasv avatar Civitasv commented on August 15, 2024

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.

sleaper avatar sleaper commented on August 15, 2024

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.

Civitasv avatar Civitasv commented on August 15, 2024

This *cmake-tools* buffer.
SCR-20240211-opgi

from cmake-tools.nvim.

sleaper avatar sleaper commented on August 15, 2024

This cmake-tools buffer. SCR-20240211-opgi

image

When I open cpp file, I have only this buffer.

from cmake-tools.nvim.

Civitasv avatar Civitasv commented on August 15, 2024

Do you check if the root dir contains CMakeLists.txt file?

from cmake-tools.nvim.

sleaper avatar sleaper commented on August 15, 2024

Yes it does.
image

When I press enter after the error. It generates this:
image

But the files are empty.

from cmake-tools.nvim.

sleaper avatar sleaper commented on August 15, 2024

Do you invoke the setup function?

Oh, of course I did not. Thanks man. Sorry for wasting your time.

from cmake-tools.nvim.

Civitasv avatar Civitasv commented on August 15, 2024

That’s alright.😀

from cmake-tools.nvim.

allenfrostline avatar allenfrostline commented on August 15, 2024

@Civitasv Thanks man! Was omitting the explicit setup function too. Closing this issue now.

from cmake-tools.nvim.

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.