Compare commits
No commits in common. "c4efb432cddcfee677b0422b57a66f1e62513247e105bf61029bd5142dd5016a" and "3f0cb62a21428fd5dbe43c2952339b46bea6a6397e5404336aac2718842ea6e5" have entirely different histories.
c4efb432cd
...
3f0cb62a21
2 changed files with 24 additions and 26 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
(package
|
(package
|
||||||
(name (textmate-bjolang))
|
(name (textmate-bjolang))
|
||||||
(version "0.2.0")
|
(version "0.1.3")
|
||||||
(description "Syntax highlighting for Bjolang: VS Code's TextMate grammars and themes, through TextMateSharp, as (text xml) nodes.")
|
(description "Syntax highlighting for Bjolang: VS Code's TextMate grammars and themes, through TextMateSharp, as (text xml) nodes.")
|
||||||
(license "MPL-2.0")
|
(license "MPL-2.0")
|
||||||
|
|
||||||
|
|
|
||||||
48
src/core.bjo
48
src/core.bjo
|
|
@ -156,33 +156,31 @@
|
||||||
;; ---------------------------------------------------------------------------
|
;; ---------------------------------------------------------------------------
|
||||||
|
|
||||||
;; VS Code's themes, the ones TextMateSharp carries: #:theme 'dark-plus.
|
;; VS Code's themes, the ones TextMateSharp carries: #:theme 'dark-plus.
|
||||||
(def/grammar TmTheme
|
(type (: TmTheme (Union (: ThemeDarkPlus #:tag dark-plus)
|
||||||
(:or (: ThemeDarkPlus 'dark-plus)
|
(: ThemeLightPlus #:tag light-plus)
|
||||||
(: ThemeLightPlus 'light-plus)
|
(: ThemeDark #:tag dark)
|
||||||
(: ThemeDark 'dark)
|
(: ThemeLight #:tag light)
|
||||||
(: ThemeLight 'light)
|
(: ThemeMonokai #:tag monokai)
|
||||||
(: ThemeMonokai 'monokai)
|
(: ThemeDimmedMonokai #:tag dimmed-monokai)
|
||||||
(: ThemeDimmedMonokai 'dimmed-monokai)
|
(: ThemeOneDark #:tag one-dark)
|
||||||
(: ThemeOneDark 'one-dark)
|
(: ThemeAtomOneDark #:tag atom-one-dark)
|
||||||
(: ThemeAtomOneDark 'atom-one-dark)
|
(: ThemeAtomOneLight #:tag atom-one-light)
|
||||||
(: ThemeAtomOneLight 'atom-one-light)
|
(: ThemeDracula #:tag dracula)
|
||||||
(: ThemeDracula 'dracula)
|
(: ThemeSolarizedDark #:tag solarized-dark)
|
||||||
(: ThemeSolarizedDark 'solarized-dark)
|
(: ThemeSolarizedLight #:tag solarized-light)
|
||||||
(: ThemeSolarizedLight 'solarized-light)
|
(: ThemeQuietLight #:tag quiet-light)
|
||||||
(: ThemeQuietLight 'quiet-light)
|
(: ThemeKimbieDark #:tag kimbie-dark)
|
||||||
(: ThemeKimbieDark 'kimbie-dark)
|
(: ThemeTomorrowNightBlue #:tag tomorrow-night-blue)
|
||||||
(: ThemeTomorrowNightBlue 'tomorrow-night-blue)
|
(: ThemeAbyss #:tag abyss)
|
||||||
(: ThemeAbyss 'abyss)
|
(: ThemeRed #:tag red)
|
||||||
(: ThemeRed 'red)
|
(: ThemeHighContrastDark #:tag high-contrast-dark)
|
||||||
(: ThemeHighContrastDark 'high-contrast-dark)
|
(: ThemeHighContrastLight #:tag high-contrast-light)
|
||||||
(: ThemeHighContrastLight 'high-contrast-light)
|
(: ThemeVisualStudioDark #:tag visual-studio-dark)
|
||||||
(: ThemeVisualStudioDark 'visual-studio-dark)
|
(: ThemeVisualStudioLight #:tag visual-studio-light))))
|
||||||
(: ThemeVisualStudioLight 'visual-studio-light)))
|
|
||||||
|
|
||||||
;; How a node is coloured: #:style 'inline or #:style 'classes.
|
;; How a node is coloured: #:style 'inline or #:style 'classes.
|
||||||
(def/grammar TmStyleMode
|
(type (: TmStyleMode (Union (: StyleInline #:tag inline)
|
||||||
(:or (: StyleInline 'inline)
|
(: StyleClasses #:tag classes))))
|
||||||
(: StyleClasses 'classes)))
|
|
||||||
|
|
||||||
;; How a piece of text looks. None is the theme's own colour, which the pre
|
;; How a piece of text looks. None is the theme's own colour, which the pre
|
||||||
;; around the code already has.
|
;; around the code already has.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue