File: edit-kwrite.theme

package info (click to toggle)
highlight 4.10-1.1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 7,556 kB
  • sloc: cpp: 27,579; makefile: 411; sh: 341; ansic: 264; php: 236; python: 217; ruby: 132; perl: 61; tcl: 1
file content (74 lines) | stat: -rw-r--r-- 2,653 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74

Description="Kwrite Editor"

Categories = {"light"}

Default        = { Colour="#000000" }
Canvas         = { Colour="#E0EAEE" }
Number         = { Colour="#B07E00" }
Escape         = { Colour="#ff00ff" }
String         = { Colour="#BF0303" }
Interpolation  = { Colour="#0057AE" }
StringPreProc  = { Colour="#818100" }
BlockComment   = { Colour="#838183", Italic=true }
PreProcessor   = { Colour="#008200" }
LineNum        = { Colour="#555555" }
Operator       = { Colour="#000000" }
LineComment = BlockComment

Keywords = {
  { Colour= "#000000", Bold=true },
  { Colour= "#0057AE" },
  { Colour= "#000000" },
  { Colour= "#010181" },
  { Colour= "#0d5bc3" },
  { Colour= "#750dc3" },
}

-- new LSP based elements:

SemanticTokenTypes  = {
  { Type = 'keyword', Style = Keywords[1] },
  { Type = 'type', Style = Keywords[2] },
  { Type = 'function', Style = Keywords[4] },
  { Type = 'method', Style = Keywords[4] },
  { Type = 'class', Style =  Keywords[1] },
  { Type = 'interface', Style = { Colour= "#750dc3" } },
  { Type = 'struct', Style = { Colour= "#3d40ff" } },
  { Type = 'namespace', Style = { Colour= "#750dc3" } },
  { Type = 'typeParameter', Style = { Colour= "#ff3db3" } },
  { Type = 'parameter', Style = { Colour= "#2591f0" } },
  { Type = 'variable', Style = { Colour= "#ff3d3d" } },
  { Type = 'property', Style = { Colour= "#ff3db3" } },
  { Type = 'enumMember', Style = { Colour= "#ff0000" } },
  { Type = 'event', Style = { Colour= "#0d5bc3" } },
  { Type = 'modifier', Style = { Colour= "#0d5bc3" } },
  { Type = 'number', Style = Number },
  { Type = 'regexp', Style = String },
  { Type = 'operator', Style = Operator },
}

--Error = { Custom = { { Format = "html", Style = "color: blue", Override = true } } }

--[[
ErrorMessage = { Custom = {
  { Format = "html", Style = "color: blue", Override = true } ,
  { Format = "latex", Style = "\\marginpar{\\small\\itshape\\color{blue}#1}", Override = false } }
}
]]

--Hover = { Custom = { { Format = "html", Style = "cursor:help", Override = true } } }

-- not used yet:
SemanticTokenModifiers  = {
  { Type = 'declaration', Style = { Colour= "#ff9421" } },
  { Type = 'definition', Style = { Colour= "#ff9421" } },
  { Type = 'readonly', Style = { Colour= "#ff9421" } },
  { Type = 'static', Style = { Colour= "#ff9421" } },
  { Type = 'deprecated', Style = { Colour= "#ff9421" } },
  { Type = 'abstract', Style = { Colour= "#ff9421" } },
  { Type = 'async', Style = { Colour= "#ff9421" } },
  { Type = 'modification', Style = { Colour= "#ff9421" } },
  { Type = 'documentation', Style = { Colour= "#ff9421" } },
  { Type = 'defaultLibrary', Style = { Colour= "#ff9421" } }
}