Skip to content

potofcoffee/pinpoint-highlighter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Pinpoint mime type definition and syntax highlighter files

Author: Christoph Fischer
Copyright (C) 2012 Christoph Fischer <chris@toph.de>

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

This file 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
Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA


=======
 SETUP
=======

All of the following instructions are for Ubuntu (12.04+). Paths might be
different on your distribution

1. Set up a new mime type (text/x-pinpoint) for pinpoint files (*.pin)

cp x-pinpoint.xml ~/.local/share/mime/packages/
update-mime-database ~/.local/share/mime

2. Copy the highlighter file to the appropriate location
cp pinpoint.lang ~/.local/share/gtksourceview-3.0/language-specs/

* To users of Fedora Linux the appropriate location is /usr/share/gtksourceview-3.0/language-specs/

3. Close all gedit windows 

4. Open any .pin file in gedit and enjoy syntax highlighting.

About

Pinpoint (https://live.gnome.org/Pinpoint) syntax highlighting for gedit

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published