Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added Octave syntax highlighting to default conf. Thank you to Daniel…

…C for providing this.
  • Loading branch information...
commit bd286da1a2aac57e86e6b1a83262761aad369340 1 parent 82bb484
@Pistos authored
Showing with 33 additions and 1 deletion.
  1. +0 −1  diakonos-256-colour.conf
  2. +33 −0 diakonos.conf
View
1  diakonos-256-colour.conf
@@ -202,4 +202,3 @@ lang.interpolated_exec_ruby.tokens.interpolation.format 9 bold
lang.coffee.tokens.character_codes.format magenta bold
lang.coffee.tokens.long_comments.format 8 bold
lang.coffee.tokens.sql_string.format 1
-
View
33 diakonos.conf
@@ -1597,6 +1597,39 @@ lang.lua.indent.unindenters ([}\])])
lang.lua.indent.preventers (\".+?[^\\]\")|('.+?[^\\]')|(\/\/.*)
lang.lua.indent.ignore ^(.+:|\s*?)$
+# Octave
+
+lang.octave.filemask \.m$
+lang.octave.bangmask #!.*octave
+lang.octave.format.default white
+lang.octave.format.selection inverse
+lang.octave.format.found yellow inverse
+lang.octave.tokens.constants \b([A-Z_]+|[A-Z_][A-Z0-9_]+)\b
+lang.octave.tokens.constants.format yellow bold
+lang.octave.tokens.comments (#.*)
+lang.octave.tokens.comments.format cyan
+lang.octave.comment_string "# "
+lang.octave.tokens.doublequoted_strings (\".*?[^\\]\")
+lang.octave.tokens.doublequoted_strings.format green bold
+lang.octave.tokens.singlequoted_strings ('.*?[^\\]')
+lang.octave.tokens.singlequoted_strings.format green bold
+lang.octave.tokens.backquoted_strings (`.*?[^\\]`)
+lang.octave.tokens.backquoted_strings.format red bold
+lang.octave.tokens.reserved_words \b(break|case|catch|continue|else|elseif|end|endif|endfor|endfunction|endwhile|false|for|function|global|if|otherwise|persistent|return|setenv|switch|true|try|while)\b
+lang.octave.tokens.reserved_words.format magenta bold
+lang.octave.tokens.non_alphanum [@!#$%^&*()\[\]{}/?=+\-\\|,<.>;:~]
+lang.octave.tokens.non_alphanum.format white
+lang.octave.tokens.numbers \b(([+-])?\d+(\.\d+)?(e\w+)?)\b
+lang.octave.tokens.numbers.format yellow bold
+lang.octave.indent.size 4
+lang.octave.indent.auto true
+lang.octave.indent.roundup true
+#lang.octave.indent.using_tabs true
+lang.octave.indent.indenters \b(case|catch|else|elseif|end|endif|endfor|endfunction|for|function|if|otherwise|switch|try|while)\b
+lang.octave.indent.unindenters \b(else|elseif|end|endif|endfor|endfunction|endwhile)\b
+lang.octave.indent.preventers (\".+?[^\\]\")|('.+?[^\\]')|(`.+?[^\\]`)|(^\s*#.*)
+lang.octave.indent.ignore ^\s*$
+
# Other configuration files can be included.
# If a setting is specified again, it overrides the previous setting given
# higher up in the configuration file(s).
Please sign in to comment.
Something went wrong with that request. Please try again.