├── src ├── .gitignore ├── lua-5.3.3 │ ├── doc │ │ ├── logo.gif │ │ ├── osi-certified-72x60.png │ │ ├── index.css │ │ └── manual.css │ ├── README │ └── src │ │ ├── lua.hpp │ │ ├── lapi.h │ │ ├── lundump.h │ │ ├── lprefix.h │ │ ├── lualib.h │ │ ├── ldebug.h │ │ ├── lstring.h │ │ ├── lzio.c │ │ └── lzio.h ├── Makevars ├── highlight │ └── include │ │ ├── version.h │ │ └── platform_fs.h └── RcppExports.cpp ├── inst ├── langDefs │ ├── frink.lang │ ├── lhs.lang │ ├── pltcl.lang │ ├── txt.lang │ ├── plperl.lang │ ├── plpython.lang │ ├── bbcode.lang │ ├── nice.lang │ ├── md.lang │ ├── diff.lang │ ├── xpp.lang │ ├── conf.lang │ ├── scala.lang │ ├── ini.lang │ ├── upc.lang │ ├── xml.lang │ ├── sybase.lang │ ├── bnf.lang │ ├── ebnf.lang │ ├── moon.lang │ ├── nginx.lang │ ├── bibtex.lang │ ├── yaiff.lang │ ├── lindenscript.lang │ ├── r.lang │ ├── rebol.lang │ ├── nasal.lang │ ├── sas.lang │ ├── json.lang │ ├── lilypond.lang │ ├── limbo.lang │ ├── mxml.lang │ ├── abnf.lang │ ├── svg.lang │ ├── pure.lang │ ├── hcl.lang │ ├── small.lang │ ├── less.lang │ ├── qmake.lang │ ├── dts.lang │ ├── squirrel.lang │ ├── ps.lang │ ├── n3.lang │ ├── styl.lang │ ├── clean.lang │ ├── snobol.lang │ ├── icon.lang │ ├── scss.lang │ ├── luban.lang │ ├── os.lang │ ├── smalltalk.lang │ ├── fortran77.lang │ ├── abc.lang │ ├── tex.lang │ ├── awk.lang │ ├── spn.lang │ ├── algol.lang │ ├── oz.lang │ ├── sml.lang │ ├── bcpl.lang │ ├── agda.lang │ ├── lisp.lang │ ├── q.lang │ ├── dart.lang │ ├── oberon.lang │ ├── chill.lang │ ├── haxe.lang │ ├── kotlin.lang │ ├── qu.lang │ ├── eiffel.lang │ ├── java.lang │ ├── tcsh.lang │ ├── modelica.lang │ ├── jsp.lang │ ├── asp.lang │ ├── whiley.lang │ ├── fx.lang │ ├── boo.lang │ ├── lotos.lang │ ├── mercury.lang │ ├── charmm.lang │ ├── clojure.lang │ ├── go.lang │ ├── julia.lang │ ├── mod2.lang │ ├── netrexx.lang │ ├── ttcn3.lang │ ├── css.lang │ ├── ceylon.lang │ ├── nxc.lang │ ├── dylan.lang │ ├── ms.lang │ ├── ocaml.lang │ ├── pony.lang │ ├── crk.lang │ ├── html.lang │ ├── msl.lang │ ├── nemerle.lang │ ├── mod3.lang │ ├── ascend.lang │ ├── rs.lang │ ├── vb.lang │ ├── felix.lang │ ├── vala.lang │ ├── fortran90.lang │ ├── ats.lang │ ├── fsharp.lang │ ├── rnc.lang │ ├── nim.lang │ ├── swift.lang │ ├── objc.lang │ ├── pro.lang │ ├── znn.lang │ ├── chpl.lang │ ├── inc_luatex.lang │ ├── erlang.lang │ └── miranda.lang └── themes │ ├── breeze.theme │ ├── camo.theme │ ├── dante.theme │ ├── clarity.theme │ ├── autumn.theme │ ├── bclear.theme │ ├── biogoo.theme │ ├── candy.theme │ ├── darkbone.theme │ ├── baycomb.theme │ ├── denim.theme │ ├── leo.theme │ ├── neon.theme │ ├── night.theme │ ├── tabula.theme │ ├── anotherdark.theme │ ├── peaksea.theme │ ├── matrix.theme │ ├── rootwater.theme │ ├── aiseered.theme │ ├── bluegreen.theme │ ├── darkslategray.theme │ ├── dusk.theme │ ├── nuvola.theme │ ├── rdark.theme │ ├── relaxedgreen.theme │ ├── xoria256.theme │ ├── fruit.theme │ ├── maroloccio.theme │ ├── moria.theme │ ├── nightshimmer.theme │ ├── zmrok.theme │ ├── molokai.theme │ ├── tcsoft.theme │ ├── freya.theme │ ├── kellys.theme │ ├── manxome.theme │ ├── bright.theme │ ├── darkspectrum.theme │ ├── ekvoli.theme │ ├── navajo-night.theme │ ├── edit-matlab.theme │ ├── olive.theme │ ├── solarized-dark.theme │ ├── solarized-light.theme │ ├── earendel.theme │ ├── zenburn.theme │ ├── darkblue.theme │ ├── darkness.theme │ ├── edit-vim.theme │ ├── edit-gedit.theme │ ├── edit-xcode.theme │ ├── orion.theme │ ├── andes.theme │ ├── edit-vim-dark.theme │ ├── fine_blue.theme │ ├── edit-flashdevelop.theme │ ├── edit-msvs2008.theme │ ├── lucretia.theme │ ├── blacknblue.theme │ ├── edit-kwrite.theme │ ├── greenlcd.theme │ ├── navy.theme │ ├── zellner.theme │ ├── edit-anjuta.theme │ ├── pablo.theme │ ├── edit-emacs.theme │ ├── rand01.theme │ ├── seashell.theme │ ├── vampire.theme │ ├── easter.theme │ ├── edit-jedit.theme │ ├── acid.theme │ ├── moe.theme │ ├── whitengrey.theme │ ├── edit-eclipse.theme │ ├── golden.theme │ ├── the.theme │ ├── bipolar.theme │ ├── print.theme │ ├── edit-nedit.theme │ └── oxygenated.theme ├── .gitignore ├── NAMESPACE ├── .travis.yml ├── .Rbuildignore ├── R └── RcppExports.R ├── highlite.Rproj ├── README.md ├── DESCRIPTION └── appveyor.yml /src/.gitignore: -------------------------------------------------------------------------------- 1 | *.o 2 | *.so 3 | *.dll 4 | -------------------------------------------------------------------------------- /inst/langDefs/frink.lang: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jimhester/highlite/HEAD/inst/langDefs/frink.lang -------------------------------------------------------------------------------- /src/lua-5.3.3/doc/logo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jimhester/highlite/HEAD/src/lua-5.3.3/doc/logo.gif -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .Rproj.user 2 | .Rhistory 3 | .RData 4 | *.a 5 | src/lua-5.3.3/src/lua 6 | src/lua-5.3.3/src/luac 7 | src/lua-5.3.3/install 8 | -------------------------------------------------------------------------------- /src/lua-5.3.3/doc/osi-certified-72x60.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jimhester/highlite/HEAD/src/lua-5.3.3/doc/osi-certified-72x60.png -------------------------------------------------------------------------------- /NAMESPACE: -------------------------------------------------------------------------------- 1 | # Generated by roxygen2: do not edit by hand 2 | 3 | export(highlight_string) 4 | importFrom(Rcpp,sourceCpp) 5 | useDynLib(highlite) 6 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | # R for travis: see documentation at https://docs.travis-ci.com/user/languages/r 2 | 3 | language: R 4 | sudo: false 5 | cache: packages 6 | -------------------------------------------------------------------------------- /src/lua-5.3.3/README: -------------------------------------------------------------------------------- 1 | 2 | This is Lua 5.3.3, released on 30 May 2016. 3 | 4 | For installation instructions, license details, and 5 | further information about Lua, see doc/readme.html. 6 | 7 | -------------------------------------------------------------------------------- /inst/langDefs/lhs.lang: -------------------------------------------------------------------------------- 1 | 2 | 3 | dofile(HL_LANG_DIR.."haskell.lang") 4 | 5 | Description="Haskell LHS" 6 | 7 | Comments={ 8 | { Block=false, 9 | Delimiter= { [[^\s*([^\>].*)]] }, 10 | }, 11 | } 12 | -------------------------------------------------------------------------------- /.Rbuildignore: -------------------------------------------------------------------------------- 1 | ^.*\.Rproj$ 2 | ^\.Rproj\.user$ 3 | ^src/lua-5\.3\.3/src/lua$ 4 | ^src/lua-5\.3\.3/src/luac$ 5 | ^src/lua-5\.3\.3/install/bin$ 6 | ^src/.*o$ 7 | ^src/.*a$ 8 | ^\.travis\.yml$ 9 | ^appveyor\.yml$ 10 | -------------------------------------------------------------------------------- /inst/langDefs/pltcl.lang: -------------------------------------------------------------------------------- 1 | -- Load PL/SQL definition 2 | dofile(HL_LANG_DIR.."sql.lang") 3 | 4 | Description="PL/Tcl" 5 | 6 | NestedSections = { 7 | { Lang="tcl", Delimiter= { [[\$\$]], [[\$\$\s+LANGUAGE]] } }, 8 | } 9 | -------------------------------------------------------------------------------- /inst/langDefs/txt.lang: -------------------------------------------------------------------------------- 1 | 2 | Description="Plain text" 3 | 4 | Keywords={ 5 | } 6 | 7 | Comments={ 8 | } 9 | 10 | -- disable highlighting of numbers 11 | Digits = Identifiers 12 | 13 | 14 | EnableIndentation=true -------------------------------------------------------------------------------- /inst/langDefs/plperl.lang: -------------------------------------------------------------------------------- 1 | -- Load PL/SQL definition 2 | dofile(HL_LANG_DIR.."sql.lang") 3 | 4 | Description="PL/Perl" 5 | 6 | NestedSections = { 7 | { Lang="perl", Delimiter= { [[\$\$]], [[\$\$\s+LANGUAGE]] } }, 8 | } 9 | -------------------------------------------------------------------------------- /inst/langDefs/plpython.lang: -------------------------------------------------------------------------------- 1 | -- Load PL/SQL definition 2 | dofile(HL_LANG_DIR.."sql.lang") 3 | 4 | Description="PL/Python" 5 | 6 | NestedSections = { 7 | { Lang="python", Delimiter= { [[\$\$]], [[\$\$\s+LANGUAGE]] } }, 8 | } 9 | -------------------------------------------------------------------------------- /inst/langDefs/bbcode.lang: -------------------------------------------------------------------------------- 1 | 2 | Description="BBcode" 3 | 4 | Keywords={ 5 | { Id=1, 6 | Regex=[[ \[\/?\w+|\] ]], 7 | Group=0, 8 | }, 9 | { Id=2, 10 | Regex=[=[#[[:xdigit:]]{6}]=], 11 | }, 12 | } 13 | 14 | IgnoreCase=true 15 | 16 | -------------------------------------------------------------------------------- /src/lua-5.3.3/src/lua.hpp: -------------------------------------------------------------------------------- 1 | // lua.hpp 2 | // Lua header files for C++ 3 | // <> not supplied automatically because Lua also compiles as C++ 4 | 5 | extern "C" { 6 | #include "lua.h" 7 | #include "lualib.h" 8 | #include "lauxlib.h" 9 | } 10 | -------------------------------------------------------------------------------- /inst/langDefs/nice.lang: -------------------------------------------------------------------------------- 1 | 2 | dofile(HL_LANG_DIR.."java.lang") 3 | 4 | Description="Nice" 5 | 6 | -- append keywords to Java keywords 7 | table.insert(Keywords, 8 | { Id=1, 9 | List={"native", "requires", "ensures", "let", "var"}, 10 | } 11 | ) 12 | -------------------------------------------------------------------------------- /src/lua-5.3.3/doc/index.css: -------------------------------------------------------------------------------- 1 | ul { 2 | list-style-type: none ; 3 | } 4 | 5 | ul.contents { 6 | padding: 0 ; 7 | } 8 | 9 | table { 10 | border: none ; 11 | border-spacing: 0 ; 12 | border-collapse: collapse ; 13 | } 14 | 15 | td { 16 | vertical-align: top ; 17 | padding: 0 ; 18 | text-align: left ; 19 | line-height: 1.25 ; 20 | width: 15% ; 21 | } 22 | -------------------------------------------------------------------------------- /src/lua-5.3.3/doc/manual.css: -------------------------------------------------------------------------------- 1 | h3 code { 2 | font-family: inherit ; 3 | font-size: inherit ; 4 | } 5 | 6 | pre, code { 7 | font-size: 12pt ; 8 | } 9 | 10 | span.apii { 11 | color: gray ; 12 | float: right ; 13 | font-family: inherit ; 14 | font-style: normal ; 15 | font-size: small ; 16 | } 17 | 18 | h2:before { 19 | content: "" ; 20 | padding-right: 0em ; 21 | } 22 | -------------------------------------------------------------------------------- /inst/langDefs/md.lang: -------------------------------------------------------------------------------- 1 | Description="GitHub Flavored Markdown" 2 | 3 | Keywords={ 4 | { Id=1, 5 | Regex=[[^##?#?#?#?#?.+]], 6 | }, 7 | { Id=2, 8 | Regex=[[(\[.+?\])\(http]], 9 | }, 10 | { Id=3, 11 | Regex=[[\(http.+?\) ]], 12 | }, 13 | { Id=4, 14 | Regex=[[ ^\s*(\-|\*|>) ]], 15 | }, 16 | } 17 | 18 | Strings={ 19 | Delimiter=[[```|`]] 20 | } 21 | 22 | IgnoreCase=false -------------------------------------------------------------------------------- /inst/langDefs/diff.lang: -------------------------------------------------------------------------------- 1 | 2 | 3 | Description="Diff" 4 | 5 | Digits=[[ ^[\d,]*[ac]\d* ]] 6 | 7 | Keywords={ 8 | { Id=1, 9 | Regex=[[^[+<].*]], 10 | }, 11 | { Id=2, 12 | Regex=[[^[->].*]], 13 | }, 14 | { Id=3, 15 | Regex=[[^\.$]], 16 | }, 17 | { Id=4, 18 | Regex=[[^@@.*@@$]], 19 | }, 20 | } 21 | 22 | Comments={ 23 | { Block=false, 24 | Delimiter= { [[regex(^\-\-\-$)]] }, 25 | }, 26 | } 27 | 28 | -------------------------------------------------------------------------------- /inst/langDefs/xpp.lang: -------------------------------------------------------------------------------- 1 | 2 | Description="SuperX++" 3 | 4 | Keywords={ 5 | { Id=1, 6 | Regex=[[?|>]], 7 | }, 8 | { Id=2, 9 | Regex=[[([-\w]+)="]], 10 | }, 11 | { Id=3, 12 | Regex=[[\&\#?\w+;]], 13 | }, 14 | { Id=4, 15 | List={"bool", "date", "double", "float", "int", "long", "short", "string", "void"}, 16 | }, 17 | } 18 | 19 | Strings={ 20 | Delimiter=[["]], 21 | } 22 | 23 | IgnoreCase=false 24 | -------------------------------------------------------------------------------- /inst/langDefs/conf.lang: -------------------------------------------------------------------------------- 1 | 2 | Description="Generic config files" 3 | 4 | Keywords={ 5 | { Id=1, 6 | Regex=[[^\s*\w+]] 7 | }, 8 | { Id=2, 9 | Regex=[[\d[\d.]*]] 10 | }, 11 | { Id=3, 12 | Regex=[[/\S+]] 13 | }, 14 | } 15 | 16 | Strings={ 17 | Delimiter=[["|']], 18 | } 19 | 20 | Comments={ 21 | { Block=false, 22 | Delimiter={ [[#]] }, 23 | }, 24 | { Block=false, 25 | Delimiter={ [[^;]] }, 26 | }, 27 | } 28 | -------------------------------------------------------------------------------- /inst/langDefs/scala.lang: -------------------------------------------------------------------------------- 1 | -- Load Java definition 2 | dofile(HL_LANG_DIR.."java.lang") 3 | 4 | Description="Scala" 5 | 6 | -- append keywords to Java keywords 7 | table.insert(Keywords, 8 | { Id=1, 9 | List={"abstract", "def", "object", "override", "sealed", "trait", "type", "val", "var", "yield", 10 | "forSome", "implicit", "lazy", "match", "null", "with"}, 11 | } 12 | ) 13 | 14 | Strings={ 15 | Delimiter=[["""|"|']], 16 | } 17 | -------------------------------------------------------------------------------- /R/RcppExports.R: -------------------------------------------------------------------------------- 1 | # Generated by using Rcpp::compileAttributes() -> do not edit by hand 2 | # Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393 3 | 4 | output_types <- function() { 5 | .Call('highlite_output_types', PACKAGE = 'highlite') 6 | } 7 | 8 | highlight_ <- function(input, language, output, theme, theme_path, language_path) { 9 | .Call('highlite_highlight_', PACKAGE = 'highlite', input, language, output, theme, theme_path, language_path) 10 | } 11 | 12 | -------------------------------------------------------------------------------- /inst/langDefs/ini.lang: -------------------------------------------------------------------------------- 1 | 2 | Description="INI" 3 | 4 | Keywords={ 5 | { Id=1, 6 | Regex=[[^\s*(\[.*\])]], 7 | }, 8 | { Id=2, 9 | Regex=[[^\s*([^=#]+)\s*=]], 10 | }, 11 | { Id=3, 12 | Regex=[[^\s*[^=#]+\s*=\s*(\S.*)]], 13 | }, 14 | } 15 | 16 | Strings={ 17 | Delimiter=[["]], 18 | } 19 | 20 | Comments={ 21 | { Block=false, 22 | Delimiter= { [[^\s*([;#].*)]] }, 23 | }, 24 | } 25 | 26 | Operators=[[\(|\)|\{|\}|\,|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-]] 27 | 28 | -------------------------------------------------------------------------------- /inst/langDefs/upc.lang: -------------------------------------------------------------------------------- 1 | 2 | dofile(HL_LANG_DIR.."c.lang") 3 | 4 | Description="UPC (and C, technically)" 5 | 6 | -- append keywords to C keywords 7 | table.insert(Keywords, 8 | { Id=1, 9 | List={"upc_blocksizeof", "upc_elemsizeof", "upc_localsizeof", "shared", 10 | "strict", "relaxed", "upc_barrier", "upc_notify", 11 | "upc_wait", "upc_fence"} 12 | } 13 | ) 14 | 15 | table.insert(Keywords, 16 | { Id=2, 17 | List={"upc_lock_t"} 18 | } 19 | 20 | ) 21 | -------------------------------------------------------------------------------- /inst/langDefs/xml.lang: -------------------------------------------------------------------------------- 1 | 2 | Description="XML" 3 | 4 | Keywords={ 5 | { Id=1, 6 | Regex=[[<[!?]?(?!\-\-)\/?[\w\:\-]+>?|[/?]?>]], 7 | Group=0, 8 | }, 9 | { Id=2, 10 | Regex=[[([-\w]+)="]], 11 | }, 12 | { Id=4, 13 | Regex=[[\&\#?\w+;]], 14 | }, 15 | } 16 | 17 | Strings={ 18 | Delimiter=[["]], 19 | } 20 | 21 | Comments={ 22 | { Block=true, 23 | Nested=false, 24 | Delimiter= { [[]] } 25 | } 26 | } 27 | 28 | 29 | IgnoreCase=true 30 | 31 | -------------------------------------------------------------------------------- /highlite.Rproj: -------------------------------------------------------------------------------- 1 | Version: 1.0 2 | 3 | RestoreWorkspace: No 4 | SaveWorkspace: No 5 | AlwaysSaveHistory: Default 6 | 7 | EnableCodeIndexing: Yes 8 | UseSpacesForTab: Yes 9 | NumSpacesForTab: 2 10 | Encoding: UTF-8 11 | 12 | RnwWeave: Sweave 13 | LaTeX: pdfLaTeX 14 | 15 | AutoAppendNewline: Yes 16 | StripTrailingWhitespace: Yes 17 | 18 | BuildType: Package 19 | PackageUseDevtools: Yes 20 | PackageInstallArgs: --no-multiarch --with-keep.source 21 | PackageRoxygenize: rd,collate,namespace 22 | -------------------------------------------------------------------------------- /inst/langDefs/sybase.lang: -------------------------------------------------------------------------------- 1 | 2 | Description="Sybase SQL" 3 | 4 | Keywords={ 5 | { Id=1, 6 | Regex=[[sp_\w+]] 7 | }, 8 | { Id=2, 9 | Regex=[[xp_\w+]] 10 | } 11 | } 12 | 13 | Strings={ 14 | Delimiter=[["]], 15 | } 16 | 17 | IgnoreCase=true 18 | 19 | Comments={ 20 | { Block=false, 21 | Delimiter= { [[\-\-]] }, 22 | }, 23 | { Block=true, 24 | Nested=false, 25 | Delimiter= { [[\/\*]],[[\*\/]],} 26 | } 27 | } 28 | 29 | Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-]] 30 | 31 | -------------------------------------------------------------------------------- /inst/langDefs/bnf.lang: -------------------------------------------------------------------------------- 1 | 2 | Description="Backus-Naur Form" 3 | 4 | Identifiers=[[ [-a-zA-Z_]+|<[-a-zA-Z_]+> ]] 5 | 6 | Keywords={ 7 | { Id=1, 8 | Regex=[[ ^[ \t]*([-a-zA-Z_]+|<[-a-zA-Z_]+>)\s*[:=] ]], 9 | }, 10 | } 11 | 12 | Strings={ 13 | Delimiter=[["]], 14 | } 15 | 16 | IgnoreCase=false 17 | 18 | Comments={ 19 | { Block=false, 20 | Delimiter= { [[//]] }, 21 | }, 22 | { Block=true, 23 | Nested=false, 24 | Delimiter= { [[\/\*]],[[\*\/]],} 25 | } 26 | } 27 | 28 | Operators=[[\(|\)|\[|\]|\{|\}|\.|\:|\=]] 29 | -------------------------------------------------------------------------------- /inst/langDefs/ebnf.lang: -------------------------------------------------------------------------------- 1 | 2 | Description="Extended Backus-Naur Form" 3 | 4 | Keywords={ 5 | { Id=1, 6 | Regex=[[^\s*([^=]+)\s*=]], 7 | }, 8 | { Id=2, 9 | Regex=[[ [?][^?]+[?] ]], 10 | }, 11 | { Id=3, 12 | Regex=[[ [a-zA-Z][-a-zA-Z0-9]* ]], 13 | }, 14 | } 15 | 16 | Strings={ 17 | Delimiter=[["|']], 18 | } 19 | 20 | Comments = { 21 | { Block=true, 22 | Nested=false, 23 | Delimiter = { [[\(\*]], [[\*\)]] } 24 | }, 25 | 26 | } 27 | 28 | IgnoreCase=false 29 | 30 | Operators=[[\(|\)|\[|\]|\{|\}|\;|\-|\*]] 31 | -------------------------------------------------------------------------------- /inst/langDefs/moon.lang: -------------------------------------------------------------------------------- 1 | 2 | dofile(HL_LANG_DIR.."lua.lang") 3 | 4 | Description="MoonScript" 5 | 6 | -- append keywords to Lua list 7 | table.insert(Keywords, 8 | { Id=1, 9 | List={"class", "export", "import", "from", "extends", "module", "require"} 10 | } 11 | ) 12 | 13 | table.insert(Keywords, 14 | { Id=3, 15 | Regex=[[@\w+]], 16 | } 17 | ) 18 | 19 | table.insert(Keywords, 20 | { Id=4, 21 | Regex=[[\w+\:]], 22 | } 23 | ) 24 | 25 | table.insert(Keywords, 26 | { Id=4, 27 | Regex=[[(\w+)?(\\\w+)]], 28 | } 29 | ) 30 | 31 | -------------------------------------------------------------------------------- /inst/langDefs/nginx.lang: -------------------------------------------------------------------------------- 1 | 2 | Description="Nginx configuration" 3 | 4 | Keywords={ 5 | { Id=1, 6 | Regex=[[(\w+).*\{]] 7 | }, 8 | { Id=2, 9 | Regex=[[^\s*(\w+).*\;]] 10 | }, 11 | { Id=3, 12 | Regex=[[$\w+?]] 13 | }, 14 | 15 | } 16 | 17 | Digits=[[\d*[\.\_]?\d+[dysmkg]? ]] 18 | 19 | Strings = { 20 | Delimiter=[[']], 21 | Interpolation=[[\$\w+]], 22 | } 23 | 24 | Comments = { 25 | { 26 | Block=false, 27 | Delimiter = { [[#]] } 28 | } 29 | } 30 | 31 | IgnoreCase=false 32 | 33 | Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\.|\:|\&|<|>|\!|=|\/|\*|\%|\+|\-|\~|\||\^]] 34 | -------------------------------------------------------------------------------- /inst/themes/breeze.theme: -------------------------------------------------------------------------------- 1 | 2 | Description = "vim breeze" 3 | 4 | Default = { Colour="#ffffff" } 5 | Canvas = { Colour="#005c70" } 6 | Number = { Colour="#60ffff" } 7 | Escape = { Colour="#ffd074" } 8 | String = { Colour="#60ffff" } 9 | BlockComment = { Colour="#c8d0d0" } 10 | StringPreProc = String 11 | LineComment = BlockComment 12 | Operator = Default 13 | LineNum = BlockComment 14 | PreProcessor = Default 15 | Interpolation = { Colour="#9F9FF2" } 16 | 17 | Keywords = { 18 | { Colour="#ffff80" }, 19 | { Colour="#80ffa0" }, 20 | { Colour="#7f7fff" }, 21 | { Colour="#ff7fff" }, 22 | } 23 | -------------------------------------------------------------------------------- /inst/themes/camo.theme: -------------------------------------------------------------------------------- 1 | 2 | Description = "vim camo" 3 | 4 | Default = { Colour="#ffe4c4" } 5 | Canvas = { Colour="#232323" } 6 | Number = { Colour="#d2691e" } 7 | Escape = { Colour="#cd5c5c" } 8 | String = { Colour="#ffe4b5" } 9 | BlockComment = { Colour="#d2b48c" } 10 | StringPreProc = String 11 | LineComment = BlockComment 12 | Operator = Default 13 | LineNum = BlockComment 14 | PreProcessor = Default 15 | Interpolation = { Colour="#ABFF89" } 16 | 17 | Keywords = { 18 | { Colour="#f0e68c" }, 19 | { Colour="#cdc673" }, 20 | { Colour="#c7f08b" }, 21 | { Colour="#ffc7c4" }, 22 | } 23 | -------------------------------------------------------------------------------- /inst/themes/dante.theme: -------------------------------------------------------------------------------- 1 | 2 | Description = "vim dante" 3 | 4 | Default = { Colour="#cdaf96" } 5 | Canvas = { Colour="#000000" } 6 | Number = { Colour="#ee0000" } 7 | Escape = { Colour="#a0522d" } 8 | String = { Colour="#cd2626" } 9 | BlockComment = { Colour="#008b8b" } 10 | StringPreProc = String 11 | LineComment = BlockComment 12 | Operator = Default 13 | LineNum = BlockComment 14 | PreProcessor = Default 15 | Interpolation = { Colour="#DB4CA7" } 16 | 17 | Keywords = { 18 | { Colour="#cdad00" }, 19 | { Colour="#66cd00" }, 20 | { Colour="#cc0085" }, 21 | { Colour="#cccccc" }, 22 | } 23 | -------------------------------------------------------------------------------- /inst/themes/clarity.theme: -------------------------------------------------------------------------------- 1 | 2 | Description = "vim clarity" 3 | 4 | Default = { Colour="#b2dfee" } 5 | Canvas = { Colour="#1F3055" } 6 | Number = { Colour="#b3ee3a" } 7 | Escape = { Colour="#FFEEA6" } 8 | String = { Colour="#cccccc" } 9 | BlockComment = { Colour="#9e9e9e" } 10 | StringPreProc = String 11 | LineComment = BlockComment 12 | Operator = Default 13 | LineNum = BlockComment 14 | PreProcessor = Default 15 | Interpolation = { Colour="#CEFF9F" } 16 | 17 | Keywords = { 18 | { Colour="#cd919e" }, 19 | { Colour="#ff4400" }, 20 | { Colour="#9ecc91" }, 21 | { Colour="#edc1b2" }, 22 | } 23 | -------------------------------------------------------------------------------- /inst/themes/autumn.theme: -------------------------------------------------------------------------------- 1 | 2 | Description = "vim autumn" 3 | 4 | Default = { Colour="#404040" } 5 | Canvas = { Colour="#fff4e8" } 6 | Number = { Colour="#00884c" } 7 | Escape = { Colour="#8040f0" } 8 | String = { Colour="#00884c" } 9 | BlockComment = { Colour="#ff5050" } 10 | StringPreProc = String 11 | LineComment = BlockComment 12 | Operator = Default 13 | LineNum = BlockComment 14 | PreProcessor = { Colour="#660000" } 15 | Interpolation = { Colour="#CA6DE1" } 16 | 17 | Keywords = { 18 | { Colour="#80a030" }, 19 | { Colour="#b06c58" }, 20 | { Colour="#30a188" }, 21 | { Colour="#990000" }, 22 | } 23 | -------------------------------------------------------------------------------- /inst/themes/bclear.theme: -------------------------------------------------------------------------------- 1 | 2 | Description = "vim bclear" 3 | 4 | Default = { Colour="#323232" } 5 | Canvas = { Colour="#ffffff" } 6 | Number = { Colour="#1094a0" } 7 | Escape = { Colour="#dc6816" } 8 | String = { Colour="#1094a0" } 9 | BlockComment = { Colour="#969696" } 10 | StringPreProc = String 11 | LineComment = BlockComment 12 | Operator = Default 13 | LineNum = BlockComment 14 | PreProcessor = { Colour="#69c73a" } 15 | Interpolation = { Colour="#7376C4" } 16 | 17 | Keywords = { 18 | { Colour="#3b6ac8" }, 19 | { Colour="#a00050" }, 20 | { Colour="#00a150" }, 21 | { Colour="#c73a69" }, 22 | } 23 | -------------------------------------------------------------------------------- /inst/themes/biogoo.theme: -------------------------------------------------------------------------------- 1 | 2 | Description = "vim biogoo" 3 | 4 | Default = { Colour="#000000" } 5 | Canvas = { Colour="#d6d6d6" } 6 | Number = { Colour="#b85d00" } 7 | Escape = { Colour="#007f00" } 8 | String = { Colour="#d10000" } 9 | BlockComment = { Colour="#0000c3" } 10 | StringPreProc = String 11 | LineComment = BlockComment 12 | Operator = Default 13 | LineNum = BlockComment 14 | PreProcessor = Default 15 | Interpolation = { Colour="#BE58A0" } 16 | 17 | Keywords = { 18 | { Colour="#00007f" }, 19 | { Colour="#540054" , Bold=true}, 20 | { Colour="#005400" }, 21 | { Colour="#002a54" }, 22 | } 23 | -------------------------------------------------------------------------------- /inst/themes/candy.theme: -------------------------------------------------------------------------------- 1 | 2 | Description = "vim candy" 3 | 4 | Default = { Colour="#f0f0f8" } 5 | Canvas = { Colour="#000000" } 6 | Number = { Colour="#90d0ff" } 7 | Escape = { Colour="#e0e080" } 8 | String = { Colour="#90d0ff" } 9 | BlockComment = { Colour="#c0c0d0", Italic=true } 10 | StringPreProc = String 11 | LineComment = BlockComment 12 | Operator = Default 13 | LineNum = BlockComment 14 | PreProcessor = Default 15 | Interpolation = { Colour="#C5FF7D" } 16 | 17 | Keywords = { 18 | { Colour="#ffa0ff" }, 19 | { Colour="#ffc864" }, 20 | { Colour="#ffffa1" }, 21 | { Colour="#ff5c33" }, 22 | } 23 | -------------------------------------------------------------------------------- /inst/themes/darkbone.theme: -------------------------------------------------------------------------------- 1 | 2 | Description = "vim dark bone" 3 | 4 | Default = { Colour="#a0a0c0" } 5 | Canvas = { Colour="#000000" } 6 | Number = { Colour="#d0e080" } 7 | Escape = { Colour="#808080" } 8 | String = { Colour="#d0e080" } 9 | BlockComment = { Colour="#606080" } 10 | StringPreProc = String 11 | LineComment = BlockComment 12 | Operator = { Colour="#cccccc" } 13 | LineNum = BlockComment 14 | PreProcessor = Default 15 | Interpolation = { Colour="#CFA5DB" } 16 | 17 | Keywords = { 18 | { Colour="#8090f0" }, 19 | { Colour="#e0e0ff" }, 20 | { Colour="#7ff0a6" }, 21 | { Colour="#9fbfaf" }, 22 | } 23 | -------------------------------------------------------------------------------- /inst/langDefs/bibtex.lang: -------------------------------------------------------------------------------- 1 | 2 | Description="BibTeX" 3 | 4 | Keywords={ 5 | { Id=1, 6 | List={"address", "annote", "author", "title", "type", "abstract", "volume", 7 | "pages", "number", "note", "key", "organization", "school", "series", "chapter", 8 | "month", "department", "keywords", "howpublished", "institution", "journal", 9 | "publisher", "editon", "editor", "year", "booktitle"}, 10 | }, 11 | } 12 | 13 | IgnoreCase=false 14 | 15 | Comments={ 16 | { Block=false, 17 | Delimiter= { [[%]] }, 18 | }, 19 | } 20 | 21 | Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\!|\=|\/|\*|\+|\-]] 22 | 23 | -------------------------------------------------------------------------------- /inst/langDefs/yaiff.lang: -------------------------------------------------------------------------------- 1 | 2 | Description="Yaiff" 3 | 4 | Keywords={ 5 | { Id=1, 6 | List={"def", "final", "class", "public", "private", "interface", "else", "if", "const", "return"}, 7 | }, 8 | { Id=2, 9 | List={"UInt8", "", "Int8"}, 10 | }, 11 | { Id=3, 12 | Regex=[[@\w+]], 13 | }, 14 | { Id=4, 15 | Regex=[[(\w+)\s*\(]], 16 | }, 17 | } 18 | 19 | Strings={ 20 | Delimiter=[["|']], 21 | } 22 | 23 | IgnoreCase=false 24 | 25 | Comments={ 26 | { Block=false, 27 | Delimiter= { [[#(?!#).*]] }, 28 | }, 29 | } 30 | 31 | Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\.|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-|\~|\?]] 32 | -------------------------------------------------------------------------------- /inst/themes/baycomb.theme: -------------------------------------------------------------------------------- 1 | 2 | Description = "vim baycomb" 3 | 4 | Default = { Colour="#a0b4e0" } 5 | Canvas = { Colour="#11121a" } 6 | Number = { Colour="#4580b4" } 7 | Escape = { Colour="#aaaaca" } 8 | String = { Colour="#5c78f0" } 9 | BlockComment = { Colour="#349d58" } 10 | StringPreProc = String 11 | LineComment = BlockComment 12 | Operator = {Colour="#b0b0b0"} 13 | LineNum = BlockComment 14 | PreProcessor = Default 15 | Interpolation = { Colour="#97E1BF" } 16 | 17 | Keywords = { 18 | { Colour="#fca8ad" }, 19 | { Colour="#0490e8" , Bold=true}, 20 | { Colour="#a9fcf7" }, 21 | { Colour="#b4e09f" }, 22 | } 23 | -------------------------------------------------------------------------------- /inst/themes/denim.theme: -------------------------------------------------------------------------------- 1 | -- Theme generated by vim2theme 2 | 3 | Description = "vim denim" 4 | 5 | Default = { Colour="#FFFFFF" } 6 | Canvas = { Colour="#000038" } 7 | Number = { Colour="#33FF33" } 8 | Escape = { Colour="#00FF00" } 9 | String = { Colour="#CCCC99" } 10 | BlockComment = { Colour="#999999" } 11 | StringPreProc = String 12 | LineComment = BlockComment 13 | Operator = Default 14 | LineNum = BlockComment 15 | PreProcessor = Default 16 | Interpolation = { Colour="#69C8DB" } 17 | 18 | Keywords = { 19 | { Colour="#FFFFCC" }, 20 | { Colour="#33FF99" }, 21 | { Colour="#33FF99" }, 22 | { Colour="#9966cc" }, 23 | } 24 | -------------------------------------------------------------------------------- /inst/themes/leo.theme: -------------------------------------------------------------------------------- 1 | -- Theme generated by vim2theme 2 | 3 | Description = "vim leo256" 4 | 5 | Default = { Colour="#ffffff" } 6 | Canvas = { Colour="#000000" } 7 | Number = { Colour="#ff875f" } 8 | Escape = { Colour="#ff5fd7" } 9 | String = { Colour="#ffd7d7" } 10 | BlockComment = { Colour="#a8a8a8" , Italic=true} 11 | StringPreProc = String 12 | LineComment = BlockComment 13 | Operator = Default 14 | LineNum = BlockComment 15 | PreProcessor = Default 16 | Interpolation = Escape 17 | 18 | Keywords = { 19 | { Colour="#00d700" }, 20 | { Colour="#5fafff" }, 21 | { Colour="#006bd6" }, 22 | { Colour="#d600d6" }, 23 | } 24 | -------------------------------------------------------------------------------- /inst/themes/neon.theme: -------------------------------------------------------------------------------- 1 | -- Theme generated by vim2theme 2 | 3 | Description = "vim neon" 4 | 5 | Default = { Colour="#f0f0f0" } 6 | Canvas = { Colour="#303030" } 7 | Number = { Colour="#92d4ff" } 8 | Escape = { Colour="#ffc890" } 9 | String = { Colour="#92d4ff" } 10 | BlockComment = { Colour="#c0c0c0" } 11 | StringPreProc = String 12 | LineComment = BlockComment 13 | Operator = Default 14 | LineNum = BlockComment 15 | PreProcessor = { Colour="#7979db" } 16 | Interpolation = Escape 17 | 18 | Keywords = { 19 | { Colour="#dcdc78" }, 20 | { Colour="#60f0a8" }, 21 | { Colour="#7979db" }, 22 | { Colour="#db79aa" }, 23 | } 24 | -------------------------------------------------------------------------------- /inst/themes/night.theme: -------------------------------------------------------------------------------- 1 | -- Theme generated by vim2theme 2 | 3 | Description = "vim night" 4 | 5 | Default = { Colour="#f0f0f8" } 6 | Canvas = { Colour="#303040" } 7 | Number = { Colour="#b8b8c8" } 8 | Escape = { Colour="#40f8f8" } 9 | String = { Colour="#f0f0f8" } 10 | BlockComment = { Colour="#e0e070" } 11 | StringPreProc = String 12 | LineComment = BlockComment 13 | Operator = Default 14 | LineNum = BlockComment 15 | PreProcessor = { Colour="#33cc66" } 16 | Interpolation = Escape 17 | 18 | Keywords = { 19 | { Colour="#00d8f8" }, 20 | { Colour="#bbaaff" }, 21 | { Colour="#9d00f7" }, 22 | { Colour="#cc66cc" }, 23 | } 24 | -------------------------------------------------------------------------------- /inst/themes/tabula.theme: -------------------------------------------------------------------------------- 1 | -- Theme generated by vim2theme 2 | 3 | Description = "vim tabula" 4 | 5 | Default = { Colour="#71D289" } 6 | Canvas = { Colour="#004A41" } 7 | Number = { Colour="#00A7F7" } 8 | Escape = { Colour="#00E0F2" } 9 | String = { Colour="#00DF00" } 10 | BlockComment = { Colour="#00C5E7" } 11 | StringPreProc = String 12 | LineComment = BlockComment 13 | Operator = Default 14 | LineNum = BlockComment 15 | PreProcessor = Default 16 | Interpolation = Escape 17 | 18 | Keywords = { 19 | { Colour="#DEDE00" , Bold=true}, 20 | { Colour="#F269E4" }, 21 | { Colour="#ffffff" }, 22 | { Colour="#ff7f00" }, 23 | } 24 | -------------------------------------------------------------------------------- /inst/langDefs/lindenscript.lang: -------------------------------------------------------------------------------- 1 | 2 | Description="Linden Script" 3 | 4 | Keywords={ 5 | { Id=1, 6 | List={"for", "do", "while", "if", "else", "jump"}, 7 | }, 8 | { Id=2, 9 | List={"integer", "float", "string", "key", "vector", "rotation", "list"}, 10 | }, 11 | { Id=3, 12 | Regex=[[(ll\w+)\s*\(]], 13 | }, 14 | { Id=4, 15 | Regex=[[(\w+)\s*\(]], 16 | }, 17 | } 18 | 19 | Strings={ 20 | Delimiter=[["|']], 21 | } 22 | 23 | IgnoreCase=false 24 | 25 | Comments={ 26 | { Block=false, 27 | Delimiter= { [[\/\/]] }, 28 | }, 29 | } 30 | 31 | Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\.|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-|\~]] 32 | -------------------------------------------------------------------------------- /inst/langDefs/r.lang: -------------------------------------------------------------------------------- 1 | Description="R" 2 | 3 | Identifiers=[[ [a-zA-Z_][\w]* ]] 4 | 5 | Keywords={ 6 | { Id=1, 7 | List={"if", "else", "repeat", "while", "function", "for", "in", "next", "break", "ifelse", "switch"}, 8 | }, 9 | { Id=2, 10 | List={"NULL", "NA", "Inf", "NaN", "TRUE", "T", "FALSE", "F"}, 11 | }, 12 | { Id=4, 13 | Regex=[[(\w+)\s*\(]], 14 | } 15 | } 16 | 17 | Strings={ 18 | Delimiter=[["|']], 19 | } 20 | 21 | Comments={ 22 | { Block=false, 23 | Delimiter= { [[#]] }, 24 | }, 25 | } 26 | 27 | Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-|\~|\.|\|]] 28 | 29 | EnableIndentation=true 30 | -------------------------------------------------------------------------------- /inst/langDefs/rebol.lang: -------------------------------------------------------------------------------- 1 | 2 | Description="Rebol" 3 | 4 | Keywords={ 5 | { Id=1, 6 | List={"REBOL", "rebol", "return", "for", "while", "print", "repeat", "doq"}, 7 | }, 8 | { Id=3, 9 | Regex=[[\b([\w\-]+\??):]], 10 | }, 11 | { Id=4, 12 | Regex=[[(\w+)\s*\(]], 13 | }, 14 | } 15 | 16 | Strings={ 17 | Delimiter=[["]], 18 | } 19 | 20 | IgnoreCase=true 21 | 22 | Comments={ 23 | { Block=false, 24 | Delimiter= { [[;|\/\/]] }, 25 | }, 26 | { Block=true, 27 | Nested=false, 28 | Delimiter= { [[\{]],[[\}]],} 29 | } 30 | } 31 | 32 | Operators=[[\(|\)|\[|\]|\,|\;|\.|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-|\~|\?|\#|\']] 33 | -------------------------------------------------------------------------------- /inst/themes/anotherdark.theme: -------------------------------------------------------------------------------- 1 | 2 | Description = "vim anotherdark" 3 | 4 | Default = { Colour="#dedede" } 5 | Canvas = { Colour="#323232" } 6 | Number = { Colour="#ffa0a0" } 7 | Escape = { Colour="#ffddad" } 8 | String = { Colour="#ffa0a0" } 9 | BlockComment = { Colour="#ffa500" } 10 | StringPreProc = String 11 | LineComment = BlockComment 12 | Operator = { Colour="#dedede" } 13 | LineNum = BlockComment 14 | PreProcessor = { Colour="#5757ff" } 15 | Interpolation = { Colour="#8BC4D4" } 16 | 17 | Keywords = { 18 | { Colour="#f0e68c" }, 19 | { Colour="#bdb66b" }, 20 | { Colour="#8b95f0" }, 21 | { Colour="#f25252" }, 22 | } 23 | -------------------------------------------------------------------------------- /inst/themes/peaksea.theme: -------------------------------------------------------------------------------- 1 | -- Theme generated by vim2theme 2 | 3 | Description = "vim peaksea" 4 | 5 | Default = { Colour="#000000" } 6 | Canvas = { Colour="#e0e0e0" } 7 | Number = { Colour="#907000" } 8 | Escape = { Colour="#907000" } 9 | String = { Colour="#007068" } 10 | BlockComment = { Colour="#606000" } 11 | StringPreProc = String 12 | LineComment = BlockComment 13 | Operator = Default 14 | LineNum = BlockComment 15 | PreProcessor = Default 16 | Interpolation = { Colour="#CC518A" } 17 | 18 | Keywords = { 19 | { Colour="#2060a8" }, 20 | { Colour="#0850a0" }, 21 | { Colour="#a86920" }, 22 | { Colour="#20a825" }, 23 | } 24 | -------------------------------------------------------------------------------- /inst/themes/matrix.theme: -------------------------------------------------------------------------------- 1 | -- Theme generated by vim2theme 2 | 3 | Description = "vim Matrix" 4 | 5 | Default = { Colour="#44cc44" } 6 | Canvas = { Colour="#000000" } 7 | Number = { Colour="#55ff55" } 8 | Escape = { Colour="#44cc44" } 9 | String = { Colour="#ccff33" } 10 | BlockComment = { Colour="#226622" } 11 | StringPreProc = String 12 | LineComment = BlockComment 13 | Operator = Default 14 | LineNum = BlockComment 15 | PreProcessor = Default 16 | Interpolation = Escape 17 | 18 | Keywords = { 19 | { Colour="#55ff55" , Bold=true}, 20 | { Colour="#aaff54" , Bold=true}, 21 | { Colour="#48d990" }, 22 | { Colour="#54ffaa" }, 23 | } 24 | -------------------------------------------------------------------------------- /inst/themes/rootwater.theme: -------------------------------------------------------------------------------- 1 | -- Theme generated by vim2theme 2 | 3 | Description = "vim vim unknown" 4 | 5 | Default = { Colour="#babdb6" } 6 | Canvas = { Colour="#151b1d" } 7 | Number = { Colour="#77dd88" } 8 | Escape = { Colour="#ffc0cb" } 9 | String = { Colour="#77dd88" } 10 | BlockComment = { Colour="#656565" } 11 | StringPreProc = String 12 | LineComment = BlockComment 13 | Operator = Default 14 | LineNum = BlockComment 15 | PreProcessor = Default 16 | Interpolation = { Colour="#70BEDD" } 17 | 18 | Keywords = { 19 | { Colour="#8fffff" }, 20 | { Colour="#ffffff" }, 21 | { Colour="#ff8f8f" }, 22 | { Colour="#ededed" }, 23 | } 24 | -------------------------------------------------------------------------------- /inst/langDefs/nasal.lang: -------------------------------------------------------------------------------- 1 | 2 | Description="Nasal" 3 | 4 | Keywords={ 5 | { Id=1, 6 | List={"and", "or", "nil", "if", "elsif", "else", "for", "foreach", 7 | "while", "return", "break", "continue", "func", "size", "keys", "append", 8 | "pop", "int", "streq", "substr", "contains", "typeof"}, 9 | }, 10 | { Id=2, 11 | List={"parents", "me", "arg"}, 12 | }, 13 | } 14 | 15 | Strings={ 16 | Delimiter=[["|']], 17 | } 18 | 19 | IgnoreCase=false 20 | 21 | Comments={ 22 | { Block=false, 23 | Delimiter= { [[#]] }, 24 | }, 25 | } 26 | 27 | Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-]] 28 | -------------------------------------------------------------------------------- /inst/themes/aiseered.theme: -------------------------------------------------------------------------------- 1 | 2 | Description = "vim aiseered" 3 | 4 | Default = { Colour="#f08080" } 5 | Canvas = { Colour="#600000" } 6 | Number = { Colour="#88ddee" } 7 | Escape = { Colour="#ffaa00" } 8 | String = { Colour="#ffcc88" } 9 | BlockComment = { Colour="#ffffff", Italic=true } 10 | StringPreProc = String 11 | LineComment = BlockComment 12 | Operator = { Colour="#ffcc33" } 13 | LineNum = BlockComment 14 | PreProcessor = { Colour="#ffcc33" } 15 | Interpolation = { Colour="#5BB3C9" } 16 | 17 | Keywords = { 18 | { Colour="#eeff99" , Bold=true}, 19 | { Colour="#88ffaa" }, 20 | { Colour="#aa99ff" }, 21 | { Colour="#f0b77f" }, 22 | } 23 | -------------------------------------------------------------------------------- /inst/themes/bluegreen.theme: -------------------------------------------------------------------------------- 1 | 2 | Description = "vim mine" 3 | 4 | Default = { Colour="#ffffff" } 5 | Canvas = { Colour="#061A3E" } 6 | Number = { Colour="#72A5E4" , Bold=true} 7 | Escape = { Colour="#EEBABA" } 8 | String = { Colour="#72A5E4" , Bold=true} 9 | BlockComment = { Colour="#DABEA2", Italic=true } 10 | StringPreProc = String 11 | LineComment = BlockComment 12 | Operator = Default 13 | LineNum = BlockComment 14 | PreProcessor = { Colour="#9e76b5" } 15 | Interpolation = { Colour="#EE86BC" } 16 | 17 | Keywords = { 18 | { Colour="#7E75B5" }, 19 | { Colour="#A9EE8A" }, 20 | { Colour="#b5768d" }, 21 | { Colour="#76b57e" }, 22 | } 23 | -------------------------------------------------------------------------------- /inst/themes/darkslategray.theme: -------------------------------------------------------------------------------- 1 | 2 | Description = "vim darkslategray" 3 | 4 | Default = { Colour="#f5deb3" } 5 | Canvas = { Colour="#2f4f4f" } 6 | Number = { Colour="#ff6347" } 7 | Escape = { Colour="#ff6347" } 8 | String = { Colour="#7fffd4" } 9 | BlockComment = { Colour="#da70d6" } 10 | StringPreProc = String 11 | LineComment = BlockComment 12 | Operator = Default 13 | LineNum = BlockComment 14 | PreProcessor = { Colour="#f5b3eb" } 15 | Interpolation = { Colour="#ffffff" } 16 | 17 | Keywords = { 18 | { Colour="#4682b4" , Bold=true}, 19 | { Colour="#98fb98" , Bold=true}, 20 | { Colour="#b57847" }, 21 | { Colour="#b3caf5" }, 22 | } 23 | -------------------------------------------------------------------------------- /inst/themes/dusk.theme: -------------------------------------------------------------------------------- 1 | -- Theme generated by vim2theme 2 | 3 | Description = "vim dusk" 4 | 5 | Default = { Colour="#fffff0" } 6 | Canvas = { Colour="#1f3048" } 7 | Number = { Colour="#cdb7b5" } 8 | Escape = { Colour="#ffbe25" } 9 | String = { Colour="#9ac0cd" } 10 | BlockComment = { Colour="#708090" } 11 | StringPreProc = String 12 | LineComment = BlockComment 13 | Operator = Default 14 | LineNum = BlockComment 15 | PreProcessor = { Colour="#e68bf0" } 16 | Interpolation = { Colour="#C184DB" } 17 | 18 | Keywords = { 19 | { Colour="#f0e68c" }, 20 | { Colour="#ffdead" }, 21 | { Colour="#8bf0b3" }, 22 | { Colour="#8bf0e6" }, 23 | } 24 | -------------------------------------------------------------------------------- /inst/themes/nuvola.theme: -------------------------------------------------------------------------------- 1 | -- Theme generated by vim2theme 2 | 3 | Description = "vim nuvola" 4 | 5 | Default = { Colour="#000000" } 6 | Canvas = { Colour="#F9F5F9" } 7 | Number = { Colour="#00C226" } 8 | Escape = { Colour="#D66AD5" } 9 | String = { Colour="#B91F49" } 10 | BlockComment = { Colour="#3F6B5B" } 11 | StringPreProc = String 12 | LineComment = BlockComment 13 | Operator = Default 14 | LineNum = BlockComment 15 | PreProcessor = Default 16 | Interpolation = { Colour="#8A70D6" } 17 | 18 | Keywords = { 19 | { Colour="#F06F00" }, 20 | { Colour="#0000ff" }, 21 | { Colour="#08f000", Bold=true }, 22 | { Colour="#e800f0" }, 23 | } 24 | -------------------------------------------------------------------------------- /inst/themes/rdark.theme: -------------------------------------------------------------------------------- 1 | -- Theme generated by vim2theme 2 | 3 | Description = "vim rdark" 4 | 5 | Default = { Colour="#babdb6" } 6 | Canvas = { Colour="#1e2426" } 7 | Number = { Colour="#8ae234" } 8 | Escape = { Colour="#888a85" } 9 | String = { Colour="#8ae234" } 10 | BlockComment = { Colour="#656763" } 11 | StringPreProc = String 12 | LineComment = BlockComment 13 | Operator = Default 14 | LineNum = BlockComment 15 | PreProcessor = { Colour="#e58a8a" } 16 | Interpolation = { Colour="#949691" } 17 | 18 | Keywords = { 19 | { Colour="#729fcf" }, 20 | { Colour="#e3e7df" }, 21 | { Colour="#cfa272" }, 22 | { Colour="#9ebd77" }, 23 | } 24 | -------------------------------------------------------------------------------- /inst/themes/relaxedgreen.theme: -------------------------------------------------------------------------------- 1 | -- Theme generated by vim2theme 2 | 3 | Description = "vim relaxedgreen" 4 | 5 | Default = { Colour="#aaaaaa" } 6 | Canvas = { Colour="#000000" } 7 | Number = { Colour="#0099dd" } 8 | Escape = { Colour="#00ff00" } 9 | String = { Colour="#0099dd" } 10 | BlockComment = { Colour="#00a594" } 11 | StringPreProc = String 12 | LineComment = BlockComment 13 | Operator = Default 14 | LineNum = BlockComment 15 | PreProcessor = Default 16 | Interpolation = { Colour="#A742DD" } 17 | 18 | Keywords = { 19 | { Colour="#ac0000" }, 20 | { Colour="#559955" }, 21 | { Colour="#00abab" }, 22 | { Colour="#ededed" }, 23 | } 24 | -------------------------------------------------------------------------------- /inst/langDefs/sas.lang: -------------------------------------------------------------------------------- 1 | 2 | Description="SAS" 3 | 4 | Keywords={ 5 | { Id=1, 6 | List={"put"}, 7 | }, 8 | { Id=2, 9 | List={"proc", "data", "set", "merge", "run", "output"}, 10 | }, 11 | { Id=3, 12 | List={"drop", "keep", "in", "retain", "file", "infile", "put", "if", "then", "else", "while", "for"}, 13 | }, 14 | } 15 | 16 | Strings={ 17 | Delimiter=[["|']], 18 | } 19 | 20 | Comments={ 21 | { Block=false, 22 | Delimiter= { [[\/\/]] }, 23 | }, 24 | { Block=true, 25 | Nested=false, 26 | Delimiter= { [[\/\*]],[[\*\/]],} 27 | } 28 | } 29 | 30 | Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-]] 31 | 32 | -------------------------------------------------------------------------------- /inst/themes/xoria256.theme: -------------------------------------------------------------------------------- 1 | -- Theme generated by vim2theme 2 | 3 | Description = "vim xoria256" 4 | 5 | Default = { Colour="#d0d0d0" } 6 | Canvas = { Colour="#1c1c1c" } 7 | Number = { Colour="#dfaf87" } 8 | Escape = { Colour="#df8787" } 9 | BlockComment = { Colour="#808080" } 10 | PreProcessor = { Colour="#afdf87" } 11 | LineNum = { Colour="#a8a8a8" } 12 | String= { Colour="#ffffaf" } 13 | StringPreProc = String 14 | LineComment = BlockComment 15 | Operator = Default 16 | Interpolation = { Colour="#78D1DD" } 17 | 18 | Keywords = { 19 | { Colour="#87afdf" }, 20 | { Colour="#87de8c" }, 21 | { Colour="#deb787" }, 22 | { Colour="#de87da" }, 23 | } 24 | -------------------------------------------------------------------------------- /src/lua-5.3.3/src/lapi.h: -------------------------------------------------------------------------------- 1 | /* 2 | ** $Id: lapi.h,v 2.9 2015/03/06 19:49:50 roberto Exp $ 3 | ** Auxiliary functions from Lua API 4 | ** See Copyright Notice in lua.h 5 | */ 6 | 7 | #ifndef lapi_h 8 | #define lapi_h 9 | 10 | 11 | #include "llimits.h" 12 | #include "lstate.h" 13 | 14 | #define api_incr_top(L) {L->top++; api_check(L, L->top <= L->ci->top, \ 15 | "stack overflow");} 16 | 17 | #define adjustresults(L,nres) \ 18 | { if ((nres) == LUA_MULTRET && L->ci->top < L->top) L->ci->top = L->top; } 19 | 20 | #define api_checknelems(L,n) api_check(L, (n) < (L->top - L->ci->func), \ 21 | "not enough elements in the stack") 22 | 23 | 24 | #endif 25 | -------------------------------------------------------------------------------- /inst/themes/fruit.theme: -------------------------------------------------------------------------------- 1 | -- Theme generated by vim2theme 2 | 3 | Description = "vim fruit" 4 | 5 | Default = { Colour="#404040" } 6 | Canvas = { Colour="#f8f8f8" } 7 | Number = { Colour="#8016ff" } 8 | Escape = { Colour="#4a9400" } 9 | String = { Colour="#ff6633" } 10 | BlockComment = { Colour="#ff4080" } 11 | StringPreProc = String 12 | LineComment = BlockComment 13 | Operator = Default 14 | LineNum = { Colour="#660000" } 15 | PreProcessor = { Colour="#009933" } 16 | Interpolation = { Colour="#6893C7" } 17 | 18 | Keywords = { 19 | { Colour="#f030d0" }, 20 | { Colour="#0070e6" }, 21 | { Colour="#30f050" }, 22 | { Colour="#b030f0" }, 23 | } 24 | -------------------------------------------------------------------------------- /inst/themes/maroloccio.theme: -------------------------------------------------------------------------------- 1 | -- Theme generated by vim2theme 2 | 3 | Description = "vim maroloccio" 4 | 5 | Default = { Colour="#8b9aaa" } 6 | Canvas = { Colour="#1a202a" } 7 | Number = { Colour="#8b8b00" } 8 | Escape = { Colour="#bababa" } 9 | String = { Colour="#5B5BD0" } 10 | BlockComment = { Colour="#006666" } 11 | StringPreProc = String 12 | LineComment = BlockComment 13 | Operator = Default 14 | LineNum = BlockComment 15 | PreProcessor = { Colour="#cc6666" } 16 | Interpolation = { Colour="#B19160" } 17 | 18 | Keywords = { 19 | { Colour="#9966cc" }, 20 | { Colour="#ffcc00" }, 21 | { Colour="#cc6666" }, 22 | { Colour="#99cc66" }, 23 | } 24 | -------------------------------------------------------------------------------- /inst/themes/moria.theme: -------------------------------------------------------------------------------- 1 | -- Theme generated by vim2theme 2 | 3 | Description = "vim moria" 4 | 5 | Default = { Colour="#d0d0d0" } 6 | Canvas = { Colour="#202020" } 7 | Number = { Colour="#87df71" } 8 | Escape = { Colour="#e8b87e" } 9 | String = { Colour="#87df71" } 10 | BlockComment = { Colour="#d0d0a0" } 11 | StringPreProc = String 12 | LineComment = BlockComment 13 | Operator = Default 14 | LineNum = BlockComment 15 | PreProcessor = Default 16 | Interpolation = { Colour="#7670D6" } 17 | 18 | Keywords = { 19 | { Colour="#7ec0ee" , Bold=true}, 20 | { Colour="#f09479" , Bold=true}, 21 | { Colour="#87ed7e" }, 22 | { Colour="#e47eed" }, 23 | } 24 | -------------------------------------------------------------------------------- /inst/themes/nightshimmer.theme: -------------------------------------------------------------------------------- 1 | -- Theme generated by vim2theme 2 | 3 | Description = "vim nightshimmer" 4 | 5 | Default = { Colour="#e0eee0" } 6 | Canvas = { Colour="#103040" } 7 | Number = { Colour="#00ffff" } 8 | Escape = { Colour="#ffffff" , Bold=true} 9 | String = { Colour="#00ffff" } 10 | BlockComment = { Colour="#507080" } 11 | StringPreProc = String 12 | LineComment = BlockComment 13 | Operator = Default 14 | LineNum = BlockComment 15 | PreProcessor = { Colour="#ffcc99" } 16 | Interpolation = Escape 17 | 18 | Keywords = { 19 | { Colour="#90ee90" }, 20 | { Colour="#add8e6" }, 21 | { Colour="#cc99ff" }, 22 | { Colour="#ff9999" }, 23 | } 24 | -------------------------------------------------------------------------------- /inst/themes/zmrok.theme: -------------------------------------------------------------------------------- 1 | -- Theme generated by vim2theme 2 | 3 | Description = "vim zmrok" 4 | 5 | Default = { Colour="#F8F8F8" } 6 | Canvas = { Colour="#141414" } 7 | Number = { Colour="#FACE43" } 8 | Escape = { Colour="#ffa500" } 9 | String = { Colour="#D9FF77" } 10 | BlockComment = { Colour="#888888" } 11 | PreProcessor = { Colour="#8b864e" } 12 | LineNum = { Colour="#777777" } 13 | StringPreProc = String 14 | LineComment = BlockComment 15 | Operator = Default 16 | Interpolation = { Colour="#D084CE" } 17 | 18 | Keywords = { 19 | { Colour="#A56A30" , Bold=true}, 20 | { Colour="#C7CA87" }, 21 | { Colour="#30a630" }, 22 | { Colour="#3b84cc" }, 23 | } 24 | -------------------------------------------------------------------------------- /inst/langDefs/json.lang: -------------------------------------------------------------------------------- 1 | Description="JSON" 2 | 3 | Keywords={ 4 | { Id=1, 5 | Regex=[[ \{|\} ]], 6 | }, 7 | { Id=2, 8 | Regex=[=[ \[|\] ]=], 9 | }, 10 | { Id=3, 11 | Regex=[[ (\".+?\")\: ]], 12 | }, 13 | } 14 | 15 | Strings = { 16 | Delimiter=[["]] 17 | } 18 | 19 | Comments = { 20 | { Block=true, 21 | Nested=false, 22 | Delimiter = { [[\/\*]], [[\*\/]] } 23 | }, 24 | { 25 | Block=false, 26 | Delimiter = { [[//]] } 27 | } 28 | } 29 | 30 | IgnoreCase=false 31 | 32 | PreProcessor = { 33 | Prefix=[[#]], 34 | Continuation="\\", 35 | } 36 | 37 | Operators=[[\(|\)|\,|\;|\.|\:|\&|<|>|\!|=|\/|\*|\%|\+|\-|\~|\||\^]] -------------------------------------------------------------------------------- /inst/themes/molokai.theme: -------------------------------------------------------------------------------- 1 | -- Theme generated by vim2theme 2 | 3 | Description = "vim molokai" 4 | 5 | Default = { Colour="#F8F8F2" } 6 | Canvas = { Colour="#272822" } 7 | Number = { Colour="#AE81FF" } 8 | Escape = { Colour="#66D9EF" , Italic=true} 9 | String = { Colour="#E6DB74" } 10 | BlockComment = { Colour="#75715E" } 11 | StringPreProc = String 12 | LineComment = BlockComment 13 | Operator = Default 14 | LineNum = BlockComment 15 | PreProcessor = { Colour="#defa25" } 16 | Interpolation = Escape 17 | 18 | Keywords = { 19 | { Colour="#F92672" , Bold=true}, 20 | { Colour="#66D9EF" }, 21 | { Colour="#95f067" }, 22 | { Colour="#25faac" }, 23 | } 24 | -------------------------------------------------------------------------------- /inst/themes/tcsoft.theme: -------------------------------------------------------------------------------- 1 | -- Theme generated by vim2theme 2 | 3 | Description = "vim TCSoft" 4 | 5 | Default = { Colour="#000000" } 6 | Canvas = { Colour="#FFFFFF" } 7 | Number = { Colour="#666666" } 8 | Escape = { Colour="#FF0000" } 9 | String = { Colour="#666666" } 10 | BlockComment = { Colour="#000099" , Italic=true} 11 | StringPreProc = String 12 | LineComment = BlockComment 13 | Operator = Default 14 | LineNum = BlockComment 15 | PreProcessor = Default 16 | Interpolation = { Colour="#5E9ADD" } 17 | 18 | Keywords = { 19 | { Colour="#FF9900" }, 20 | { Colour="#FF9900" , Bold=true}, 21 | { Colour="#0066ff" }, 22 | { Colour="#ff00e5" }, 23 | } 24 | -------------------------------------------------------------------------------- /inst/themes/freya.theme: -------------------------------------------------------------------------------- 1 | -- Theme generated by vim2theme 2 | 3 | Description = "vim freya" 4 | 5 | Default = { Colour="#dcdccc" } 6 | Canvas = { Colour="#2a2a2a" } 7 | Number = { Colour="#afe091" } 8 | Escape = { Colour="#d4b064" } 9 | String = { Colour="#afe091" } 10 | BlockComment = { Colour="#c2b680" } 11 | StringPreProc = String 12 | LineComment = BlockComment 13 | Operator = Default 14 | LineNum = BlockComment 15 | PreProcessor = { Colour="#ffb2d7" } 16 | Interpolation = { Colour="#ffffff" } 17 | 18 | Keywords = { 19 | { Colour="#e0af91" , Bold=true}, 20 | { Colour="#dabfa5" , Bold=true}, 21 | { Colour="#d792e0" }, 22 | { Colour="#a6e1ff" }, 23 | } 24 | -------------------------------------------------------------------------------- /inst/themes/kellys.theme: -------------------------------------------------------------------------------- 1 | -- Theme generated by vim2theme 2 | 3 | Description = "vim kellys" 4 | 5 | Default = { Colour="#e1e0e5" } 6 | Canvas = { Colour="#2a2b2f" } 7 | Number = { Colour="#d1c79e" } 8 | Escape = { Colour="#9ab2c8" } 9 | String = { Colour="#d1c79e" } 10 | BlockComment = { Colour="#67686b" } 11 | StringPreProc = String 12 | LineComment = BlockComment 13 | Operator = Default 14 | LineNum = { Colour="#ffff99" } 15 | PreProcessor = { Colour="#77cf63" } 16 | Interpolation = { Colour="#C75E75" } 17 | 18 | Keywords = { 19 | { Colour="#62acce" , Bold=true}, 20 | { Colour="#e6ac32" }, 21 | { Colour="#cf8563" }, 22 | { Colour="#bb63cf" }, 23 | } 24 | -------------------------------------------------------------------------------- /inst/themes/manxome.theme: -------------------------------------------------------------------------------- 1 | -- Theme generated by vim2theme 2 | 3 | Description = "vim manxome" 4 | 5 | Default = { Colour="#cccccc" } 6 | Canvas = { Colour="#000000" } 7 | Number = { Colour="#00ffff" } 8 | Escape = { Colour="#ffffff" } 9 | String = { Colour="#00ffff" } 10 | BlockComment = { Colour="#00ff00" } 11 | StringPreProc = String 12 | LineComment = BlockComment 13 | Operator = { Colour="#ffff00" } 14 | LineNum = BlockComment 15 | PreProcessor = { Colour="#0000ff" } 16 | Interpolation = { Colour="#C76BC6" } 17 | 18 | Keywords = { 19 | { Colour="#00aaaa" }, 20 | { Colour="#f70000" }, 21 | { Colour="#5500ab" }, 22 | { Colour="#00aaaa" }, 23 | } 24 | -------------------------------------------------------------------------------- /inst/langDefs/lilypond.lang: -------------------------------------------------------------------------------- 1 | 2 | Description="Lilypond" 3 | 4 | Identifiers=[[ ([a-z]+)\d* ]] 5 | 6 | Keywords={ 7 | { Id=1, 8 | List={"c", "d", "e", "f", "g", "a", "h", "b", "cis", "dis", "eis", "fis", "gis", "ais", "des", "es", "ges", "as", "s", "bes"}, 9 | }, 10 | { Id=2, 11 | Regex=[[\\[\w<>!\\]+]], 12 | }, 13 | } 14 | 15 | Strings={ 16 | Delimiter=[["]], 17 | } 18 | 19 | IgnoreCase=false 20 | 21 | Comments={ 22 | { Block=false, 23 | Delimiter= { [[%(?!\{).*]] }, 24 | }, 25 | { Block=true, 26 | Nested=false, 27 | Delimiter= { [[\%\{]],[[\}\%]],} 28 | } 29 | } 30 | 31 | Operators=[[\(|\)|\[|\]|\{|\}|<|>|\'|\,|\.|\/|\:|\^|\=|\#|\*|\_|\!]] 32 | -------------------------------------------------------------------------------- /inst/themes/bright.theme: -------------------------------------------------------------------------------- 1 | 2 | Description="Bright" 3 | 4 | Default = { Colour="#330066" } 5 | Canvas = { Colour="#ffffff" } 6 | Number = { Colour="#32ba06" } 7 | Escape = { Colour="#a61761" } 8 | String = { Colour="#1861a7" } 9 | StringPreProc = { Colour="#663300" } 10 | BlockComment = { Colour="#006633" } 11 | PreProcessor = { Colour="#5374b0" } 12 | LineNum = { Colour="#9a9a9a" } 13 | Operator = { Colour="#555555" } 14 | LineComment = BlockComment 15 | Interpolation = Escape 16 | 17 | Keywords = { 18 | { Colour= "#ff3030" }, 19 | { Colour= "#F48C23" }, 20 | { Colour= "#0000ff" }, 21 | { Colour= "#d11ced" }, 22 | } 23 | -------------------------------------------------------------------------------- /inst/themes/darkspectrum.theme: -------------------------------------------------------------------------------- 1 | -- Theme generated by vim2theme 2 | 3 | Description = "vim darkspectrum" 4 | 5 | Default = { Colour="#efefef" } 6 | Canvas = { Colour="#2A2A2A" } 7 | Number = { Colour="#fce94f" } 8 | Escape = { Colour="#e9b96e" } 9 | String = { Colour="#fce94f" } 10 | BlockComment = { Colour="#8a8a8a" } 11 | StringPreProc = String 12 | LineComment = BlockComment 13 | Operator = Default 14 | LineNum = BlockComment 15 | PreProcessor = Default 16 | Interpolation = { Colour="#69C8DB" } 17 | 18 | Keywords = { 19 | { Colour="#ffffff" , Bold=true}, 20 | { Colour="#8ae234" , Bold=true}, 21 | { Colour="#34e3e3" }, 22 | { Colour="#efefef" }, 23 | } 24 | -------------------------------------------------------------------------------- /inst/themes/ekvoli.theme: -------------------------------------------------------------------------------- 1 | 2 | Description = "vim ekvoli" 3 | 4 | Default = { Colour="#dedede" } 5 | Canvas = { Colour="#001535" } 6 | Number = { Colour="#87c6f0" , Italic=true} 7 | Escape = { Colour="#9fd190" , Bold=true} 8 | String = { Colour="#87c6f0" , Italic=true} 9 | BlockComment = { Colour="#9590d5" , Italic=true} 10 | StringPreProc = String 11 | LineComment = BlockComment 12 | Operator = Default 13 | LineNum = BlockComment 14 | PreProcessor = { Colour="#90d1c2" } 15 | Interpolation = { Colour="#DB87D9" } 16 | 17 | Keywords = { 18 | { Colour="#ffffff" , Bold=true}, 19 | { Colour="#90bfd0" }, 20 | { Colour="#9fd190" }, 21 | { Colour="#d1909e" }, 22 | } 23 | -------------------------------------------------------------------------------- /inst/langDefs/limbo.lang: -------------------------------------------------------------------------------- 1 | 2 | Description="Limbo" 3 | 4 | Keywords={ 5 | { Id=1, 6 | List={ "if", "else", "while", "do", "return", "list", "of", 7 | "ref", "load", "import", "include"} 8 | }, 9 | 10 | { Id=2, 11 | List= { "byte","int","big","real", "string" , "array"} 12 | }, 13 | { Id=3, 14 | Regex=[[(\w+)\s*\:]] 15 | }, 16 | { Id=4, 17 | Regex=[[(\w+)\s*\(]] 18 | } 19 | } 20 | 21 | Strings = { 22 | Delimiter=[["]] 23 | } 24 | 25 | Comments = { 26 | { 27 | Block=false, 28 | Delimiter = { [[#]] } 29 | } 30 | } 31 | 32 | IgnoreCase=false 33 | 34 | Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\.|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-|\~|\|]] 35 | -------------------------------------------------------------------------------- /inst/themes/navajo-night.theme: -------------------------------------------------------------------------------- 1 | -- Theme generated by vim2theme 2 | 3 | Description = "vim navajo-night" 4 | 5 | Default = { Colour="#ffffff" } 6 | Canvas = { Colour="#35536f" } 7 | Number = { Colour="#3fffa7" } 8 | Escape = { Colour="#bfbfef" } 9 | String = { Colour="#3fffa7" } 10 | BlockComment = { Colour="#e7e77f" } 11 | StringPreProc = String 12 | LineComment = BlockComment 13 | Operator = Default 14 | LineNum = BlockComment 15 | PreProcessor = Default 16 | Interpolation = Escape 17 | 18 | Keywords = { 19 | { Colour="#5ad5d5" , Bold=true}, 20 | { Colour="#d174a8" , Bold=true}, 21 | { Colour="#98d65a" , Bold=true}, 22 | { Colour="#ffffff" , Bold=true}, 23 | } 24 | -------------------------------------------------------------------------------- /inst/langDefs/mxml.lang: -------------------------------------------------------------------------------- 1 | 2 | Description="Magic eXtensible Markup" 3 | 4 | Keywords={ 5 | { Id=1, 6 | Regex=[[<[!?]?(?!\-\-)\/?[\w\:\-]+>?|[/?]?>]], 7 | Group=0, 8 | }, 9 | { Id=2, 10 | Regex=[[([-\w]+)="]], 11 | }, 12 | { Id=4, 13 | Regex=[[\&\#?\w+;]], 14 | }, 15 | } 16 | 17 | Strings={ 18 | Delimiter=[["]], 19 | } 20 | 21 | Comments={ 22 | { Block=true, 23 | Nested=false, 24 | Delimiter= { [[]] } 25 | } 26 | } 27 | 28 | NestedSections = { 29 | { Lang="actionscript", Delimiter= { [[ ]] } }, 30 | { Lang="css", Delimiter= { [[]], [[<\/mx\:Style>]] } } 31 | 32 | } 33 | 34 | IgnoreCase=true 35 | -------------------------------------------------------------------------------- /inst/themes/edit-matlab.theme: -------------------------------------------------------------------------------- 1 | 2 | Description="Matlab Editor" 3 | 4 | Default = { Colour="#000000" } 5 | Canvas = { Colour="#ffffff" } 6 | Number = { Colour="#000000" } 7 | Escape = { Colour="#000000" } 8 | String = { Colour="#800000" } 9 | StringPreProc = { Colour="#800000" } 10 | Operator = { Colour="#000000" } 11 | BlockComment = { Colour="#228B22" } 12 | PreProcessor = { Colour="#733710" } 13 | LineNum = { Colour="#808080" } 14 | LineComment = BlockComment 15 | Interpolation = Escape 16 | 17 | Keywords = { 18 | { Colour= "#0000ff" }, 19 | { Colour= "#000000" }, 20 | { Colour= "#0000ff" }, 21 | { Colour= "#000000" }, 22 | } 23 | -------------------------------------------------------------------------------- /inst/themes/olive.theme: -------------------------------------------------------------------------------- 1 | -- Theme generated by vim2theme 2 | 3 | Description = "vim olive" 4 | 5 | Default = { Colour="#D9D9C3" } 6 | Canvas = { Colour="#333300" } 7 | Number = { Colour="#ffddad" } 8 | Escape = { Colour="#ffddad" , Underline=true} 9 | String = { Colour="#afff2f" } 10 | BlockComment = { Colour="#bdb66b" , Underline=true} 11 | StringPreProc = String 12 | LineComment = BlockComment 13 | Operator = Default 14 | LineNum = { Colour="#bdb66b" } 15 | PreProcessor = Default 16 | Interpolation = { Colour="#ffddad"} 17 | 18 | Keywords = { 19 | { Colour="#8fbc8f" , Bold=true}, 20 | { Colour="#daa520" }, 21 | { Colour="#21d948" }, 22 | { Colour="#D9D9C3" }, 23 | } 24 | -------------------------------------------------------------------------------- /inst/themes/solarized-dark.theme: -------------------------------------------------------------------------------- 1 | Description="Solarized Dark" 2 | 3 | Default = { Colour="#839496" } 4 | Canvas = { Colour="#002b36" } 5 | Number = { Colour="#dc322f" } 6 | Escape = { Colour="#6c71c4" } 7 | String = { Colour="#dc322f" } 8 | StringPreProc = { Colour="#dc322f" } 9 | BlockComment = { Colour="#586e75" } 10 | PreProcessor = { Colour="#6c71c4" } 11 | LineNum = { Colour="#268bd2" } 12 | Operator = { Colour="#93a1a1" } 13 | LineComment = BlockComment 14 | Interpolation = Escape 15 | 16 | Keywords = { 17 | { Colour= "#cb4b16" }, 18 | { Colour= "#859900" }, 19 | { Colour= "#cb4b16" }, 20 | { Colour= "#93a1a1" }, 21 | } 22 | -------------------------------------------------------------------------------- /inst/themes/solarized-light.theme: -------------------------------------------------------------------------------- 1 | Description="Solarized Light" 2 | 3 | Default = { Colour="#657b83" } 4 | Canvas = { Colour="#fdf6e3" } 5 | Number = { Colour="#dc322f" } 6 | Escape = { Colour="#6c71c4" } 7 | String = { Colour="#dc322f" } 8 | StringPreProc = { Colour="#dc322f" } 9 | BlockComment = { Colour="#93a1a1" } 10 | PreProcessor = { Colour="#6c71c4" } 11 | LineNum = { Colour="#268bd2" } 12 | Operator = { Colour="#586e75" } 13 | LineComment = BlockComment 14 | Interpolation = Escape 15 | 16 | Keywords = { 17 | { Colour= "#cb4b16" }, 18 | { Colour= "#859900" }, 19 | { Colour= "#cb4b16" }, 20 | { Colour= "#586e75" }, 21 | } 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | [![Travis-CI Build Status](https://travis-ci.org/jimhester/highlite.svg?branch=master)](https://travis-ci.org/jimhester/highlite) 2 | [![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/github/jimhester/highlite?branch=master&svg=true)](https://ci.appveyor.com/project/jimhester/highlite) 3 | 4 | # Highlite 5 | Highlite provides an R extension of Andre Simon's C++ library [highlight] 6 | (http://www.andre-simon.de/doku/highlight/en/highlight.php). It provides syntax 7 | highlighting without the need to compile and install a separate executable and 8 | includes support for over 200 languages, 80 themes and 10 output formats, 9 | including ANSI Escape Codes, HTML, LaTeX and SVG. 10 | -------------------------------------------------------------------------------- /inst/themes/earendel.theme: -------------------------------------------------------------------------------- 1 | -- Theme generated by vim2theme 2 | 3 | Description = "vim earendel" 4 | 5 | Default = { Colour="#000000" } 6 | Canvas = { Colour="#ffffff" } 7 | Number = { Colour="#a8660d" } 8 | Escape = { Colour="#a80d9e" } 9 | String = { Colour="#a8660d" } 10 | BlockComment = { Colour="#558817" } 11 | StringPreProc = String 12 | LineComment = BlockComment 13 | Operator = Default 14 | LineNum = { Colour="#006666" } 15 | PreProcessor = { Colour="#0da818" } 16 | Interpolation = { Colour="#8B80DB" } 17 | 18 | Keywords = { 19 | { Colour="#2239a8" , Bold=true}, 20 | { Colour="#8c1d69" , Bold=true}, 21 | { Colour="#a89222" , Bold=true}, 22 | { Colour="#a8227b" }, 23 | } 24 | -------------------------------------------------------------------------------- /inst/themes/zenburn.theme: -------------------------------------------------------------------------------- 1 | -- Theme generated by vim2theme 2 | 3 | Description = "vim zenburn" 4 | 5 | Default = { Colour="#dcdccc" } 6 | Canvas = { Colour="#1f1f1f" } 7 | Number = { Colour="#dca3a3" , Bold=true} 8 | Escape = { Colour="#dca3a3", Bold=true } 9 | String = { Colour="#cc9393" } 10 | BlockComment = { Colour="#7f9f7f" , Italic=true} 11 | PreProcessor = { Colour="#ffcfaf" , Bold=true} 12 | LineNum = { Colour="#9fafaf" } 13 | StringPreProc = String 14 | LineComment = BlockComment 15 | Operator = Default 16 | Interpolation = { Colour="#C07ABE" } 17 | 18 | Keywords = { 19 | { Colour="#e3ceab" }, 20 | { Colour="#dfdfbf" , Bold=true}, 21 | { Colour="#aae3b2" }, 22 | { Colour="#aabfe3" }, 23 | } 24 | -------------------------------------------------------------------------------- /inst/langDefs/abnf.lang: -------------------------------------------------------------------------------- 1 | Description="Advanced Backus-Naur Form" 2 | 3 | Keywords={ 4 | { Id=1, 5 | Regex=[[^\s*([^=]+)\s*=]], 6 | }, 7 | { Id=2, 8 | Regex=[[ [?][^?]+[?] ]], 9 | }, 10 | { Id=3, 11 | Regex=[[ [a-zA-Z][-a-zA-Z0-9]* ]], 12 | }, 13 | { Id=4, 14 | List={"ALPHA", "DIGIT", "HEXDIG", "DQUOTE", "SP", "HTAB", "WSP", "LWSP", "VCHAR", "CHAR", "OCTET", "CTL", "CR", "LF", "CRLF", "BIT"}, 15 | }, 16 | } 17 | 18 | Strings={ 19 | Delimiter=[["|']], 20 | } 21 | 22 | Comments={ 23 | { Block=true, 24 | Nested=false, 25 | Delimiter= { [[\(\*]],[[\*\)]] } 26 | } 27 | } 28 | 29 | IgnoreCase=false 30 | 31 | Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-|\.]] 32 | -------------------------------------------------------------------------------- /inst/themes/darkblue.theme: -------------------------------------------------------------------------------- 1 | 2 | Description="Dark Blue" 3 | 4 | Default = { Colour="#ffffff" } 5 | Canvas = { Colour="#000040" } 6 | Number = { Colour="#42cad9" } 7 | Escape = { Colour="#a1a1ff" } 8 | String = { Colour="#ffa0a0" } 9 | StringPreProc = { Colour="#ffa0a0" } 10 | BlockComment = { Colour="#80a0ff" } 11 | LineComment = { Colour="#ff7f9f" } 12 | PreProcessor = { Colour="#ff80ff" } 13 | LineNum = { Colour="#e5d28e" } 14 | Operator = { Colour="#bababa" } 15 | Interpolation = { Colour="#6ADBAA" } 16 | 17 | Keywords = { 18 | { Colour= "#e2e825" }, 19 | { Colour= "#60ff60" }, 20 | { Colour= "#e88d25" }, 21 | { Colour= "#e825e2", Bold=true }, 22 | } 23 | -------------------------------------------------------------------------------- /inst/themes/darkness.theme: -------------------------------------------------------------------------------- 1 | 2 | Description="Darkness" 3 | 4 | Default = { Colour="#ffffff" } 5 | Canvas = { Colour="#000000" } 6 | Number = { Colour="#619de7" } 7 | Escape = { Colour="#00abab" } 8 | String = { Colour="#abab00", Bold=true } 9 | StringPreProc = { Colour="#abab00" } 10 | BlockComment = { Colour="#008888" } 11 | PreProcessor = { Colour="#1da3cf" } 12 | LineNum = { Colour="#888888" } 13 | Operator = { Colour="#ff00ff" } 14 | LineComment = BlockComment 15 | Interpolation = { Colour="#DB70B8" } 16 | 17 | Keywords = { 18 | { Colour= "#ffff00", Bold=true }, 19 | { Colour= "#00ff00" }, 20 | { Colour= "#26e0e7" }, 21 | { Colour= "#f34627" }, 22 | } 23 | -------------------------------------------------------------------------------- /inst/themes/edit-vim.theme: -------------------------------------------------------------------------------- 1 | -- Theme generated by theme2to3 2 | 3 | Description="Vim Editor" 4 | 5 | Default = { Colour="#000000" } 6 | Canvas = { Colour="#ffffff" } 7 | Number = { Colour="#ff0000" } 8 | Escape = { Colour="#ff22ff" } 9 | String = { Colour="#ff0000" } 10 | StringPreProc = { Colour="#ff0000" } 11 | BlockComment = { Colour="#0000ff" } 12 | PreProcessor = { Colour="#ff22ff" } 13 | LineNum = { Colour="#0000ff" } 14 | Operator = { Colour="#000000" } 15 | LineComment = BlockComment 16 | Interpolation = Escape 17 | 18 | Keywords = { 19 | { Colour= "#B26818" }, 20 | { Colour= "#00ff00" }, 21 | { Colour= "#B26818" }, 22 | { Colour= "#000000" }, 23 | } 24 | -------------------------------------------------------------------------------- /inst/themes/edit-gedit.theme: -------------------------------------------------------------------------------- 1 | 2 | Description="Gedit Editor" 3 | 4 | Default = { Colour="#3A3935" } 5 | Canvas = { Colour="#ffffff" } 6 | Number = { Colour="#FF00FF" } 7 | Escape = { Colour="#FF00FF" } 8 | String = { Colour="#FF00FF" } 9 | StringPreProc = { Colour="#FF00FF" } 10 | BlockComment = { Colour="#003CFF" } 11 | LineComment = { Colour="#003CFF" } 12 | PreProcessor = { Colour="#A020F0" } 13 | LineNum = { Colour="#3C3B37" } 14 | Operator = { Colour="#3A3935" } 15 | Interpolation = Escape 16 | 17 | Keywords = { 18 | { Colour= "#A52A35" }, 19 | { Colour= "#2E8B57" }, 20 | { Colour= "#572e8c" }, 21 | { Colour= "#3A3935", Bold=true }, 22 | } 23 | 24 | 25 | -------------------------------------------------------------------------------- /inst/themes/edit-xcode.theme: -------------------------------------------------------------------------------- 1 | -- Theme generated by theme2to3 2 | 3 | Description="XCode IDE" 4 | 5 | Default = { Colour="#000000" } 6 | Canvas = { Colour="#ffffff" } 7 | Number = { Colour="#2300ff" } 8 | Escape = { Colour="#000000" } 9 | String = { Colour="#c00000" } 10 | StringPreProc = { Colour="#733710" } 11 | BlockComment = { Colour="#007f1c" } 12 | PreProcessor = { Colour="#733710" } 13 | LineNum = { Colour="#808080" } 14 | Operator = { Colour="#000000" } 15 | LineComment = BlockComment 16 | Interpolation = Escape 17 | 18 | Keywords = { 19 | { Colour= "#8f0055" }, 20 | { Colour= "#8f0055" }, 21 | { Colour= "#8f0055" }, 22 | { Colour= "#000000" }, 23 | } 24 | -------------------------------------------------------------------------------- /inst/themes/orion.theme: -------------------------------------------------------------------------------- 1 | -- Theme generated by theme2to3 2 | Description="Orion" 3 | Default = { Colour="#C4B1A8" } 4 | Canvas = { Colour="#1E1616" } 5 | Number = { Colour="#9C928C" } 6 | Escape = { Colour="#837D83" } 7 | String = { Colour="#635D63" } 8 | StringPreProc = { Colour="#635D63" } 9 | BlockComment = { Colour="#C4674A" } 10 | LineComment = { Colour="#C4674A" } 11 | PreProcessor = { Colour="#E7A731" } 12 | LineNum = { Colour="#9C928C" } 13 | Operator = { Colour="#7B94AD" } 14 | Interpolation = { Colour="#9C959C" } 15 | 16 | Keywords = { 17 | { Colour= "#49d4d6" }, 18 | { Colour= "#BA1919" }, 19 | { Colour= "#7B2421" }, 20 | { Colour= "#AD5139" }, 21 | } 22 | -------------------------------------------------------------------------------- /inst/themes/andes.theme: -------------------------------------------------------------------------------- 1 | -- Theme based loosely on vim xoria256 but seriously tweaked by Roger Sperberg 2 | 3 | Description = "brighter than xoria256" 4 | 5 | Default = { Colour="#f0f0f0" } 6 | Canvas = { Colour="#0f0f0f" } 7 | Number = { Colour="#dfaf87" } 8 | Escape = { Colour="#df8787" } 9 | BlockComment = { Colour="#33ff00" } 10 | PreProcessor = { Colour="#afdf87" } 11 | LineNum = { Colour="#993366" } 12 | String= { Colour="#ffff77" } 13 | StringPreProc = String 14 | LineComment = { Colour="#33ff00" } 15 | Operator = { Colour="#ff00cc" } 16 | Interpolation = { Colour="#8FDBDF" } 17 | 18 | Keywords = { 19 | { Colour="#66aaff" }, 20 | { Colour="#66ff99" }, 21 | { Colour="#cc9966" }, 22 | { Colour="#ff99aa" }, 23 | } 24 | -------------------------------------------------------------------------------- /inst/themes/edit-vim-dark.theme: -------------------------------------------------------------------------------- 1 | -- Theme generated by theme2to3 2 | 3 | Description="Vim Dark Editor" 4 | 5 | Default = { Colour="#ffffff" } 6 | Canvas = { Colour="#000000" } 7 | Number = { Colour="#ff0000" } 8 | Escape = { Colour="#ff22ff" } 9 | String = { Colour="#ff0000" } 10 | StringPreProc = { Colour="#ff0000" } 11 | BlockComment = { Colour="#0000ff" } 12 | PreProcessor = { Colour="#ff22ff" } 13 | LineNum = { Colour="#0000ff" } 14 | Operator = { Colour="#ffffff" } 15 | LineComment = BlockComment 16 | Interpolation = Escape 17 | 18 | Keywords = { 19 | { Colour= "#B26818" }, 20 | { Colour= "#00ff00" }, 21 | { Colour= "#B26818" }, 22 | { Colour= "#ffffff" }, 23 | } 24 | -------------------------------------------------------------------------------- /inst/themes/fine_blue.theme: -------------------------------------------------------------------------------- 1 | -- Theme generated by vim2theme 2 | 3 | Description = "vim fine_blue" 4 | 5 | Default = { Colour="#404048" } 6 | Canvas = { Colour="#f8f8f8" } 7 | Number = { Colour="#2020ff" } 8 | Escape = { Colour="#005858" } 9 | String = { Colour="#2020ff" } 10 | BlockComment = { Colour="#ff00c0" , Italic=true} 11 | StringPreProc = String 12 | LineComment = BlockComment 13 | Operator = Default 14 | LineNum = { Colour="#ff00c0" } 15 | PreProcessor = { Colour="#007387" } 16 | Interpolation = { Colour="#8A5588" } 17 | 18 | Keywords = { 19 | { Colour="#008858", Bold=true; }, 20 | { Colour="#7040ff", Bold=true; }, 21 | { Colour="#87002f", Bold=true; }, 22 | { Colour="#404048", Bold=true;}, 23 | } 24 | -------------------------------------------------------------------------------- /inst/themes/edit-flashdevelop.theme: -------------------------------------------------------------------------------- 1 | 2 | Description="FlashDevelop" 3 | 4 | Default = { Colour="#000000" } 5 | Canvas = { Colour="#ffffff" } 6 | Number = { Colour="#0000ff", Bold=true } 7 | Escape = { Colour="#a31515" } 8 | String = { Colour="#a31515" } 9 | StringPreProc = { Colour="#0000ff" } 10 | BlockComment = { Colour="#606060" } 11 | PreProcessor = { Colour="#0000ff" } 12 | LineNum = { Colour="#B0B0B0" } 13 | Operator = { Colour="#000000" } 14 | LineComment = BlockComment 15 | Interpolation = Escape 16 | 17 | Keywords = { 18 | { Colour= "#0000ff" }, 19 | { Colour= "#0000ff" }, 20 | { Colour= "#2b91af" }, 21 | { Colour= "#2b91af" }, 22 | { Colour= "#000000" }, 23 | } 24 | -------------------------------------------------------------------------------- /inst/themes/edit-msvs2008.theme: -------------------------------------------------------------------------------- 1 | -- Theme generated by theme2to3 2 | 3 | Description="Visual Studio IDE" 4 | 5 | Default = { Colour="#000000" } 6 | Canvas = { Colour="#ffffff" } 7 | Number = { Colour="#000000" } 8 | Escape = { Colour="#a31515" } 9 | String = { Colour="#a31515" } 10 | StringPreProc = { Colour="#0000ff" } 11 | BlockComment = { Colour="#008000" } 12 | PreProcessor = { Colour="#0000ff" } 13 | LineNum = { Colour="#2b91af" } 14 | Operator = { Colour="#000000" } 15 | LineComment = BlockComment 16 | Interpolation = Escape 17 | 18 | Keywords = { 19 | { Colour= "#0000ff" }, 20 | { Colour= "#0000ff" }, 21 | { Colour= "#2b91af" }, 22 | { Colour= "#000000" }, 23 | } 24 | -------------------------------------------------------------------------------- /inst/themes/lucretia.theme: -------------------------------------------------------------------------------- 1 | -- Theme generated by theme2to3 2 | Description="Lucretia" 3 | Default = { Colour="#de9d7c" } 4 | Canvas = { Colour="#001C42" } 5 | Number = { Colour="#63759C" } 6 | Escape = { Colour="#6B924A" } 7 | String = { Colour="#E7F3B5" } 8 | StringPreProc = { Colour="#E7F3B5" } 9 | BlockComment = { Colour="#944D39" } 10 | LineComment = { Colour="#AD5D31" } 11 | PreProcessor = { Colour="#815d8c" } 12 | LineNum = { Colour="#73758C" } 13 | Operator = { Colour="#6A7969" } 14 | Interpolation = { Colour="#ffffff" } 15 | 16 | Keywords = { 17 | { Colour= "#907fd4" }, 18 | { Colour= "#29a655" }, 19 | { Colour= "#427142" }, 20 | { Colour= "#A59A39" }, 21 | } 22 | -------------------------------------------------------------------------------- /inst/themes/blacknblue.theme: -------------------------------------------------------------------------------- 1 | 2 | Description="Black And Blue" 3 | 4 | Default = { Colour="#22a0d6" } 5 | Canvas = { Colour="#000000" } 6 | Number = { Colour="#cc3366" } 7 | Escape = { Colour="#88cf32" } 8 | String = { Colour="#cfc631" } 9 | StringPreProc = { Colour="#cfc631" } 10 | BlockComment = { Colour="#c47b6a", Italic=true } 11 | PreProcessor = { Colour="#8080ff" } 12 | Operator = { Colour="#ccc6c6" } 13 | LineNum = { Colour="#888888" } 14 | LineComment = BlockComment 15 | Interpolation = { Colour="#EE5B9B" } 16 | 17 | Keywords = { 18 | { Colour= "#1ededc", Bold=true }, 19 | { Colour= "#c06cf8", Bold=true }, 20 | { Colour= "#00ff99" }, 21 | { Colour= "#1ceddc" }, 22 | } 23 | -------------------------------------------------------------------------------- /inst/themes/edit-kwrite.theme: -------------------------------------------------------------------------------- 1 | 2 | Description="Kwrite Editor" 3 | 4 | Default = { Colour="#000000" } 5 | Canvas = { Colour="#E0EAEE" } 6 | Number = { Colour="#B07E00" } 7 | Escape = { Colour="#ff00ff" } 8 | String = { Colour="#BF0303" } 9 | Interpolation = { Colour="#0057AE" } 10 | StringPreProc = { Colour="#818100" } 11 | BlockComment = { Colour="#838183", Italic=true } 12 | PreProcessor = { Colour="#008200" } 13 | LineNum = { Colour="#555555" } 14 | Operator = { Colour="#000000" } 15 | LineComment = BlockComment 16 | 17 | Keywords = { 18 | { Colour= "#000000", Bold=true }, 19 | { Colour= "#0057AE" }, 20 | { Colour= "#000000", Bold=true }, 21 | { Colour= "#010181" }, 22 | } 23 | -------------------------------------------------------------------------------- /inst/themes/greenlcd.theme: -------------------------------------------------------------------------------- 1 | -- Theme generated by theme2to3 2 | Description="Green LCD" 3 | 4 | Default = { Colour="#00bb00" } 5 | Canvas = { Colour="#003000" } 6 | Number = { Colour="#3399cc" } 7 | Escape = { Colour="#3399cc" } 8 | String = { Colour="#dfdfdf" } 9 | StringPreProc = { Colour="#dfdfdf" } 10 | BlockComment = { Colour="#888888", Italic=true } 11 | PreProcessor = { Colour="#bfbfbf" } 12 | LineNum = { Colour="#bcbcbc" } 13 | Operator = { Colour="#2fe7a9" } 14 | LineComment = BlockComment 15 | Interpolation = Escape 16 | 17 | Keywords = { 18 | { Colour= "#00ed00", Bold=true }, 19 | { Colour= "#00ed00" }, 20 | { Colour= "#beef13" }, 21 | { Colour= "#c0ff73" }, 22 | } 23 | -------------------------------------------------------------------------------- /inst/themes/navy.theme: -------------------------------------------------------------------------------- 1 | -- Theme generated by theme2to3 2 | Description="Navy" 3 | Default = { Colour="#008bff" } 4 | Canvas = { Colour="#000035" } 5 | Number = { Colour="#f87ff4" } 6 | Escape = { Colour="#66f5ff" } 7 | String = { Colour="#ff7f66" } 8 | StringPreProc = { Colour="#ffffff" } 9 | BlockComment = { Colour="#ffbb00", Italic=true } 10 | PreProcessor = { Colour="#bb00ff" } 11 | LineNum = { Colour="#888888" } 12 | Operator = { Colour="#ffffff" } 13 | LineComment = BlockComment 14 | Interpolation = { Colour="#D674D5" } 15 | 16 | Keywords = { 17 | { Colour= "#f8c50b", Bold=true }, 18 | { Colour= "#e1e72f" }, 19 | { Colour= "#13d8ef" }, 20 | { Colour= "#ffffff" }, 21 | } 22 | -------------------------------------------------------------------------------- /inst/themes/zellner.theme: -------------------------------------------------------------------------------- 1 | -- Theme generated by theme2to3 2 | Description="Zellner" 3 | Default = { Colour="#000000" } 4 | Canvas = { Colour="#ffffff" } 5 | Number = { Colour="#ff0066" } 6 | Escape = { Colour="#ff00ff" } 7 | String = { Colour="#ff00ff" } 8 | StringPreProc = { Colour="#ff00ff" } 9 | BlockComment = { Colour="#ff0000" } 10 | LineComment = { Colour="#0b810d" } 11 | PreProcessor = { Colour="#a020f0" } 12 | LineNum = { Colour="#888888" } 13 | Operator = { Colour="#000000" } 14 | Interpolation = { Colour="#895CC0" } 15 | 16 | Keywords = { 17 | { Colour= "#a52a2a" }, 18 | { Colour= "#0000ff" }, 19 | { Colour= "#225f2d" }, 20 | { Colour= "#000000", Bold=true }, 21 | } 22 | -------------------------------------------------------------------------------- /DESCRIPTION: -------------------------------------------------------------------------------- 1 | Package: highlite 2 | Title: A Highlighting Library For R 3 | Version: 0.0.0.9000 4 | Authors@R: person("Jim", "Hester", email = "james.f.hester@gmail.com", role = c("aut", "cre")) 5 | Description: Highlite provides an R extension of Andre Simon's C++ library 6 | highlight (http://www.andre-simon.de/doku/highlight/en/highlight.php). It 7 | provides syntax highlighting without the need to compile and install a separate 8 | executable and includes support for over 200 languages, 80 themes and 10 9 | output formats, including ANSI Escape Codes, HTML, LaTeX and SVG. 10 | Depends: 11 | R (>= 3.2.0) 12 | License: GPL-3 13 | Encoding: UTF-8 14 | LazyData: true 15 | LinkingTo: Rcpp, BH 16 | Imports: 17 | Rcpp 18 | RoxygenNote: 5.0.1 19 | -------------------------------------------------------------------------------- /inst/themes/edit-anjuta.theme: -------------------------------------------------------------------------------- 1 | -- Theme generated by theme2to3 2 | 3 | Description="Anjuta IDE" 4 | 5 | Default = { Colour="#000000" } 6 | Canvas = { Colour="#ffffff" } 7 | Number = { Colour="#008800" } 8 | Escape = { Colour="#ddbb00" } 9 | String = { Colour="#ddbb00" } 10 | StringPreProc = { Colour="#ddbb00" } 11 | BlockComment = { Colour="#ff0000", Italic=true } 12 | PreProcessor = { Colour="#678000" } 13 | LineNum = { Colour="#ff0000" } 14 | Operator = { Colour="#000000" } 15 | LineComment = BlockComment 16 | Interpolation = Escape 17 | 18 | Keywords = { 19 | { Colour= "#000080", Bold=true }, 20 | { Colour= "#000080" }, 21 | { Colour= "#0000ff" }, 22 | { Colour= "#000000" }, 23 | } 24 | -------------------------------------------------------------------------------- /inst/themes/pablo.theme: -------------------------------------------------------------------------------- 1 | -- Theme generated by theme2to3 2 | Description="Pablo" 3 | Default = { Colour="#ffffff" } 4 | Canvas = { Colour="#000000" } 5 | Number = { Colour="#00ffff" } 6 | Escape = { Colour="#ff6600" } 7 | String = { Colour="#00ffff" } 8 | StringPreProc = { Colour="#00ffff" } 9 | BlockComment = { Colour="#808080" } 10 | PreProcessor = { Colour="#66ff66" } 11 | LineNum = { Colour="#808080" } 12 | Operator = { Colour="#ff0000" } 13 | LineComment = BlockComment 14 | Interpolation = { Colour="#CC518A" } 15 | 16 | Keywords = { 17 | { Colour= "#c0c000", Bold=true }, 18 | { Colour= "#00c000", Bold=true }, 19 | { Colour= "#3939bf", Bold=true }, 20 | { Colour= "#21ffc0" }, 21 | } 22 | -------------------------------------------------------------------------------- /inst/themes/edit-emacs.theme: -------------------------------------------------------------------------------- 1 | -- Theme generated by theme2to3 2 | 3 | 4 | Description="Emacs Editor" 5 | 6 | Default = { Colour="#000000" } 7 | Canvas = { Colour="#ffffff" } 8 | Number = { Colour="#000000" } 9 | Escape = { Colour="#bd8d8b" } 10 | String = { Colour="#bd8d8b" } 11 | StringPreProc = { Colour="#bd8d8b" } 12 | BlockComment = { Colour="#ac2020", Italic=true } 13 | PreProcessor = { Colour="#000000" } 14 | LineNum = { Colour="#555555" } 15 | Operator = { Colour="#000000" } 16 | LineComment = BlockComment 17 | Interpolation = Escape 18 | 19 | Keywords = { 20 | { Colour= "#9c20ee", Bold=true }, 21 | { Colour= "#208920" }, 22 | { Colour= "#0000ff" }, 23 | { Colour= "#000000" }, 24 | } 25 | -------------------------------------------------------------------------------- /inst/themes/rand01.theme: -------------------------------------------------------------------------------- 1 | -- Theme generated by theme2to3 2 | Description="Random 01" 3 | Default = { Colour="#121b28" } 4 | Canvas = { Colour="#ffffff" } 5 | Number = { Colour="#0da344" } 6 | Escape = { Colour="#a764cb" } 7 | String = { Colour="#2b83ba" } 8 | StringPreProc = { Colour="#2b83ba" } 9 | BlockComment = { Colour="#ababab", Italic=true } 10 | PreProcessor = { Colour="#620ac6" } 11 | LineNum = { Colour="#90a729" } 12 | Operator = { Colour="#0000de" } 13 | LineComment = BlockComment 14 | Interpolation = { Colour="#CC60A3" } 15 | 16 | Keywords = { 17 | { Colour= "#0a7f6d", Bold=true }, 18 | { Colour= "#c42638", Bold=true }, 19 | { Colour= "#e12f76" }, 20 | { Colour= "#2ac749" }, 21 | } 22 | -------------------------------------------------------------------------------- /inst/themes/seashell.theme: -------------------------------------------------------------------------------- 1 | -- Theme generated by theme2to3 2 | Description="Seashell" 3 | Default = { Colour="#000000" } 4 | Canvas = { Colour="#fff5ee" } 5 | Number = { Colour="#ff1493" } 6 | Escape = { Colour="#6a5acd" } 7 | String = { Colour="#ff1493" } 8 | StringPreProc = { Colour="#ff1493" } 9 | BlockComment = { Colour="#2929cc" } 10 | PreProcessor = { Colour="#800080" } 11 | LineNum = { Colour="#555555" } 12 | Operator = { Colour="#676767" } 13 | LineComment = BlockComment 14 | Interpolation = { Colour="#5548A4" } 15 | 16 | Keywords = { 17 | { Colour= "#2e8b57", Bold=true }, 18 | { Colour= "#2e8b57", Bold=true }, 19 | { Colour= "#696969", Bold=true }, 20 | { Colour= "#00008f" }, 21 | } 22 | -------------------------------------------------------------------------------- /inst/themes/vampire.theme: -------------------------------------------------------------------------------- 1 | -- Theme generated by theme2to3 2 | Description="Vampire" 3 | Default = { Colour="#ff0000" } 4 | Canvas = { Colour="#000000" } 5 | Number = { Colour="#aaff00" } 6 | Escape = { Colour="#ffffff" } 7 | String = { Colour="#bb00ff" } 8 | StringPreProc = { Colour="#bb00ff" } 9 | BlockComment = { Colour="#ababab", Italic=true } 10 | PreProcessor = { Colour="#ababab" } 11 | LineNum = { Colour="#F3E651" } 12 | Operator = { Colour="#F3E651" } 13 | LineComment = BlockComment 14 | Interpolation = { Colour="#DD5892" } 15 | 16 | Keywords = { 17 | { Colour= "#ffffff", Bold=true }, 18 | { Colour= "#F35E1E", Bold=true }, 19 | { Colour= "#ffffff" }, 20 | { Colour= "#ffcc33" }, 21 | } 22 | -------------------------------------------------------------------------------- /inst/themes/easter.theme: -------------------------------------------------------------------------------- 1 | -- Theme generated by theme2to3 2 | 3 | Description="Easter" 4 | 5 | Default = { Colour="#2C7B34" } 6 | Canvas = { Colour="#fff9b9" } 7 | Number = { Colour="#e11a70" } 8 | Escape = { Colour="#3ea392" } 9 | String = { Colour="#ca4be3" } 10 | StringPreProc = { Colour="#ca4be3" } 11 | BlockComment = { Colour="#1ea411", Italic=true } 12 | PreProcessor = { Colour="#1583b1" } 13 | LineNum = { Colour="#7717b7" } 14 | Operator = { Colour="#fa4700" } 15 | LineComment = BlockComment 16 | Interpolation = Escape 17 | 18 | Keywords = { 19 | { Colour= "#1d45d6", Bold=true }, 20 | { Colour= "#ed0f55", Bold=true }, 21 | { Colour= "#26aae7", Bold=true }, 22 | { Colour= "#1d45d6" }, 23 | } 24 | -------------------------------------------------------------------------------- /inst/themes/edit-jedit.theme: -------------------------------------------------------------------------------- 1 | -- Theme generated by theme2to3 2 | 3 | Description="jEdit Editor" 4 | 5 | Default = { Colour="#000000" } 6 | Canvas = { Colour="#ffffff" } 7 | Number = { Colour="#ff0000" } 8 | Escape = { Colour="#ff00ff" } 9 | String = { Colour="#ff00cc" } 10 | StringPreProc = { Colour="#818100" } 11 | BlockComment = { Colour="#cc0000" } 12 | PreProcessor = { Colour="#0000ff" } 13 | LineNum = { Colour="#555555" } 14 | Operator = { Colour="#000000", Bold=true } 15 | LineComment = BlockComment 16 | Interpolation = Escape 17 | 18 | Keywords = { 19 | { Colour= "#009966", Bold=true }, 20 | { Colour= "#009966", Bold=true }, 21 | { Colour= "#0099ff" }, 22 | { Colour= "#9966ff" }, 23 | } 24 | -------------------------------------------------------------------------------- /inst/themes/acid.theme: -------------------------------------------------------------------------------- 1 | 2 | Description="Acid" 3 | 4 | Default = { Colour="#000000" } 5 | Canvas = { Colour="#eeeeee" } 6 | Number = { Colour="#800080", Bold=true } 7 | Escape = { Colour="#ff00ff", Bold=true } 8 | String = { Colour="#a68500" } 9 | StringPreProc = { Colour="#0000ff" } 10 | BlockComment = { Colour="#ff8000" } 11 | LineComment = { Colour="#f27900" } 12 | PreProcessor = { Colour="#0080c0", Bold=true } 13 | LineNum = { Colour="#303030" } 14 | Operator = { Colour="#ff0080", Bold=true } 15 | Interpolation = { Colour="#9E5DFF" } 16 | 17 | Keywords = { 18 | { Colour= "#bb7977", Bold=true }, 19 | { Colour= "#8080c0", Bold=true }, 20 | { Colour= "#0080c0" }, 21 | { Colour= "#004466" }, 22 | } 23 | -------------------------------------------------------------------------------- /inst/themes/moe.theme: -------------------------------------------------------------------------------- 1 | -- Theme generated by theme2to3 2 | Description="Moe" 3 | Default = { Colour="#000000" } 4 | Canvas = { Colour="#f6f6f6" } 5 | Number = { Colour="#880022" } 6 | Escape = { Colour="#ff00ff", Bold=true } 7 | String = { Colour="#aa4400" } 8 | StringPreProc = { Colour="#008800" } 9 | BlockComment = { Colour="#ff8800" } 10 | LineComment = { Colour="#ee7700" } 11 | PreProcessor = { Colour="#008844", Bold=true } 12 | LineNum = { Colour="#333333" } 13 | Operator = { Colour="#000000", Bold=true } 14 | Interpolation = Escape 15 | 16 | Keywords = { 17 | { Colour= "#661111", Bold=true }, 18 | { Colour= "#000066", Bold=true }, 19 | { Colour= "#000066" }, 20 | { Colour= "#004466" }, 21 | } 22 | -------------------------------------------------------------------------------- /inst/themes/whitengrey.theme: -------------------------------------------------------------------------------- 1 | -- Theme generated by theme2to3 2 | Description="White and Grey" 3 | Default = { Colour="#696969" } 4 | Canvas = { Colour="#ffffff" } 5 | Number = { Colour="#bb00ff" } 6 | Escape = { Colour="#510087" } 7 | String = { Colour="#008800" } 8 | StringPreProc = { Colour="#008800" } 9 | BlockComment = { Colour="#1326a2", Italic=true } 10 | PreProcessor = { Colour="#470000" } 11 | LineNum = { Colour="#555555" } 12 | Operator = { Colour="#696969" } 13 | LineComment = BlockComment 14 | Interpolation = { Colour="#6285DD" } 15 | 16 | Keywords = { 17 | { Colour= "#696969", Bold=true }, 18 | { Colour= "#696969" }, 19 | { Colour= "#696969", Bold=true }, 20 | { Colour= "#000000" }, 21 | } 22 | -------------------------------------------------------------------------------- /inst/langDefs/svg.lang: -------------------------------------------------------------------------------- 1 | 2 | Description="SVG" 3 | 4 | Keywords={ 5 | { Id=1, 6 | Regex=[[<[!?]?(?!\-\-)\/?[\w\:\-]+>?|[/?]?>]], 7 | Group=0, 8 | }, 9 | { Id=2, 10 | Regex=[[([-\w]+)="]], 11 | }, 12 | { Id=4, 13 | Regex=[[\&\#?\w+;]], 14 | }, 15 | } 16 | 17 | Strings={ 18 | Delimiter=[["]], 19 | } 20 | 21 | Comments={ 22 | { Block=true, 23 | Nested=false, 24 | Delimiter= { [[]] } 25 | } 26 | } 27 | 28 | NestedSections = { 29 | { Lang="css", Delimiter= { [[]], [[<\/style>]] } }, 30 | { Lang="js", Delimiter= { [[