Comments (7)
I don't know much about packer's internals, does it change anything about the loaded plugins when PackerCompile is called?
Your error "shouldn't" occur during normal usage I think.
from cmp_luasnip.
Try find for get_documentation
function and add:
local function get_documentation(snip, data)
if snip == nil then
return ""
end
local header = (snip.name or "") .. " _ `[" .. data.filetype .. "]`\n"
...
from cmp_luasnip.
@melkster Could you make sure you're adding snippets via ls.add_snippets(ft, snippets)
?
I didn't consider that not everybody is using that already (it is deprecated, but not yet unsupported).
from cmp_luasnip.
What is deprecated? get_documentation
?
from cmp_luasnip.
@wuilliam321 adding snippets by directly accessing the snippet table
from cmp_luasnip.
Could you make sure you're adding snippets via
ls.add_snippets(ft, snippets)
?
This might actually be it! I wasn't using ls.add_snippets()
and after changing to it I haven't experienced the issue!
from cmp_luasnip.
Great! was the same for me!
from cmp_luasnip.
Related Issues (20)
- No longer directly access `ls.snippets` HOT 3
- attempt to index local 'snip' (a nil value) HOT 7
- Help wanted: Treesitter highlight lost after enabling cmp_luasnip HOT 4
- Plugin license HOT 5
- getting this error when autocompleting HOT 6
- Choice Node Integration HOT 8
- Create tag when version requirement changes HOT 1
- Postfix snippets not shown or shown too late HOT 12
- Is there any ways to remove `~` in snippet completion window? HOT 3
- Sources appear in `LuaSnipListAvailable` but not in cmp suggestions list HOT 10
- Filter snippets by condition HOT 3
- Neovim freezing when pressing Tab HOT 3
- Neovim freezing
- Can't install plugin HOT 2
- module 'cmp' not found HOT 4
- Jump to placeholders in snippet HOT 2
- Respect `trigEngine`. HOT 1
- How to trigger expand on <C-n>? HOT 4
- Prevent putting the same information twice in documentation HOT 2
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 cmp_luasnip.