Git Product home page Git Product logo

geany-syntax's Introduction

Geany Syntax Files

Description

The geany-syntax repository provides a collection of syntax files for Geany. The following syntax files are available:

Installation

Installing the Syntax Files

To install any of the available syntax files, change into the directory with your local copy of this repository and run the following command:

cp filetypes.<filetype>.conf ~/.config/geany/filedefs/

For example, to install the syntax file for Mallard, type:

cp filetypes.Mallard.conf ~/.config/geany/filedefs/

This copies the selected file to the ~/.config/geany/filedefs/ directory. Note that the directory must exist prior to running this command; to create it, type the following at a shell prompt:

install -d ~/.config/geany/filedefs/

Adding Support for the File Type

To add support for the selected file type, start Geany and select ToolsConfiguration Filesfiletype_extensions.conf from the menu. This opens the ~/.config/geany/filetype_extensions.conf file in the editor.

  1. In the file, add a line in the following format to the [Extensions] section:

    <filetype>=*.<extension>;
    

    For example, to add support for the Mallard markup language that uses the .page file extension, type:

    Mallard=*.page;
    
  2. In the same file, add the file type to one of the groups in the [Groups] section:

    <group>=<filetype>;
    

    For example, to add the Mallard markup language to the Markup group, type:

    Markup=Mallard;
    

The changes take effect the next time you start the editor.

Copyright

Copyright © 2013 Jaromir Hradilek

This program is free software; see the source for copying conditions. It 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.

geany-syntax's People

Contributors

jhradilek avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.