Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ebkalderon/gtksourceview-squirrel

Squirrel syntax highlighting for GtkSourceView
https://github.com/ebkalderon/gtksourceview-squirrel

gedit squirrel syntax-highlighting

Last synced: 27 days ago
JSON representation

Squirrel syntax highlighting for GtkSourceView

Awesome Lists containing this project

README

        

# gtksourceview-squirrel

This GtkSourceView language schema provides syntax highlighting support for [Squirrel](http://www.squirrel-lang.org/), a fast and lightweight game scripting language and VM originally based on [Lua](http://www.lua.org/). This should be compatible with all editors based on GtkSourceView 2.0 or 3.0, such as [Gedit](https://en.wikipedia.org/wiki/Gedit) and [Geany](https://en.wikipedia.org/wiki/Geany).

![Alt text](screenshot.png "Squirrel script in Gedit (Solarized Dark)")

## Installation

Simply copy `squirrel.lang` to any of the following directories:
* `~/.local/share/gtksourceview-2.0/language-specs`
* `~/.local/share/gtksourceview-3.0/language-specs`
* `/usr/share/gtksourceview-2.0/language-specs`
* `/usr/share/gtksourceview-3.0/language-specs`

Then restart your editor(s).

## License

Copyright (C) 2014 Eyal Kalderon

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.