Fandom

Vim Tips Wiki

Script:2930

1,624pages on
this wiki
Add New Page
Talk0

Use this page to discuss script 2930 rfc syntax: simple syntax highlight for RFC file

  • 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.

CommentsEdit

Detect draftsEdit

Used this to detect draft files (without ext) too:

   if expand('%:t') =~? 'rfc\d\+' || expand('%:t') =~? 'draft-.*-\d\{2,}'
       setfiletype rfc
   endif

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.