Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

SECTION 27 – EDITING PROGRAM FILES 27.1. How do I enable automatic indentation for C/C++ files?

0
10 Posted

SECTION 27 – EDITING PROGRAM FILES 27.1. How do I enable automatic indentation for C/C++ files?

0
10

file-type based indentation using: :filetype indent on If you want to only enable automatic C indentation, then use: :set cindent For more information, read :help ‘cindent’ :help C-indenting :help filetype

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.