Vim Tips Wiki
Advertisement

Use this page to discuss script 979 idf: syntax highlighting for EnergyPlus IDF files

  • Add constructive comments, bug reports, or discuss improvements (see the guideline).
  • Do not document the script here (the author should do that on vim.org).
  • This page may be out of date: check the script's vim.org page above, and its release notes.

Comments[]

" Add custom folding to idf files along the OBJECT CLASSES
set foldexpr=getline(v:lnum)=~'^\\s*$'&&getline(v:lnum+1)=~'\\S'?'<1':1
set foldmethod=expr

--November 1, 2017

Advertisement