vis-pnevma

Pnevma-dark port for vis editor.
git clone git://git.zepp.club/vis-pnevma.git
Log | Files | Refs | README

pnevma.lua (2371B)


      1 local lexers = vis.lexers
      2 local colors = {
      3 	['base00'] = '#1c1c1c', -- bg
      4 	['base0A'] = '#d0d0d0', -- fg 
      5 	['base01'] = '#2f2e2d', -- soft black
      6 	['base02'] = '#a36666', -- red
      7 	['base03'] = '#90a57d', -- soft green
      8 	['base04'] = '#d7af87', -- soft yellow
      9 	['base05'] = '#7fa5bd', -- soft blue
     10 	['base06'] = '#c79ec4', -- magenta
     11 	['base07'] = '#8adbb4', -- green
     12 	['base08'] = '#d0d0d0', -- white/grey
     13 	['base09'] = '#4a4845', -- black/brown
     14 	['base10'] = '#d78787', -- soft red
     15 	['base11'] = '#afbea2', -- soft green
     16 	['base12'] = '#e4c9af', -- white
     17 	['base13'] = '#a1bdce', -- other blue
     18 	['base14'] = '#d7beda', -- new magenta
     19 	['base15'] = '#b1e7dd', -- ciano
     20 	['base16'] = '#efefef', -- white.
     21 }
     22 
     23 lexers.colors = colors
     24 local fg = ',fore:'..colors.base0A..','
     25 local bg = ',back:'..colors.base00..','
     26 --
     27 lexers.STYLE_DEFAULT = bg..fg
     28 lexers.STYLE_NOTHING = bg
     29 lexers.STYLE_CLASS = 'fore:'..colors.base16
     30 lexers.STYLE_COMMENT = 'fore:'..colors.base01
     31 lexers.STYLE_CONSTANT = 'fore:'..colors.base05
     32 lexers.STYLE_DEFINITION = 'fore:'..colors.base06
     33 lexers.STYLE_ERROR = 'fore:'..colors.base10..',italics'
     34 lexers.STYLE_FUNCTION = 'fore:'..colors.base01
     35 lexers.STYLE_KEYWORD = 'fore:'..colors.base06
     36 lexers.STYLE_LABEL = 'fore:'..colors.base04
     37 lexers.STYLE_NUMBER = 'fore:'..colors.base04
     38 lexers.STYLE_OPERATOR = 'fore:'..colors.base0A
     39 lexers.STYLE_REGEX = 'fore:'..colors.base11
     40 lexers.STYLE_STRING = 'fore:'..colors.base03
     41 lexers.STYLE_PREPROCESSOR = 'fore:'..colors.base04
     42 lexers.STYLE_TAG = 'fore:'..colors.base04
     43 lexers.STYLE_TYPE = 'fore:'..colors.base14
     44 lexers.STYLE_VARIABLE = 'fore:'..colors.base10..',bold'
     45 lexers.STYLE_WHITESPACE = ''
     46 lexers.STYLE_EMBEDDED = 'back:'..colors.base05
     47 lexers.STYLE_IDENTIFIER = 'fore:'..colors.base0A
     48 lexers.STYLE_LINENUMBER = 'fore:'..colors.base09
     49 lexers.STYLE_CURSOR = 'fore:'..colors.base01..',back:'..colors.base12
     50 lexers.STYLE_CURSOR_PRIMARY = 'fore:'..colors.base01..',back:'..colors.base16
     51 lexers.STYLE_CURSOR_LINE = 'back:'..colors.base09..',fore:'..colors.base0A
     52 lexers.STYLE_SELECTION = 'fore:reverse'..colors.base12..',back:'..colors.base0A
     53 lexers.STYLE_STATUS = 'back:'..colors.base01..',fore:'..colors.base09
     54 lexers.STYLE_STATUS_FOCUSED = 'back:'..colors.base01..',fore:'..colors.base0A
     55 lexers.STYLE_SEPARATOR = lexers.STYLE_DEFAULT
     56 lexers.STYLE_INFO = 'fore:'..colors.base04..',back:default'
     57 lexers.STYLE_EOF = ''