Skip to content

Latest commit

 

History

History
19 lines (10 loc) · 1.12 KB

README.md

File metadata and controls

19 lines (10 loc) · 1.12 KB

Mellanox syntax package for Sublime Text 2

Sublime Text 2 Syntax Definitition for Mellanox router/switch/firewall configurations. This package will highlight Mellanox configuration and commands within Sublime Text 2.

Installing

Using Package Control: If you have package control installed then installing this is a snap. Simply open the command palette (Tools->Command Palette). Then type "install" then search for this plugin by typing "Mellanox Syntax Highlighter". That's it. It should be installed.

Without Git: Download the zip from github, and extract the files to your Sublime Text "Packages" directory, into a new directory named Mellanox. You can find the packages directy by going to Preferences -> Browse packages, within Sublime Text 2.

With Git: Clone the repository in your Sublime Text "Packages" directory:

git clone git://github.com/KeyboardInterrupt/sublime-mellanox-syntax.git

Usage

Once installed navigate to View->Syntax->Mellanox to apply the Mellanox syntax to the document.

This syntax definition will automatically be applied to .txt files and .cfg files.