ignorePrefix : '#'
foldPrefix : '^'
Haskell :
nameMatchers : ['.hs']
pygmentsLexer : 'haskell'
singleLineComment : ['--']
ignorePrefix : '}'
foldPrefix : '^'
Jade :
nameMatchers : ['.jade']
pygmentsLexer : 'jade'
singleLineComment : ['//', '//-']
ignorePrefix : '}'
foldPrefix : '^'
Java :
nameMatchers : ['.java']
pygmentsLexer : 'java'
singleLineComment : ['//']
ignorePrefix : '}'
foldPrefix : '^'
namespace :
separator : '.'
types : []
JavaScript :
nameMatchers : ['.js']
pygmentsLexer : 'javascript'
multiLineComment : ['/*', '*', '*/']
singleLineComment : ['//']
ignorePrefix : '}'
foldPrefix : '^'
doctags : require './doc_tags'
namespace :
separator : '.'
types : [
require './namespace/javascript_globals.json'
require './namespace/javascript_dom.json'
]
Jake :
nameMatchers : ['.jake']
pygmentsLexer : 'javascript'
singleLineComment : ['//']
ignorePrefix : '}'
foldPrefix : '^'
JSON :
nameMatchers : ['.json']
pygmentsLexer : 'json'
codeOnly : true
LaTeX :
nameMatchers : ['.tex', '.latex', '.sty']
pygmentsLexer : 'latex'
singleLineComment : ['%']
ignorePrefix : '}'
foldPrefix : '^'
LESS :
nameMatchers : ['.less']
pygmentsLexer : 'sass' # TODO: is there a less lexer? No. Maybe in the future.
singleLineComment : ['//']
ignorePrefix : '}'
foldPrefix : '^'
Lua :
nameMatchers : ['.lua']
pygmentsLexer : 'lua'
singleLineComment : ['--']
ignorePrefix : '}'
foldPrefix : '^'
namespace :
separator : '.'
types : []
Make :
nameMatchers : ['Makefile']
pygmentsLexer : 'make'
singleLineComment : ['#']
ignorePrefix : '}'
foldPrefix : '^'
Mustache :
nameMatchers : ['.mustache']
pygmentsLexer : 'html' # TODO: is there a handlebars/mustache lexer? Nope. Lame.
multiLineComment : ['{{!', '', '}}']
ignorePrefix : '#'
foldPrefix : '^'
'Objective-C' :
nameMatchers : ['.m', '.mm']
pygmentsLexer : 'objc'
singleLineComment : ['//']
ignorePrefix : '}'
foldPrefix : '^'
Perl :
nameMatchers : ['.pl', '.pm']
pygmentsLexer : 'perl'
singleLineComment : ['#']
ignorePrefix : '}'
foldPrefix : '^'
namespace :
separator : '::'
types : []
PHP :
nameMatchers : [/\.php\d?$/, '.fbp']
pygmentsLexer : 'php'
singleLineComment : ['//']
ignorePrefix : '}'
foldPrefix : '^'
namespace :
separator : '\\'
types : []
Puppet :
nameMatchers : ['.pp']
pygmentsLexer : 'puppet'
singleLineComment : ['#']
ignorePrefix : '}'
foldPrefix : '^'
Python :
nameMatchers : ['.py']
pygmentsLexer : 'python'
singleLineComment : ['#']
ignorePrefix : '}'
foldPrefix : '^'
namespace :
separator : '.'
types : []
Ruby :
nameMatchers : ['.rb', '.ru', '.gemspec']
pygmentsLexer : 'ruby'
singleLineComment : ['#']
ignorePrefix : '}'
foldPrefix : '^'
namespace :
separator : '.'
types : []
Sass :
nameMatchers : ['.sass']
pygmentsLexer : 'sass'
singleLineComment : ['//']
ignorePrefix : '}'
foldPrefix : '^'
SCSS :
nameMatchers : ['.scss']
pygmentsLexer : 'scss'
singleLineComment : ['//']
ignorePrefix : '}'
foldPrefix : '^'
Shell :
nameMatchers : ['.sh']
pygmentsLexer : 'sh'
singleLineComment : ['#']
ignorePrefix : '}'
foldPrefix : '^'
SQL :
nameMatchers : ['.sql']
pygmentsLexer : 'sql'
singleLineComment : ['--']
ignorePrefix : '}'
foldPrefix : '^'
YAML :
nameMatchers : ['.yml', '.yaml']
pygmentsLexer : 'yaml'
singleLineComment : ['#']
ignorePrefix : '}'
foldPrefix : '^'
Supported Languages