FANDOM


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

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.