98 Commits

Author SHA1 Message Date
Simon Marchi
13ef73d109 Recognize .exp (Expect) files as Tcl
Expect [1] scripts filenames generally end in .exp, although the code
itself is actually in Tcl.  I find my self manually selecting Tcl quite
often, so I think it would be nice if Geany would recognize it direcly
as Tcl.

[1] http://expect.sourceforge.net/

Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
2016-09-09 20:52:01 -07:00
Colomban Wendling
60147a8c8d Merge pull request #857 from techee/cpp_h
Treat the "h" extension as a C++ file
2016-06-10 23:30:02 +02:00
Daniel Șuteu
f3a5dd609a Add file-extensions for Clojure
The extensions are from Wikipedia: https://en.wikipedia.org/wiki/Clojure

Closes #842.
2016-01-18 03:43:35 +01:00
Jiří Techet
c7bf89a464 Treat the "h" extension as a C++ file
The extension is used by both C and C++ and lexing/parsing C headers with
the C++ parser causes less problems (identifiers named like C++ keywords
get highlighted and tags aren't generated for them) than parsing C++
headers with the C parser (parsing and lexing completely broken).
2016-01-07 23:28:18 +01:00
Devyn Collier Johnson
d1fcd9f226 Add *.asm51 and *.a51 extensions for 8051 assembly
The *.a51 extension is also used for Adobe Authorware files, but we are
unlikely to ever support those.

Closes #739
2015-12-19 17:31:06 -08:00
Andrea Stacchiotti
402e669be1 Added some extra Markdown extensions 2015-12-16 03:09:31 +01:00
Devyn Collier Johnson
ac48644904 Update filetype_extensions.conf
Changes
- Ensured consistency by ending every line with a semicolon
- Added two MathML file-extensions (*.mml and *.mathml;) to "XML="

Justification for proposed changes
- Code consistency is important in programming
- MathML is a form of XML that is commonly used and is part of the HTML5 standard
- W3 MathML Specification: http://www.w3.org/TR/MathML3/
- Geany properly highlights the code when the MathML file-extension is recognized
2015-11-03 10:38:43 -05:00
elextr
06f2cbe6f6 Add ".adoc" extension to asciidoc filetype
Closes #708
2015-10-23 16:34:25 +10:00
Colomban Wendling
db30fdc6ec Recognize XPM files as C sources 2015-06-27 15:17:34 +02:00
Enrico Tröger
3b1f20037b Merge pull request #291 from bittner/master
Autodetect .bashrc, .bash_aliases, and the like
2015-06-18 23:11:32 +02:00
Peter Bittner
3ad1627249 Autodetect .bashrc, .bash_aliases, and the like
Autodetect /etc/bash_completion (and the like)

Splitted up autodetection patterns for Bash

This will match:

- `*.bash` (any manufactured Bash scripts)
- `~/.bashrc` (hidden Bash configuration in your home directory)
- `~/.bash_*` (partials included by bashrc, e.g. `.bash_aliases`,  `.bash_history`,  `.bash_logout`)
- `/etc/bash.bashrc` (global Bash configuration)
- `/etc/bash_completion` (and potentially any other `/etc/bash_*` file)
2015-06-18 00:21:40 +02:00
Colomban Wendling
1bed458ab9 Merge pull request #270 from b4n/zephir-filetype
Zephir filetype
2015-04-09 01:06:57 +02:00
Colomban Wendling
b0cf3b4e2d Add JSON custom filetype
Closes #384.
2015-01-31 20:27:07 +01:00
Colomban Wendling
94aa892c81 Merge pull request #373 from techee/go_ctags
Add a Go ctags parser.
2014-11-30 02:03:00 +01:00
Jiří Techet
ccb15a31be Add the go ctags parser
Make go one of the builtin filetypes, add the parser and update the related
source and config files. While there, remove Rust from [Groups] in
filetype_extensions.conf because it's already a builtin filetype as well.

The parser itself is stolen from the fishman/ctags repo.
2014-11-30 01:35:00 +01:00
Mark Dresselhaus
07002d252a Add coffescript syntax highlighting
imported lexer from Scintilla and added coffeescript filetype
2014-11-26 19:52:20 +01:00
elextr
c250195b81 Add HTML and XML template extensions
Add *.tpl and *.xtpl.
2014-07-30 16:07:50 +10:00
Colomban Wendling
b1f93c2977 Add Zephir filetype 2014-05-15 17:03:56 +02:00
NiKaro127
ace6d6b3ed Add VBS extension to FreeBasic syntax
Just adding '*.vbs' to 'FreeBasic' line.
2014-05-04 05:13:21 +02:00
SiegeLord
3d7ade4e02 Integrate the Rust lexer with the rest of Geany's functionality 2014-01-14 12:50:38 -05:00
Nick Treleaven
a408938e95 Set group for Clojure filetype 2013-10-13 12:57:37 +01:00
Igor Shaula
df589a9d52 Add PowerShell filetype
Windows PowerShell is a command-line shell and associated scripting language
which comes out of the box with Windows 7/Server 2008/8/Server 2012.

Original lexer from Scintilla is used.
2013-08-15 19:44:33 -07:00
Antoine Turmel
ef7b092ef9 Adding .properties file under Conf markup
See http://en.wikipedia.org/wiki/.properties

Closes #162
2013-08-15 18:02:47 -07:00
Benjamin Chrétien
1a185d87a4 Add CUDA C/C++ support
Closes #147
2013-08-15 17:55:36 -07:00
YosefOr
706abfbf38 Add detection of PKGBUILD files as Shell scripts
Closes #120
2013-08-15 15:21:42 -07:00
Miro Hrončok
9e22ec8535 Added Graphviz custom filetype
Closes #125
2013-08-15 15:10:45 -07:00
Ypnose
b11a3adb7b Add detection support for various Shell scripts
* Add shebang detection of mksh and tcsh.
* Add file extension detection of mksh, tcsh, and the various
"profile" shell scripts.

Closes #126
2013-08-15 14:48:06 -07:00
exbb2
09e7d8398f Haskell filetype improvements and support for Literal Haskell
Closes #155 and also closes #139
2013-08-14 23:16:39 -07:00
canou
b518770dea Add support for DOS, OS/2 and Windows batch files
* Uses existing LexOthers.cxx from Scintilla already in use by Geany
* "identifier" style mapping goes to "string" for better presentation
even if it's semantically incorrect, we'll change it back if it causes
issues for anyone.
* Filetype configuration and keywords taken from Don Ho's Notepad++.

Closes #160
2013-08-14 23:04:35 -07:00
Fabio Ticconi
a08f595b35 Erlang filetype and snippets improvements
* Add .hrl Erlang "header" file
* Add some useful snippets
* Add template for Erlang files as per EDocs guidelines

Closes #157
2013-08-14 22:19:14 -07:00
Antoine Turmel
db140bb614 Adding .xul and .dtd extensions with XML
See: http://en.wikipedia.org/wiki/.xul and http://en.wikipedia.org/wiki/.dtd

Closes #161
2013-08-14 21:38:47 -07:00
Edwin Lee
fbc6bdc850 Add some missing Fortran file extensions
Updated Fortran file extensions to include f08 (Fortran 2008) and all
the preprocessor Fortran extensions.
2013-06-24 23:22:30 +02:00
Enrico Tröger
0d6101f0ca Merge pull request #133 from gentoo90/waf
Update waf to version 1.7.10 and fix wscript to fit new API
2013-04-24 12:45:19 -07:00
Frank Lanitz
377f75f291 Adding *.aux and *.bib as default (La)TeX file types 2013-04-16 13:06:08 +02:00
Igor Shaula
666f471c78 Update waf to version 1.7.10 and fix wscript to fit new API 2013-04-14 15:02:36 +03:00
Igor Shaula
68f3a9fe5a Filetypes: Add some Ruby file extensions 2013-03-19 15:07:43 +01:00
Nick Treleaven
0cf495a6db Add Rust filetype
(See also: rust-lang.org)
2013-03-16 14:14:41 +00:00
tomboy64
51c541faa2 Add support for the Go programming language
- syntax highlighting
- support for the go compiler (as opposed to gccgo)
2013-03-10 06:10:26 -07:00
Baptiste Pierrat
d4e61bf093 Add support for Abaqus files
Support for Abaqus (.inp) files, including scintilla lexer and tag
parser.

Signed-off-by: Baptiste Pierrat <baptiste.pierrat@gmail.com>
2013-02-12 14:56:38 +01:00
Stephen Coleman
911e5dca17 Detect SCons configuration files as Python
SCons configuration files are plain Python, just without the .py
extension.
2013-02-01 15:35:56 +01:00
Lex
8294ea2c2e Add Asciidoc filetype
Add a filetype for Asciidoc with symbol parser, but not styling.
2013-01-17 15:43:24 +11:00
Colomban Wendling
2297badbd7 Use "scala" extension for Scala
Closes #3574723.
2012-10-05 12:43:10 +02:00
Matthew Brush
510bbfbb05 Add .mm extension for Objective-C filetype 2012-02-15 17:05:25 -08:00
Colomban Wendling
8942bc810b Add Objective-C support
Based on a patch from Elias Pschernig, thanks.
Parser was taken from upstream CTags.

Closes patch#3325139.
2011-11-13 01:05:24 +01:00
Colomban Wendling
e5e5d43dbb Add Markdown extensions from Shared MIME-Info database
Closes #3405321.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5911 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-12 22:49:03 +00:00
Colomban Wendling
02dcab4b14 Add Cython filetype
Patch by Matthew Brush, thanks.

Also remove the Cython keywords from Python filetype.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5889 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-08-18 23:01:45 +00:00
Nick Treleaven
418a77b9bd Revert 'Compiled' filetype group back to 'Programming' (couldn't
agree on whether e.g. Java is a compiled language).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5749 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-30 15:09:07 +00:00
Nick Treleaven
fed9ea9a4a Remove Typoscript reference (oops).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5744 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-29 15:41:24 +00:00
Nick Treleaven
05394fdf27 Make filetype groups configurable using [Groups] in
filetype_extensions.conf.
Read filetype_extensions.conf when calling filetypes_init_types(),
don't require doclist initialization.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5740 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-26 15:01:04 +00:00
Nick Treleaven
55336b6cd8 Add Scala custom filetype, based on file by werg (thanks).
(This uses the newly added [styling=C] syntax).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5602 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-03-17 16:51:18 +00:00