Josh Cheek
6a54ee767f
Set interpreters for Julia
...
Eg this file is not currently highlighted:
b766dcdbd2/julia/fullpath (L1)
2016-09-23 12:52:47 -07:00
Arfon Smith
a1901fceff
Bump version to v4.8.14
2016-09-22 21:03:33 -07:00
Arfon Smith
fc67fc525c
Merge pull request #3219 from Alhadis/emacs-files
...
Add .gnus, .viper and Project.ede as Emacs Lisp extensions
2016-09-22 08:10:12 -07:00
Lars Brinkhoff
a7a123a8db
Add heuristic for .inc files: the #declare keyword is unique to POV-Ray.
...
Also added #local, #macro, and #while.
2016-09-22 07:02:44 +02:00
Arfon Smith
ecd4ae3bda
Bumping to v4.8.13
2016-09-21 21:04:26 -07:00
Arfon Smith
6fcba83f3e
Merge branch 'master' into 3227-local
2016-09-21 20:55:07 -07:00
Todd Berman
d6d7d38eb8
Fix w/ a test
2016-09-21 20:52:49 -07:00
Arfon Smith
c8094d3775
Merge branch 'master' into 3227-local
2016-09-21 20:26:51 -07:00
Arfon Smith
de478d2f2d
Merge pull request #3235 from github/add_codemirror_mode
...
Add Codemirror modes
2016-09-21 20:17:48 -07:00
Arfon Smith
991dcef18b
Merge pull request #3223 from Alhadis/vimscript
...
Swap grammar used for Vimscript highlighting
2016-09-21 20:16:12 -07:00
Arfon Smith
f30e9270f1
Merge pull request #3197 from Alhadis/modelines
...
Revise patterns for Vim modeline detection
2016-09-21 20:13:28 -07:00
Arfon Smith
1d7ba18b15
M scope
2016-09-21 20:12:27 -07:00
Todd Berman
cc5f1c57ca
Add Codemirror modes
2016-09-20 23:23:22 -07:00
Andrew Case
82af10e3fd
add support for MQL4 and MQL5
2016-09-19 22:03:57 +03:00
Alhadis
697380336c
Revise pattern for Emacs modeline detection
...
This is a rewrite of the regex that handles Emacs modeline matching. The
current one is a little flaky, causing some files to be misclassified as
"E", among other things.
It's worth noting malformed modelines can still change a file's language
in Emacs. Provided the -*- delimiters are intact, and the mode's name is
decipherable, Emacs will set the appropriate language mode *and* display
a warning about a malformed modeline:
-*- foo-bar mode: ruby -*- # Malformed, but understandable
-*- mode: ruby--*- # Completely invalid
The new pattern accommodates this leniency, making no effort to validate
a modeline's syntax beyond readable mode-names. In other words, if Emacs
accepts certain errors, we should too.
2016-09-17 19:45:43 +10:00
Alhadis
5bc88814e2
Swap grammar used for Vimscript highlighting
2016-09-16 04:22:09 +10:00
Lars Brinkhoff
00efd6a463
Add FORTRAN keyword "data" to .f and .for heuristics. ( #3218 )
...
bug-185631.f sample from OpenFortranProject; BSD license.
2016-09-15 19:24:53 +02:00
Alhadis
81ca6e7766
Add "abbrev_defs" and "_emacs" as Elisp filenames
2016-09-15 18:57:35 +10:00
Alhadis
cd288a8ee4
Add .gnus, .viper and Project.ede as Emacs Lisp extensions
2016-09-15 17:06:59 +10:00
Arfon Smith
600115afed
Bumping to v4.8.12
2016-09-14 16:01:19 -07:00
Arfon Smith
6841b4d259
Updating to v4.8.11
2016-09-13 11:37:42 -07:00
Arfon Smith
a3227c2c27
Adding basic find_by_id functionality to Language
2016-09-13 11:09:05 -07:00
Arfon Smith
7cda13afcb
A Language should know about it's language_id
2016-09-12 22:02:49 -07:00
Arfon Smith
e0d890240b
Adding basic script for adding language_id fields to languages.yml
2016-09-12 21:35:10 -07:00
Alhadis
e73a4ecd0e
Allow " ex:" to match at beginning of file
...
Although unlikely to be valid syntax in most programming languages, such
a modeline is valid syntax in Vim, and will trigger any filetype modes.
2016-09-12 19:59:08 +10:00
Alhadis
70779c9986
Merge branch 'master' into modelines
2016-09-12 18:48:45 +10:00
Arfon Smith
fdec52c89a
Bumping to v4.8.10
2016-09-11 22:12:38 -07:00
Arfon Smith
28be72892e
Merge pull request #3173 from Alhadis/specfiles
...
Add support for RPM Spec files
2016-09-11 21:17:57 -07:00
Arfon Smith
6df0e4591d
Merge pull request #3198 from larsbrinkhoff/filebench
...
Add Filebench WML
2016-09-11 21:16:03 -07:00
Arfon Smith
ab2e640759
Merge pull request #3189 from Alhadis/batch-fix
...
Replace Batchfile grammar and cleanup submodule list
2016-09-11 19:52:51 -07:00
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
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
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
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
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
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
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
6adec161fa
Updating version to v4.8.9
2016-08-24 09:40:22 -07:00
Paul Chaignon
ff042a87a4
Grammar for REXX from Sublime Text package
2016-08-24 08:23:35 +02:00
Nikita Gryzlov
1868d1d190
Add 1C (BSL) language support
2016-08-19 10:21:48 +03:00
ajLangley12
705e234044
Added ASN.1 language package ( #3152 )
2016-08-13 10:25:59 +02:00