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.
this post was submitted on 17 Oct 2023
1 points (100.0% liked)
Emacs
314 readers
2 users here now
A community for the timeless and infinitely powerful editor. Want to see what Emacs is capable of?!
Get Emacs
Rules
- Posts should be emacs related
- Be kind please
- Yes, we already know: Google results for "emacs" and "vi" link to each other. We good.
Emacs Resources
Emacs Tutorials
- Beginner’s Guide to Emacs
- Absolute Beginner's Guide to Emacs
- How to Learn Emacs: A Hand-drawn One-pager for Beginners
Useful Emacs configuration files and distributions
Quick pain-saver tip
founded 1 year ago
MODERATORS
Sounds like expected behavior. Many LSPs have style checkers that warn you if you deviate from good practices (documenting functions, commenting headers, etc). You can almost certainly disable these things, but this would depend on which language server you're using