Neovim LSP with Linux Kernel

Maciej Wieczór-Retman <[email protected]>
Newsgroups org.kernelnewbies.kernelnewbies
Message-ID <vy4ogy6exb47oylwcztyca77mhd5vaz2ymv2ajzhye2iluuis7@muoghsj4kk2p>
Hi,
I'm using neovim for a long time now and I've been using ccls as the LSP
for anything in C. It's working very well with userspace programs (with
"bear -- make" to generate compile_commands.json) but it seems to take
up a lot of CPU power whenever I reboot and open any kernel code.

The kernel provides it's own way to get compile_commands.json and I
understand that ccls needs a bit of time to index these thousands of
files.

But does anyone know if there is a way to avoid indexing files so often?
Or maybe is there a better LSP for C? I couldn't really find anything
else and I'm running Arch Linux which suggests it's the recommended one
for C.

-- 
Kind regards
Maciej Wieczór-Retman

_______________________________________________
Kernelnewbies mailing list
[email protected]
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.