Skip to content

Commit

Permalink
fix: convert alacritty template to valid toml (#241)
Browse files Browse the repository at this point in the history
  • Loading branch information
hougesen authored Jun 8, 2024
1 parent 13c3244 commit 308527d
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions lua/onedarkpro/extra/alacritty.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,36 +5,36 @@ M.filetype = "toml"
M.template = [[
# Colors - https://github.com/olimorris/onedarkpro.nvim
[colors.primary]
background: '${bg}'
foreground: '${fg}'
background = "${bg}"
foreground = "${fg}"
[colors.normal]
black: '${black}'
red: '${red}'
green: '${green}'
yellow: '${yellow}'
blue: '${blue}'
magenta: '${purple}'
cyan: '${cyan}'
white: '${white}'
black = "${black}"
red = "${red}"
green = "${green}"
yellow = "${yellow}"
blue = "${blue}"
magenta = "${purple}"
cyan = "${cyan}"
white = "${white}"
[colors.bright]
black: '${bright_black}'
red: '${bright_red}'
green: '${bright_green}'
yellow: '${bright_yellow}'
blue: '${bright_blue}'
magenta: '${bright_purple}'
cyan: '${bright_cyan}'
white: '${bright_white}'
black = "${bright_black}"
red = "${bright_red}"
green = "${bright_green}"
yellow = "${bright_yellow}"
blue = "${bright_blue}"
magenta = "${bright_purple}"
cyan = "${bright_cyan}"
white = "${bright_white}"
[colors.cursor]
text: 'CellBackground'
cursor: 'CellForeground' # syntax-cursor-color
text = "CellBackground"
cursor = "CellForeground" # syntax-cursor-color
[colors.selection]
text: 'CellForeground'
background: '${gray}'
text = "CellForeground"
background = "${gray}"
]]

return M

0 comments on commit 308527d

Please sign in to comment.