hrsh7th / nvim-cmp

A completion plugin for neovim coded in Lua.
MIT License
7.45k stars 370 forks source link

[feature] Use in markdown code block. #1839

Open soluty opened 4 months ago

soluty commented 4 months ago

I read the hole doc, but i cant find a way to use diffrent completion in markdown or orgfiles code block. I dont know how to setup this, is there a way to use in markdown's code block like in seperate filetype? Eg. in python block, can complete settings set to python file includes lsp or snippets source.. this small video can explain what the feature looks like in other complete engine. https://macplay.github.io/videos/ncm_scope.mp4

s4venth commented 4 months ago

Hi,

jmbuhr/otter.nvim might be what you're looking for.