Wikia

Vim Tips Wiki

Script:731

Talk0
1,610pages on
this wiki
Revision as of 09:53, July 14, 2012 by JohnBot (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Use this page to discuss script 731 xmidas: syntax highlighting for the X-Midas language

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

Automatic file type detectionEdit

Once the script file has been added to .vim/syntax/, it can be set to automatically enable highlighting for macro files by adding the following text in the file .vim/filetype.vim

au! BufRead,BufNewFile *.txt if getline(1) =~ 'STARTMACRO' | setf xmidas | endif

CommentsEdit

Around Wikia's network

Random Wiki