Commit Graph

5631 Commits

Author SHA1 Message Date
Alhadis 22d4865c52 Revise patterns for Vim modeline detection
The current expressions fail to match certain permutations of options:

    vim: noexpandtab: ft=javascript:
    vim: titlestring=foo\ ft=notperl ft=javascript:

Version-specific modelines are also unaccounted for:

    vim600: set foldmethod=marker ft=javascript:   # >= Vim 6.0
    vim<600: set ft=javascript:                    # <  Vim 6.0

See http://vimdoc.sourceforge.net/htmldoc/options.html#modeline
2016-09-11 00:51:03 +10:00
Alhadis 3247d46e81 Chop trailing slashes before looking up language 2016-09-09 16:33:21 +10:00
Lars Brinkhoff dad3191238 Add Filebench Workload Model Language.
Sample file from filebench project, Sun CDDL license.
2016-09-09 08:27:17 +02:00
Alhadis 35a13b3633 Add .spec as a supported Python and Ruby extension 2016-09-09 05:41:46 +10:00
Alhadis 56fb48ea96 Merge branch 'master' into specfiles 2016-09-09 05:07:55 +10:00
Lars Brinkhoff 983ff20d3c Merge pull request #3195 from larsbrinkhoff/r
Recognise R comments in heuristic.
2016-09-07 18:57:45 +02:00
Lars Brinkhoff 2d51a5dba4 Recognise R comments in heuristic. 2016-09-07 08:05:22 +02:00
Arfon Smith df98c86acd Merge pull request #3183 from akhtars/master
Add support for Schematron XML validation files (.sch)
2016-09-06 14:22:49 -07:00
Alhadis 98118eb70b Add new grammar for MSDOS Batchfile highlighting 2016-09-07 06:05:02 +10:00
Alhadis 1ec84da277 Remove dangling submodules 2016-09-07 06:04:51 +10:00
Alhadis 3112e6deda Normalise .gitmodules formatting 2016-09-07 06:03:35 +10:00
Alhadis be316c2943 Update contributor notes to mention new script 2016-09-07 05:36:00 +10:00
Alhadis 68c45be47d Flatten whitespace 2016-09-07 04:37:04 +10:00
Alhadis 4584963dd2 Add logic to update submodules and licenses 2016-09-07 04:26:45 +10:00
Alhadis f382abc2f3 Add logic to consume and parse options 2016-09-07 03:14:49 +10:00
Alhadis 9d57e1e1b5 Remove debugging vestige 2016-09-07 00:59:13 +10:00
Alhadis 2a4150b104 Butcher whitespace to appease tab-hating heretics 2016-09-07 00:23:31 +10:00
Alhadis 09612ae42e Add logic to update Markdown file 2016-09-07 00:21:05 +10:00
Alhadis 49e9ee48d0 Make grammar-listing code more modular 2016-09-07 00:09:24 +10:00
Alhadis a8719f3e82 Add script to generate grammars-list in Markdown 2016-09-06 23:07:18 +10:00
Arfon Smith 04e1cc6d0a Merge pull request #3079 from pchaigno/yaml-grammars
YAML grammar files
2016-09-04 16:54:35 -07:00
Paul Chaignon dd7b125869 Merge pull request #3174 from Alhadis/emacs-lisp
Use a dedicated grammar for Emacs Lisp highlighting
2016-09-04 19:48:42 +02:00
Arfon Smith 426818120c Merge pull request #3176 from Alhadis/typo-fixes
Fix typos
2016-09-04 08:46:31 -07:00
Shaun Akhtar 50bd2cc3c8 Add support for Schematron XML validation files (.sch)
Update languages.yml and add three public domain sample documents.
2016-08-31 12:56:02 -04:00
Adrian Sieber 00647be113 Exclude "dist" directory from language statistics 2016-08-31 14:56:07 +00:00
Alhadis e930ee1a8e Fix typos 2016-08-29 02:24:21 +10:00
Alhadis 48b64c2d31 Add CSON samples 2016-08-29 01:57:32 +10:00
Alhadis f95365946c Separate CSON from CoffeeScript 2016-08-29 01:56:05 +10:00
Alhadis 5ddccaac83 Add ".spacemacs" as a recognised filename 2016-08-29 01:08:10 +10:00
Alhadis 51d7c8f905 Use a dedicated grammar to highlight Emacs Lisp 2016-08-29 00:52:15 +10:00
Alhadis ed71855612 Add sample .spec files 2016-08-29 00:28:18 +10:00
Alhadis 742faebd8b Add RPM Spec files to languages list 2016-08-29 00:25:33 +10:00
Paul Chaignon 6763b73d9c Fix .ts heuristic rule (#3171)
Use the opening TS tag instead of the closing tag since
the closing tag might be at the end of the file,
after the max number of lines we read with a LazyBlob
2016-08-27 21:01:58 +02:00
Arfon Smith 5c3744dfd6 Merge pull request #3165 from github/cut-release-v4.8.9
Linguist v4.8.9
v4.8.9
2016-08-26 13:17:32 -07:00
Arfon Smith cb5bc91fe3 Grammar update 2016-08-25 09:22:13 -07:00
Arfon Smith 9171ee602b Ordering 2016-08-24 23:02:54 -07:00
Arfon Smith 4da0463768 Typo fix 2016-08-24 23:01:25 -07:00
Arfon Smith 8d0a2d9dc1 Grammar re-ordering 2016-08-24 22:59:42 -07:00
Arfon Smith 6a2cebea7d Updating location of XQuery grammar 2016-08-24 22:56:17 -07:00
Arfon Smith ae10395b3a Updating location of VHDL grammar 2016-08-24 22:53:49 -07:00
Arfon Smith 510abc7cee Updating location of SecondLife LSL grammar 2016-08-24 22:51:13 -07:00
Arfon Smith e8a700e4e3 Updating location of Parrot grammar 2016-08-24 22:48:10 -07:00
Arfon Smith c13e384e18 Updating location of Forth grammar 2016-08-24 22:44:36 -07:00
Arfon Smith 4204078b19 Updating location of Cython grammar 2016-08-24 22:40:08 -07:00
Arfon Smith 17fc3d0640 Blitzmax license 2016-08-24 22:31:08 -07:00
Arfon Smith 7715254212 Moving blitzmax grammar to GitHub-hosted copy 2016-08-24 20:48:31 -07:00
Arfon Smith 2f50aa460a Removing nuked grammars 2016-08-24 09:50:12 -07:00
Arfon Smith 6adec161fa Updating version to v4.8.9 2016-08-24 09:40:22 -07:00
Arfon Smith c802ba3a1d Grammar update 2016-08-24 09:37:47 -07:00
Arfon Smith 06e80f3889 Grammar update 2016-08-24 09:30:20 -07:00