Skip to content

Commit

Permalink
fix(alacritty): update file to compatible with 0.13 (#238)
Browse files Browse the repository at this point in the history
  • Loading branch information
nickp-real authored May 25, 2024
1 parent a017303 commit 13c3244
Showing 1 changed file with 28 additions and 29 deletions.
57 changes: 28 additions & 29 deletions lua/onedarkpro/extra/alacritty.lua
Original file line number Diff line number Diff line change
@@ -1,41 +1,40 @@
local M = require("onedarkpro.utils.template")

M.filetype = "yaml"
M.filetype = "toml"

M.template = [[
# Colors - https://github.com/olimorris/onedarkpro.nvim
colors:
primary:
background: '${bg}'
foreground: '${fg}'
[colors.primary]
background: '${bg}'
foreground: '${fg}'
normal:
black: '${black}'
red: '${red}'
green: '${green}'
yellow: '${yellow}'
blue: '${blue}'
magenta: '${purple}'
cyan: '${cyan}'
white: '${white}'
[colors.normal]
black: '${black}'
red: '${red}'
green: '${green}'
yellow: '${yellow}'
blue: '${blue}'
magenta: '${purple}'
cyan: '${cyan}'
white: '${white}'
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}'
[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}'
cursor:
text: CellBackground
cursor: CellForeground # syntax-cursor-color
[colors.cursor]
text: 'CellBackground'
cursor: 'CellForeground' # syntax-cursor-color
selection:
text: CellForeground
background: '${gray}'
[colors.selection]
text: 'CellForeground'
background: '${gray}'
]]

return M

0 comments on commit 13c3244

Please sign in to comment.