on-internet
← Community

How to instruct clangd to NOT canonicalize symlinks (treat them as normal files/their contents)?

Stack Overflow ·

I am writing a QMK keymap, and for a quick backup practice I saved in my Nextcloud instance only the file that I added (the keymap.c). To make things easier, I symlinked it into the working clone of the QMK repo: alessandro@host:~$ ll qmk_firmware/keyboards/nuphy/air96_v2/ansi/keymaps/awbertulli/ total 24K drwxrwxr-x 2 alessandro alessandro 4.0K Nov 7 12:29 ./ drwxrwxr-x 5 alessandro alessandro 4.0K May 23 14:01 ../ lrwxrwxrwx+ 1 alessandro alessandro 50 Nov 7 12:29 keymap.c -> /home/alessandro/Nextcloud/qmk-awbertulli-keymap.c However, now editing the file from the QMK directory, clangd tries

Comments

Sign in or sign up to comment and upvote.

No comments yet.