0

I was wondering what plugin or change to my .vimrc file can allow for displaying auto compilation comments like this,

enter image description here

2
  • I think the term to search would be 'vim linting plugins' - Ale is a popular choice (although some say it's a 'heavy' plugin). See this link for a brief discussion.
    – mattb
    Feb 18, 2022 at 16:26
  • Welcome to Vi and Vim! Plugin requests are considered off-topic. A better way to frame your question might be "How can I show compilation errors and lints in vim?" to which there are several good answers, such as :make or ALE or coc (LSP).
    – D. Ben Knoble
    Feb 18, 2022 at 20:55

1 Answer 1

1

So after doing some digging, it turns out that these are known as "diagnostics", and are available through the built in LSP for c++, or any other language you are coding in. (You just need the corresponding LSP installed). LSP's are conveniently built into Nvim now.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.