The Artima Developer Community
Sponsored Link

.NET Buzz Forum
Vim Syntax File For Monad (MSH)

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Peter G Provost

Posts: 849
Nickname: pprovost
Registered: Aug, 2003

Peter G Provost is a Solution Architect for Interlink Group in Denver, CO.
Vim Syntax File For Monad (MSH) Posted: Aug 4, 2005 11:50 PM
Reply to this message Reply

This post originated from an RSS feed registered with .NET Buzz by Peter G Provost.
Original Post: Vim Syntax File For Monad (MSH)
Feed Title: Peter Provost's Geek Noise
Feed URL: /error.aspx?aspxerrorpath=/Rss.aspx
Feed Description: Technology news, development articles, Microsoft .NET, and other stuff...
Latest .NET Buzz Posts
Latest .NET Buzz Posts by Peter G Provost
Latest Posts From Peter Provost's Geek Noise

Advertisement

As you probably know, I'm becoming a Microsoft Command Shell (aka Monad, aka MSH). I'm also a vim guy, and I was sorely missing syntax highlighting for my MSH files in my general purpose text editor.

So I wrote one. Here is it.. in all its glory. This is my first ever syntax file for Vim, so I'm sure it could be improved. Send me any improvements you make, and I'll update it.

To use this file, first save it to the same directory as your other syntax files (C:\Program Files\Vim\vim63\syntax on my system). Then edit your _vimrc file (in your profile directory) and add the following lines to the bottom:

au BufRead,BufNewFile *.msh set filetype=monad
au! Syntax monad source $VIMRUNTIME\syntax\monad.vim

The next time you open a .MSH file, you should see colors. Woo hoo! (I'm sure Hanselman has already done one for Notepad2, but I don't use that. )

Monad.vim (1 kb)

Read: Vim Syntax File For Monad (MSH)

Topic: Dude... WTF? (Or why I open sourced Easy Assets) Previous Topic   Next Topic Topic: Handles, AddHandler and RemoveHandler in VB.NET

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use