paterjason / cmp-conjure Goto Github PK
View Code? Open in Web Editor NEWnvim-cmp source for conjure.
License: MIT License
nvim-cmp source for conjure.
License: MIT License
One kind of error, when try to type anything inside the funciton docs:
Error executing vim.schedule lua callback: ...te/pack/packer/start/nvim-cmp/lua/cmp/config/compare.lua:62: attempt to perform arithmetic on local 'kind2' (a table value)
stack traceback:
...te/pack/packer/start/nvim-cmp/lua/cmp/config/compare.lua:62: in function 'fn'
...re/nvim/site/pack/packer/start/nvim-cmp/lua/cmp/view.lua:101: in function <...re/nvim/site/pack/packer/start/nvim-cmp/lua/cmp/view.lua:99>
[C]: in function 'sort'
...re/nvim/site/pack/packer/start/nvim-cmp/lua/cmp/view.lua:99: in function 'open'
...re/nvim/site/pack/packer/start/nvim-cmp/lua/cmp/core.lua:326: in function 'fn'
.../site/pack/packer/start/nvim-cmp/lua/cmp/utils/async.lua:57: in function <.../site/pack/packer/start/nvim-cmp/lua/cmp/utils/async.lua:55>
Another one:
Error executing vim.schedule lua callback: ...0.9.0/share/nvim/runtime/lua/vim/lsp/semantic_tokens.lua:267: attempt to index field 'semanticTokensProvider' (a nil value)
stack traceback:
...0.9.0/share/nvim/runtime/lua/vim/lsp/semantic_tokens.lua:267: in function 'send_request'
...0.9.0/share/nvim/runtime/lua/vim/lsp/semantic_tokens.lua:499: in function ''
vim/_editor.lua: in function ''
vim/_editor.lua: in function <vim/_editor.lua:0>
When I turned this plugin off, I stoped having these errors.
OSX ventura 13.2;
Neovim 0.9 (reproduced on 0.8 as well);
In treesitter, additional_vim_regex_highlighting
is set to false.
Writing (p)
on conjure buffer leads to error:
Error detected while processing TextChangedI Autocommands for "*":
Error executing lua callback: ...e/nvim/site/pack/packer/opt/conjure/lua/conjure/eval.lua:349: Expected lua string
stack traceback:
[C]: in function '_44_'
...e/nvim/site/pack/packer/opt/conjure/lua/conjure/eval.lua:349: in function 'completions'
...e/pack/packer/start/cmp-conjure/lua/cmp_conjure/init.lua:59: in function 'complete'
.../nvim/site/pack/packer/start/nvim-cmp/lua/cmp/source.lua:314: in function 'complete'
...re/nvim/site/pack/packer/start/nvim-cmp/lua/cmp/core.lua:287: in function 'complete'
...re/nvim/site/pack/packer/start/nvim-cmp/lua/cmp/core.lua:169: in function 'callback'
...re/nvim/site/pack/packer/start/nvim-cmp/lua/cmp/core.lua:219: in function 'autoindent'
...re/nvim/site/pack/packer/start/nvim-cmp/lua/cmp/core.lua:161: in function 'on_change'
...re/nvim/site/pack/packer/start/nvim-cmp/lua/cmp/init.lua:310: in function 'callback'
...ite/pack/packer/start/nvim-cmp/lua/cmp/utils/autocmd.lua:49: in function 'emit'
...ite/pack/packer/start/nvim-cmp/lua/cmp/utils/autocmd.lua:23: in function <...ite/pack/packer/start/nvim-cmp/lua/cmp/utils/autocmd.lua:22>
```
Sorry, this isn't necessarily an issue with cmp-conjure! I'm just not sure my setup is working correctly. I do see completions from other sources in my config...but whenever I'm in a lispy buffer, usually repl'd by Guile or Fennel, but the completions I get are of the "Text" kind.
I can't tell if this is coming from the REPL or not. I think likely not as they don't seem contextually brilliant.
I am set up as such: https://git.sr.ht/~trevdev/nvim/tree/main/item/fnl/tdev/package/cmp.fnl
Instead of using completions-sync
, use completions-promise
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.