Comments (6)
I was getting the same error and I was able to track the bug to this line:
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.
I also got this and traced back to
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.
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.
This issue was closed because it has been stalled for 5 days with no activity.
from zk-nvim.
Just submitted a fix #49
from zk-nvim.
Perfect, thanks!
from zk-nvim.
Related Issues (20)
- Only ZkNew and ZkIndex commands available HOT 11
- How would one search for notes matching at least one tag in a list of options, but not necessarily all of them? HOT 1
- Support for, or how to go about replicating zk with fzf-lua instead of fzf.vim/fzf proper HOT 3
- Error during insertion of links HOT 3
- Can't get it to work HOT 2
- Looking for something like ZkOpen -- but only limited to current open buffers HOT 2
- Typo: nvim_add_user_command HOT 1
- Escape lua `special characters` in path name HOT 2
- Create a new note from selection without changing the selected text HOT 1
- Issues with creating note from selection HOT 17
- Emulate `zk list -i` / `zk edit -i` in nvim
- Link incorrectly formated after completion HOT 11
- Bug: `ZkNewFromTitleSelection` does not copy the last character correctly. HOT 1
- Link completion does not work with non-latin zettel name HOT 1
- Can't search/filter the LSP completion candidates HOT 3
- Imitate `zk edit --interactive` HOT 2
- Make Lsp check link validity relative to note instead of notebook
- completion only works with autocomplete, not via manual trigger (nvim-cmp) HOT 3
- LSP can't find a notebook HOT 5
- Incorrect "not found" diagnostic HOT 4
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 zk-nvim.