You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I write code (C/C++), I often have to include headers. I found a way to disable lsp-zero's feature of adding headers to my file through this snippet:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
When I write code (C/C++), I often have to include headers. I found a way to disable lsp-zero's feature of adding headers to my file through this snippet:
local lspconfig = require('lspconfig') lspconfig.clangd.setup { cmd = {"clangd", "--header-insertion=never"}, }
However, i would like to disable the whole header-check system. I would rather have the compiler tell me than get this warning:
Please let me know, thank you!
Beta Was this translation helpful? Give feedback.
All reactions