Comment by ๐Ÿฆ€ jeang3nie

Re: "I want to have completion for my custom C language headers,โ€ฆ"

In: s/vim

Are you on original Vim? I'm using NeoVim and the nvim-cmp plugin does exactly what you're asking, but it's written in Lua specifically for NeoVim.

๐Ÿฆ€ jeang3nie

2023-08-08 ยท 3 years ago

6 Later Comments โ†“

๐Ÿš€ stack [mod] ยท 2023-08-08 at 14:59:

@jeang3nie: do you know if original vim's new Lua support is compatible with NeoVim's Lua? I've been avoiding NeoVim after my Common Lisp bindings uncovered many issues in display protocols and maintainers were saying really idiotic argumentative stuff...

๐ŸŒฒ Odintsoff [OP] ยท 2023-08-09 at 00:20:

@jeang3nie Original Vim. Thinking about moving to neovim though.

๐ŸŒฒ Odintsoff [OP] ยท 2023-08-09 at 00:21:

@Addison I also tried using YCM, but no success to make it read my own header files. Maybe conflicting with CoC.

๐Ÿฆ Arkaeriit ยท 2023-08-10 at 18:35:

@Addison How can one do this with YCM?

๐Ÿฆ Arkaeriit ยท 2023-08-11 at 18:08:

@Addison Thanks for the tip. It will be a good starting point.

๐ŸŒฒ Odintsoff [OP] ยท 2023-08-22 at 00:09:

Thanks all! I will try the tips provided and give some feedback. Thanks again!

Original Post

๐ŸŒ’ s/vim

๐ŸŒฒ Odintsoff:

I want to have completion for my custom C language headers, but I cannot see how to add it. I use CoC and it does help with the language headers, but not the ones in my project folder. How can I add them?

๐Ÿ’ฌ 9 comments ยท 2023-08-07 ยท 3 years ago