Syntax highlighting, and eventually plugin, for the Fancy programming language.
This plugin is meant to be installed with pathogen. Simply clone it into your bundle directory and you're good to go!
- Keywords
class
def
try
catch
finally
retry
return
return_local
require:
match
->
=>
case
- Constants
- Special Variables
-
true,
false,
nil,
self,
super` - Conditional message selectors
if:then:
,if:then:else:
,unless:then:
,unless:then:else
,if_true:
,if_false:
- Loop message selectors
while:do:
,until:do:
,loop:
- Blocks
{ .. }
are recognized but nothing is done with them as yet
- Literal Strings (without interpolation)
- Literal Numbers
- Literal Symbols
- Here Documents
- Comments
- Slots (instance and class variables)
- Dynamically scoped variables (`stdin, stdout, stderr)
- Block arguments
- Regular Expressions (as strings)
- Syntax Highlighting
- Method Selectors
- Method Sends
- Interpolated Strings
- Regexp Internals
- Regexp flags
- Regexp interpolation
- Async
- Futures
- Indentation
- Indenting Block Openings
- De-indenting Block Closes
- And all the stuff I haven't seen or thought of yet.
Valid characters for symbols := % ^ & * - + = : | < > [ ] ? ! ~
Valid characters for identifiers := % ^ & * - + = < > ? ! ~