Code Monkey home page Code Monkey logo

Comments (6)

guzmonne avatar guzmonne commented on August 24, 2024

I was getting the same error and I was able to track the bug to this line:

https://github.com/mickael-menu/zk-nvim/blob/d705faa82da042e7a75f7d244afd27c2d8f20830/lua/zk/lsp.lua#L10

For some reason the value of config.options.lsp.config is wrong. I don't know when it gets mutated though.

A workaround to make this work is updating the this value to config.defaults.lsp.config.

If I found the place where these table is mutated I'll submit a PR.

from zk-nvim.

zhengpd avatar zhengpd commented on August 24, 2024

I also got this and traced back to

https://github.com/mickael-menu/zk-nvim/blob/d705faa82da042e7a75f7d244afd27c2d8f20830/lua/zk/pickers/telescope.lua#L53

The first note in my notes list is empty, which might cause vim.split(entry.value.rawContent, "\n") to be nil, raising the error.

The problem is gone after adding a line into the empty note file.

from zk-nvim.

github-actions avatar github-actions commented on August 24, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs in the next 5 days.

from zk-nvim.

github-actions avatar github-actions commented on August 24, 2024

This issue was closed because it has been stalled for 5 days with no activity.

from zk-nvim.

zhengpd avatar zhengpd commented on August 24, 2024

Just submitted a fix #49

from zk-nvim.

mickael-menu avatar mickael-menu commented on August 24, 2024

Perfect, thanks!

from zk-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.