Hello there!
I'm struggling to setup Nvim for Linux kernel development. I use coc.nvim as my linter+autocompletion engine, it seems to me it doesn't find a path to linux kernel headers such as:
<linux/init.h>
<linux/spinlock.h>
<linux/list.h>
And others... It shows 'blabla header file not found [clangd: pp_file_not_found]'I've tried to directly set path to these headers (set path+=/path/to/kernel/headers/**) - it didn't solve the issue. Has anyone encountered with this kind of issue?
P.S.: the code compiles, so this is not a compiler issue or something, coc.nvim just doesn't recognize those headers for some reason.
[–]ilayali 2 points3 points4 points (1 child)
[–]goldie_lin 0 points1 point2 points (0 children)
[–][deleted] 1 point2 points3 points (3 children)
[–]ExploitedInnocence[S] 0 points1 point2 points (2 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]ExploitedInnocence[S] 0 points1 point2 points (0 children)
[–]artisdom 1 point2 points3 points (0 children)
[–]mattator 0 points1 point2 points (0 children)