Skip to content

bradjc/nesC.tmbundle

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nesC.tmbundle

This bundle is nesC syntax highlighter which is used for developing TinyOS applications. It works with TextMate and Sublime Text 2.

It is based on https://github.com/colagrosso/nesC-Syntax-Highlighting

TextMate Install

mkdir -p /Library/Application\ Support/TextMate/Bundles
cd /Library/Application\ Support/TextMate/Bundles
git clone git://github.com/cdwilson/nesC.tmbundle.git

Then, from within TextMate select Bundles -> Bundle Editor -> Reload Bundles

Sublime Text 2 Install

Mac:

cd ~/Library/Application\ Support/Sublime\ Text\ 2/Packages
git clone git://github.com/bradjc/nesC.tmbundle.git

Linux:

cd ~/.config/sublime-text-2/Packages
git clone git://github.com/bradjc/nesC.tmbundle.git

Then you need to change the C file to enable .nc files to use the .c syntax highlighting. This cascades the highlighting so all the regular c styling remains.

cd ~/.config/sublime-text-e/Packages/C++
vim C.tmLanguage
add "<string>nc</string>" under <filetypes><array>

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

About

nesC bundle for Sublime Text 2 / TextMate

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published