3 ms·
haha, that kinda makes me want to make a language that prevents comments from breaking scopes, so "}" would implicitly also be a comment terminator :)
by Groxx 13y ago
haha, that kinda makes me want to make a language that prevents comments from breaking scopes, so "}" would implicitly also be a comment terminator :)
- pyre 13y agoOff the top of my head, Vim has a folding mode where "{{{" and "}}}" are used to mark the start and end of a fold. So you can see this on the code: // ==== Section 1: Code ==== {{{ BLAH // ========================= }}} Granted, since this is Vim-specific, you usually only see it used in Vim plugins, because you're unlikely to have someone editing with another editor.