64 lines
2.2 KiB
Lua
64 lines
2.2 KiB
Lua
-- base16-vis (https://github.com/pshevtsov/base16-vis)
|
|
-- by Petr Shevtsov
|
|
-- Tomorrow Night scheme by Chris Kempson (http://chriskempson.com)
|
|
|
|
local lexers = vis.lexers
|
|
|
|
local colors = {
|
|
['base00'] = '#1d1f21',
|
|
['base01'] = '#282a2e',
|
|
['base02'] = '#373b41',
|
|
['base03'] = '#969896',
|
|
['base04'] = '#b4b7b4',
|
|
['base05'] = '#c5c8c6',
|
|
['base06'] = '#e0e0e0',
|
|
['base07'] = '#ffffff',
|
|
['base08'] = '#cc6666',
|
|
['base09'] = '#de935f',
|
|
['base0A'] = '#f0c674',
|
|
['base0B'] = '#b5bd68',
|
|
['base0C'] = '#8abeb7',
|
|
['base0D'] = '#81a2be',
|
|
['base0E'] = '#b294bb',
|
|
['base0F'] = '#a3685a',
|
|
}
|
|
|
|
lexers.colors = colors
|
|
|
|
local fg = ',fore:'..colors.base05..','
|
|
local bg = ',back:'..colors.base00..','
|
|
|
|
lexers.STYLE_DEFAULT = bg..fg
|
|
lexers.STYLE_NOTHING = bg
|
|
lexers.STYLE_CLASS = 'fore:'..colors.base0A
|
|
lexers.STYLE_COMMENT = 'fore:'..colors.base03..',italics'
|
|
lexers.STYLE_CONSTANT = 'fore:'..colors.base09
|
|
lexers.STYLE_DEFINITION = 'fore:'..colors.base0E
|
|
lexers.STYLE_ERROR = 'fore:'..colors.base08..',italics'
|
|
lexers.STYLE_FUNCTION = 'fore:'..colors.base0D
|
|
lexers.STYLE_KEYWORD = 'fore:'..colors.base0E
|
|
lexers.STYLE_LABEL = 'fore:'..colors.base0A
|
|
lexers.STYLE_NUMBER = 'fore:'..colors.base09
|
|
lexers.STYLE_OPERATOR = 'fore:'..colors.base05
|
|
lexers.STYLE_REGEX = 'fore:'..colors.base0C
|
|
lexers.STYLE_STRING = 'fore:'..colors.base0B
|
|
lexers.STYLE_PREPROCESSOR = 'fore:'..colors.base0A
|
|
lexers.STYLE_TAG = 'fore:'..colors.base0A
|
|
lexers.STYLE_TYPE = 'fore:'..colors.base0A
|
|
lexers.STYLE_VARIABLE = 'fore:'..colors.base0D
|
|
lexers.STYLE_WHITESPACE = 'fore:'..colors.base02
|
|
lexers.STYLE_EMBEDDED = 'fore:'..colors.base0F
|
|
lexers.STYLE_IDENTIFIER = 'fore:'..colors.base08
|
|
|
|
lexers.STYLE_LINENUMBER = 'fore:'..colors.base02..',back:'..colors.base00
|
|
lexers.STYLE_CURSOR = 'fore:'..colors.base00..',back:'..colors.base05
|
|
lexers.STYLE_CURSOR_PRIMARY = 'fore:'..colors.base00..',back:'..colors.base05
|
|
lexers.STYLE_CURSOR_LINE = 'back:'..colors.base01
|
|
lexers.STYLE_COLOR_COLUMN = 'back:'..colors.base01
|
|
lexers.STYLE_SELECTION = 'back:'..colors.base02
|
|
lexers.STYLE_STATUS = 'fore:'..colors.base04..',back:'..colors.base01
|
|
lexers.STYLE_STATUS_FOCUSED = 'fore:'..colors.base09..',back:'..colors.base01
|
|
lexers.STYLE_SEPARATOR = lexers.STYLE_DEFAULT
|
|
lexers.STYLE_INFO = 'fore:default,back:default,bold'
|
|
lexers.STYLE_EOF = ''
|