When I installed doom emacs, I added lsp, c and c++ support and other things to init.el. When I started writing code in C, after adding the header file, auto completion advised me to add a comment to the code and other strange things. What could this be related to?

  • Hercislife23@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    I can’t speak for C but I know Python has a similar thing in PEP8, to add comments at the top of a file. So lsp will show that as an error/warning.