Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 180e3e18e1 | |||
| 63f288c103 | |||
| 2d1994a042 | |||
| b04ac36fb8 |
@@ -1,156 +0,0 @@
|
|||||||
# Syntax highlighting
|
|
||||||
# -------------------
|
|
||||||
"attribute" = "yellow"
|
|
||||||
|
|
||||||
"type" = "yellow"
|
|
||||||
"type.enum.variant" = "teal"
|
|
||||||
|
|
||||||
"constructor" = "sapphire"
|
|
||||||
|
|
||||||
"constant" = "peach"
|
|
||||||
"constant.character" = "teal"
|
|
||||||
"constant.character.escape" = "pink"
|
|
||||||
|
|
||||||
"string" = "green"
|
|
||||||
"string.regexp" = "pink"
|
|
||||||
"string.special" = "blue"
|
|
||||||
"string.special.symbol" = "red"
|
|
||||||
|
|
||||||
"comment" = { fg = "overlay2", modifiers = ["italic"] }
|
|
||||||
|
|
||||||
"variable" = "text"
|
|
||||||
"variable.parameter" = { fg = "maroon", modifiers = ["italic"] }
|
|
||||||
"variable.builtin" = "red"
|
|
||||||
"variable.other.member" = "teal"
|
|
||||||
|
|
||||||
"label" = "sapphire" # used for lifetimes
|
|
||||||
|
|
||||||
"punctuation" = "overlay2"
|
|
||||||
"punctuation.special" = "sky"
|
|
||||||
|
|
||||||
"keyword" = "mauve"
|
|
||||||
"keyword.control.conditional" = { fg = "mauve", modifiers = ["italic"] }
|
|
||||||
|
|
||||||
"operator" = "sky"
|
|
||||||
|
|
||||||
"function" = "blue"
|
|
||||||
"function.macro" = "mauve"
|
|
||||||
|
|
||||||
"tag" = "blue"
|
|
||||||
|
|
||||||
"namespace" = { fg = "yellow", modifiers = ["italic"] }
|
|
||||||
|
|
||||||
"special" = "blue" # fuzzy highlight
|
|
||||||
|
|
||||||
"markup.heading.marker" = { fg = "peach", modifiers = ["bold"] }
|
|
||||||
"markup.heading.1" = "lavender"
|
|
||||||
"markup.heading.2" = "mauve"
|
|
||||||
"markup.heading.3" = "green"
|
|
||||||
"markup.heading.4" = "yellow"
|
|
||||||
"markup.heading.5" = "pink"
|
|
||||||
"markup.heading.6" = "teal"
|
|
||||||
"markup.list" = "mauve"
|
|
||||||
"markup.bold" = { modifiers = ["bold"] }
|
|
||||||
"markup.italic" = { modifiers = ["italic"] }
|
|
||||||
"markup.link.url" = { fg = "blue", modifiers = ["italic", "underlined"] }
|
|
||||||
"markup.link.text" = "blue"
|
|
||||||
"markup.raw" = "flamingo"
|
|
||||||
|
|
||||||
"diff.plus" = "green"
|
|
||||||
"diff.minus" = "red"
|
|
||||||
"diff.delta" = "blue"
|
|
||||||
|
|
||||||
# User Interface
|
|
||||||
# --------------
|
|
||||||
"ui.background" = { fg = "text", bg = "base" }
|
|
||||||
|
|
||||||
"ui.linenr" = { fg = "surface1" }
|
|
||||||
"ui.linenr.selected" = { fg = "lavender" }
|
|
||||||
|
|
||||||
"ui.statusline" = { fg = "subtext1", bg = "mantle" }
|
|
||||||
"ui.statusline.inactive" = { fg = "surface2", bg = "mantle" }
|
|
||||||
"ui.statusline.normal" = { fg = "base", bg = "lavender", modifiers = ["bold"] }
|
|
||||||
"ui.statusline.insert" = { fg = "base", bg = "green", modifiers = ["bold"] }
|
|
||||||
"ui.statusline.select" = { fg = "base", bg = "flamingo", modifiers = ["bold"] }
|
|
||||||
|
|
||||||
"ui.popup" = { fg = "text", bg = "surface0" }
|
|
||||||
"ui.window" = { fg = "crust" }
|
|
||||||
"ui.help" = { fg = "overlay2", bg = "surface0" }
|
|
||||||
|
|
||||||
"ui.bufferline" = { fg = "subtext0", bg = "mantle" }
|
|
||||||
"ui.bufferline.active" = { fg = "mauve", bg = "base", underline = { color = "mauve", style = "line" } }
|
|
||||||
"ui.bufferline.background" = { bg = "crust" }
|
|
||||||
|
|
||||||
"ui.text" = "text"
|
|
||||||
"ui.text.focus" = { fg = "text", bg = "surface0", modifiers = ["bold"] }
|
|
||||||
"ui.text.inactive" = { fg = "overlay1" }
|
|
||||||
|
|
||||||
"ui.virtual" = "overlay0"
|
|
||||||
"ui.virtual.ruler" = { bg = "surface0" }
|
|
||||||
"ui.virtual.indent-guide" = "surface0"
|
|
||||||
"ui.virtual.inlay-hint" = { fg = "surface1", bg = "mantle" }
|
|
||||||
"ui.virtual.jump-label" = { fg = "rosewater", modifiers = ["bold"] }
|
|
||||||
|
|
||||||
"ui.selection" = { bg = "surface1" }
|
|
||||||
|
|
||||||
"ui.cursor" = { fg = "base", bg = "secondary_cursor" }
|
|
||||||
"ui.cursor.primary" = { fg = "base", bg = "rosewater" }
|
|
||||||
"ui.cursor.match" = { fg = "peach", modifiers = ["bold"] }
|
|
||||||
|
|
||||||
"ui.cursor.primary.normal" = { fg = "base", bg = "lavender" }
|
|
||||||
"ui.cursor.primary.insert" = { fg = "base", bg = "green" }
|
|
||||||
"ui.cursor.primary.select" = { fg = "base", bg = "flamingo" }
|
|
||||||
|
|
||||||
"ui.cursor.normal" = { fg = "base", bg = "secondary_cursor_normal" }
|
|
||||||
"ui.cursor.insert" = { fg = "base", bg = "secondary_cursor_insert" }
|
|
||||||
"ui.cursor.select" = { fg = "base", bg = "secondary_cursor" }
|
|
||||||
|
|
||||||
"ui.cursorline.primary" = { bg = "cursorline" }
|
|
||||||
|
|
||||||
"ui.highlight" = { bg = "surface1", modifiers = ["bold"] }
|
|
||||||
|
|
||||||
"ui.menu" = { fg = "overlay2", bg = "surface0" }
|
|
||||||
"ui.menu.selected" = { fg = "text", bg = "surface1", modifiers = ["bold"] }
|
|
||||||
|
|
||||||
"diagnostic.error" = { underline = { color = "red", style = "curl" } }
|
|
||||||
"diagnostic.warning" = { underline = { color = "yellow", style = "curl" } }
|
|
||||||
"diagnostic.info" = { underline = { color = "sky", style = "curl" } }
|
|
||||||
"diagnostic.hint" = { underline = { color = "teal", style = "curl" } }
|
|
||||||
|
|
||||||
error = "red"
|
|
||||||
warning = "yellow"
|
|
||||||
info = "sky"
|
|
||||||
hint = "teal"
|
|
||||||
|
|
||||||
[palette]
|
|
||||||
rosewater = "#f2d5cf"
|
|
||||||
flamingo = "#eebebe"
|
|
||||||
pink = "#f4b8e4"
|
|
||||||
mauve = "#ca9ee6"
|
|
||||||
red = "#e78284"
|
|
||||||
maroon = "#ea999c"
|
|
||||||
peach = "#ef9f76"
|
|
||||||
yellow = "#e5c890"
|
|
||||||
green = "#a6d189"
|
|
||||||
teal = "#81c8be"
|
|
||||||
sky = "#99d1db"
|
|
||||||
sapphire = "#85c1dc"
|
|
||||||
blue = "#8caaee"
|
|
||||||
lavender = "#babbf1"
|
|
||||||
text = "#c6d0f5"
|
|
||||||
subtext1 = "#b5bfe2"
|
|
||||||
subtext0 = "#a5adce"
|
|
||||||
overlay2 = "#949cbb"
|
|
||||||
overlay1 = "#838ba7"
|
|
||||||
overlay0 = "#737994"
|
|
||||||
surface2 = "#626880"
|
|
||||||
surface1 = "#51576d"
|
|
||||||
surface0 = "#414559"
|
|
||||||
base = "#303446"
|
|
||||||
mantle = "#292c3c"
|
|
||||||
crust = "#232634"
|
|
||||||
|
|
||||||
cursorline = "#3b3f52"
|
|
||||||
secondary_cursor = "#b8a5a6"
|
|
||||||
secondary_cursor_normal = "#9192be"
|
|
||||||
secondary_cursor_insert = "#83a275"
|
|
||||||
@@ -1,156 +0,0 @@
|
|||||||
# Syntax highlighting
|
|
||||||
# -------------------
|
|
||||||
"attribute" = "yellow"
|
|
||||||
|
|
||||||
"type" = "yellow"
|
|
||||||
"type.enum.variant" = "teal"
|
|
||||||
|
|
||||||
"constructor" = "sapphire"
|
|
||||||
|
|
||||||
"constant" = "peach"
|
|
||||||
"constant.character" = "teal"
|
|
||||||
"constant.character.escape" = "pink"
|
|
||||||
|
|
||||||
"string" = "green"
|
|
||||||
"string.regexp" = "pink"
|
|
||||||
"string.special" = "blue"
|
|
||||||
"string.special.symbol" = "red"
|
|
||||||
|
|
||||||
"comment" = { fg = "overlay2", modifiers = ["italic"] }
|
|
||||||
|
|
||||||
"variable" = "text"
|
|
||||||
"variable.parameter" = { fg = "maroon", modifiers = ["italic"] }
|
|
||||||
"variable.builtin" = "red"
|
|
||||||
"variable.other.member" = "teal"
|
|
||||||
|
|
||||||
"label" = "sapphire" # used for lifetimes
|
|
||||||
|
|
||||||
"punctuation" = "overlay2"
|
|
||||||
"punctuation.special" = "sky"
|
|
||||||
|
|
||||||
"keyword" = "mauve"
|
|
||||||
"keyword.control.conditional" = { fg = "mauve", modifiers = ["italic"] }
|
|
||||||
|
|
||||||
"operator" = "sky"
|
|
||||||
|
|
||||||
"function" = "blue"
|
|
||||||
"function.macro" = "mauve"
|
|
||||||
|
|
||||||
"tag" = "blue"
|
|
||||||
|
|
||||||
"namespace" = { fg = "yellow", modifiers = ["italic"] }
|
|
||||||
|
|
||||||
"special" = "blue" # fuzzy highlight
|
|
||||||
|
|
||||||
"markup.heading.marker" = { fg = "peach", modifiers = ["bold"] }
|
|
||||||
"markup.heading.1" = "lavender"
|
|
||||||
"markup.heading.2" = "mauve"
|
|
||||||
"markup.heading.3" = "green"
|
|
||||||
"markup.heading.4" = "yellow"
|
|
||||||
"markup.heading.5" = "pink"
|
|
||||||
"markup.heading.6" = "teal"
|
|
||||||
"markup.list" = "mauve"
|
|
||||||
"markup.bold" = { modifiers = ["bold"] }
|
|
||||||
"markup.italic" = { modifiers = ["italic"] }
|
|
||||||
"markup.link.url" = { fg = "blue", modifiers = ["italic", "underlined"] }
|
|
||||||
"markup.link.text" = "blue"
|
|
||||||
"markup.raw" = "flamingo"
|
|
||||||
|
|
||||||
"diff.plus" = "green"
|
|
||||||
"diff.minus" = "red"
|
|
||||||
"diff.delta" = "blue"
|
|
||||||
|
|
||||||
# User Interface
|
|
||||||
# --------------
|
|
||||||
"ui.background" = { fg = "text", bg = "base" }
|
|
||||||
|
|
||||||
"ui.linenr" = { fg = "surface1" }
|
|
||||||
"ui.linenr.selected" = { fg = "lavender" }
|
|
||||||
|
|
||||||
"ui.statusline" = { fg = "subtext1", bg = "mantle" }
|
|
||||||
"ui.statusline.inactive" = { fg = "surface2", bg = "mantle" }
|
|
||||||
"ui.statusline.normal" = { fg = "base", bg = "lavender", modifiers = ["bold"] }
|
|
||||||
"ui.statusline.insert" = { fg = "base", bg = "green", modifiers = ["bold"] }
|
|
||||||
"ui.statusline.select" = { fg = "base", bg = "flamingo", modifiers = ["bold"] }
|
|
||||||
|
|
||||||
"ui.popup" = { fg = "text", bg = "surface0" }
|
|
||||||
"ui.window" = { fg = "crust" }
|
|
||||||
"ui.help" = { fg = "overlay2", bg = "surface0" }
|
|
||||||
|
|
||||||
"ui.bufferline" = { fg = "subtext0", bg = "mantle" }
|
|
||||||
"ui.bufferline.active" = { fg = "mauve", bg = "base", underline = { color = "mauve", style = "line" } }
|
|
||||||
"ui.bufferline.background" = { bg = "crust" }
|
|
||||||
|
|
||||||
"ui.text" = "text"
|
|
||||||
"ui.text.focus" = { fg = "text", bg = "surface0", modifiers = ["bold"] }
|
|
||||||
"ui.text.inactive" = { fg = "overlay1" }
|
|
||||||
|
|
||||||
"ui.virtual" = "overlay0"
|
|
||||||
"ui.virtual.ruler" = { bg = "surface0" }
|
|
||||||
"ui.virtual.indent-guide" = "surface0"
|
|
||||||
"ui.virtual.inlay-hint" = { fg = "surface1", bg = "mantle" }
|
|
||||||
"ui.virtual.jump-label" = { fg = "rosewater", modifiers = ["bold"] }
|
|
||||||
|
|
||||||
"ui.selection" = { bg = "surface1" }
|
|
||||||
|
|
||||||
"ui.cursor" = { fg = "base", bg = "secondary_cursor" }
|
|
||||||
"ui.cursor.primary" = { fg = "base", bg = "rosewater" }
|
|
||||||
"ui.cursor.match" = { fg = "peach", modifiers = ["bold"] }
|
|
||||||
|
|
||||||
"ui.cursor.primary.normal" = { fg = "base", bg = "lavender" }
|
|
||||||
"ui.cursor.primary.insert" = { fg = "base", bg = "green" }
|
|
||||||
"ui.cursor.primary.select" = { fg = "base", bg = "flamingo" }
|
|
||||||
|
|
||||||
"ui.cursor.normal" = { fg = "base", bg = "secondary_cursor_normal" }
|
|
||||||
"ui.cursor.insert" = { fg = "base", bg = "secondary_cursor_insert" }
|
|
||||||
"ui.cursor.select" = { fg = "base", bg = "secondary_cursor" }
|
|
||||||
|
|
||||||
"ui.cursorline.primary" = { bg = "cursorline" }
|
|
||||||
|
|
||||||
"ui.highlight" = { bg = "surface1", modifiers = ["bold"] }
|
|
||||||
|
|
||||||
"ui.menu" = { fg = "overlay2", bg = "surface0" }
|
|
||||||
"ui.menu.selected" = { fg = "text", bg = "surface1", modifiers = ["bold"] }
|
|
||||||
|
|
||||||
"diagnostic.error" = { underline = { color = "red", style = "curl" } }
|
|
||||||
"diagnostic.warning" = { underline = { color = "yellow", style = "curl" } }
|
|
||||||
"diagnostic.info" = { underline = { color = "sky", style = "curl" } }
|
|
||||||
"diagnostic.hint" = { underline = { color = "teal", style = "curl" } }
|
|
||||||
|
|
||||||
error = "red"
|
|
||||||
warning = "yellow"
|
|
||||||
info = "sky"
|
|
||||||
hint = "teal"
|
|
||||||
|
|
||||||
[palette]
|
|
||||||
rosewater = "#dc8a78"
|
|
||||||
flamingo = "#dd7878"
|
|
||||||
pink = "#ea76cb"
|
|
||||||
mauve = "#8839ef"
|
|
||||||
red = "#d20f39"
|
|
||||||
maroon = "#e64553"
|
|
||||||
peach = "#fe640b"
|
|
||||||
yellow = "#df8e1d"
|
|
||||||
green = "#40a02b"
|
|
||||||
teal = "#179299"
|
|
||||||
sky = "#04a5e5"
|
|
||||||
sapphire = "#209fb5"
|
|
||||||
blue = "#1e66f5"
|
|
||||||
lavender = "#7287fd"
|
|
||||||
text = "#4c4f69"
|
|
||||||
subtext1 = "#5c5f77"
|
|
||||||
subtext0 = "#6c6f85"
|
|
||||||
overlay2 = "#7c7f93"
|
|
||||||
overlay1 = "#8c8fa1"
|
|
||||||
overlay0 = "#9ca0b0"
|
|
||||||
surface2 = "#acb0be"
|
|
||||||
surface1 = "#bcc0cc"
|
|
||||||
surface0 = "#ccd0da"
|
|
||||||
base = "#eff1f5"
|
|
||||||
mantle = "#e6e9ef"
|
|
||||||
crust = "#dce0e8"
|
|
||||||
|
|
||||||
cursorline = "#e8ecf1"
|
|
||||||
secondary_cursor = "#e1a99d"
|
|
||||||
secondary_cursor_normal = "#97a7fb"
|
|
||||||
secondary_cursor_insert = "#74b867"
|
|
||||||
@@ -1,159 +0,0 @@
|
|||||||
# Syntax highlighting
|
|
||||||
# -------------------
|
|
||||||
"attribute" = "yellow"
|
|
||||||
|
|
||||||
"type" = "yellow"
|
|
||||||
"type.enum.variant" = "teal"
|
|
||||||
|
|
||||||
"constructor" = "sapphire"
|
|
||||||
|
|
||||||
"constant" = "peach"
|
|
||||||
"constant.character" = "teal"
|
|
||||||
"constant.character.escape" = "pink"
|
|
||||||
|
|
||||||
"string" = "green"
|
|
||||||
"string.regexp" = "pink"
|
|
||||||
"string.special" = "blue"
|
|
||||||
"string.special.symbol" = "red"
|
|
||||||
|
|
||||||
"comment" = { fg = "overlay2", modifiers = ["italic"] }
|
|
||||||
|
|
||||||
"variable" = "text"
|
|
||||||
"variable.parameter" = { fg = "maroon", modifiers = ["italic"] }
|
|
||||||
"variable.builtin" = "red"
|
|
||||||
"variable.other.member" = "teal"
|
|
||||||
|
|
||||||
"label" = "sapphire" # used for lifetimes
|
|
||||||
|
|
||||||
"punctuation" = "overlay2"
|
|
||||||
"punctuation.special" = "sky"
|
|
||||||
|
|
||||||
"keyword" = "mauve"
|
|
||||||
"keyword.control.conditional" = { fg = "mauve", modifiers = ["italic"] }
|
|
||||||
|
|
||||||
"operator" = "sky"
|
|
||||||
|
|
||||||
"function" = "blue"
|
|
||||||
"function.macro" = "mauve"
|
|
||||||
|
|
||||||
"tag" = "blue"
|
|
||||||
|
|
||||||
"namespace" = { fg = "yellow", modifiers = ["italic"] }
|
|
||||||
|
|
||||||
"special" = "blue" # fuzzy highlight
|
|
||||||
|
|
||||||
"markup.heading.marker" = { fg = "peach", modifiers = ["bold"] }
|
|
||||||
"markup.heading.1" = "lavender"
|
|
||||||
"markup.heading.2" = "mauve"
|
|
||||||
"markup.heading.3" = "green"
|
|
||||||
"markup.heading.4" = "yellow"
|
|
||||||
"markup.heading.5" = "pink"
|
|
||||||
"markup.heading.6" = "teal"
|
|
||||||
"markup.list" = "mauve"
|
|
||||||
"markup.bold" = { modifiers = ["bold"] }
|
|
||||||
"markup.italic" = { modifiers = ["italic"] }
|
|
||||||
"markup.link.url" = { fg = "blue", modifiers = ["italic", "underlined"] }
|
|
||||||
"markup.link.text" = "blue"
|
|
||||||
"markup.raw" = "flamingo"
|
|
||||||
|
|
||||||
"diff.plus" = "green"
|
|
||||||
"diff.minus" = "red"
|
|
||||||
"diff.delta" = "blue"
|
|
||||||
|
|
||||||
# User Interface
|
|
||||||
# --------------
|
|
||||||
|
|
||||||
# fix issue with background color getting messed up in tmux...
|
|
||||||
"ui.background" = { }
|
|
||||||
# "ui.background" = { fg = "text", bg = "base" }
|
|
||||||
|
|
||||||
"ui.linenr" = { fg = "surface1" }
|
|
||||||
"ui.linenr.selected" = { fg = "lavender" }
|
|
||||||
|
|
||||||
"ui.statusline" = { fg = "subtext1", bg = "mantle" }
|
|
||||||
"ui.statusline.inactive" = { fg = "surface2", bg = "mantle" }
|
|
||||||
"ui.statusline.normal" = { fg = "base", bg = "lavender", modifiers = ["bold"] }
|
|
||||||
"ui.statusline.insert" = { fg = "base", bg = "green", modifiers = ["bold"] }
|
|
||||||
"ui.statusline.select" = { fg = "base", bg = "flamingo", modifiers = ["bold"] }
|
|
||||||
|
|
||||||
"ui.popup" = { fg = "text", bg = "surface0" }
|
|
||||||
"ui.window" = { fg = "crust" }
|
|
||||||
"ui.help" = { fg = "overlay2", bg = "surface0" }
|
|
||||||
|
|
||||||
"ui.bufferline" = { fg = "subtext0", bg = "mantle" }
|
|
||||||
"ui.bufferline.active" = { fg = "mauve", bg = "base", underline = { color = "mauve", style = "line" } }
|
|
||||||
"ui.bufferline.background" = { bg = "crust" }
|
|
||||||
|
|
||||||
"ui.text" = "text"
|
|
||||||
"ui.text.focus" = { fg = "text", bg = "surface0", modifiers = ["bold"] }
|
|
||||||
"ui.text.inactive" = { fg = "overlay1" }
|
|
||||||
|
|
||||||
"ui.virtual" = "overlay0"
|
|
||||||
"ui.virtual.ruler" = { bg = "surface0" }
|
|
||||||
"ui.virtual.indent-guide" = "surface0"
|
|
||||||
"ui.virtual.inlay-hint" = { fg = "surface1", bg = "mantle" }
|
|
||||||
"ui.virtual.jump-label" = { fg = "rosewater", modifiers = ["bold"] }
|
|
||||||
|
|
||||||
"ui.selection" = { bg = "surface1" }
|
|
||||||
|
|
||||||
"ui.cursor" = { fg = "base", bg = "secondary_cursor" }
|
|
||||||
"ui.cursor.primary" = { fg = "base", bg = "rosewater" }
|
|
||||||
"ui.cursor.match" = { fg = "peach", modifiers = ["bold"] }
|
|
||||||
|
|
||||||
"ui.cursor.primary.normal" = { fg = "base", bg = "lavender" }
|
|
||||||
"ui.cursor.primary.insert" = { fg = "base", bg = "green" }
|
|
||||||
"ui.cursor.primary.select" = { fg = "base", bg = "flamingo" }
|
|
||||||
|
|
||||||
"ui.cursor.normal" = { fg = "base", bg = "secondary_cursor_normal" }
|
|
||||||
"ui.cursor.insert" = { fg = "base", bg = "secondary_cursor_insert" }
|
|
||||||
"ui.cursor.select" = { fg = "base", bg = "secondary_cursor" }
|
|
||||||
|
|
||||||
"ui.cursorline.primary" = { bg = "cursorline" }
|
|
||||||
|
|
||||||
"ui.highlight" = { bg = "surface1", modifiers = ["bold"] }
|
|
||||||
|
|
||||||
"ui.menu" = { fg = "overlay2", bg = "surface0" }
|
|
||||||
"ui.menu.selected" = { fg = "text", bg = "surface1", modifiers = ["bold"] }
|
|
||||||
|
|
||||||
"diagnostic.error" = { underline = { color = "red", style = "curl" } }
|
|
||||||
"diagnostic.warning" = { underline = { color = "yellow", style = "curl" } }
|
|
||||||
"diagnostic.info" = { underline = { color = "sky", style = "curl" } }
|
|
||||||
"diagnostic.hint" = { underline = { color = "teal", style = "curl" } }
|
|
||||||
|
|
||||||
error = "red"
|
|
||||||
warning = "yellow"
|
|
||||||
info = "sky"
|
|
||||||
hint = "teal"
|
|
||||||
|
|
||||||
[palette]
|
|
||||||
rosewater = "#f4dbd6"
|
|
||||||
flamingo = "#f0c6c6"
|
|
||||||
pink = "#f5bde6"
|
|
||||||
mauve = "#c6a0f6"
|
|
||||||
red = "#ed8796"
|
|
||||||
maroon = "#ee99a0"
|
|
||||||
peach = "#f5a97f"
|
|
||||||
yellow = "#eed49f"
|
|
||||||
green = "#a6da95"
|
|
||||||
teal = "#8bd5ca"
|
|
||||||
sky = "#91d7e3"
|
|
||||||
sapphire = "#7dc4e4"
|
|
||||||
blue = "#8aadf4"
|
|
||||||
lavender = "#b7bdf8"
|
|
||||||
text = "#cad3f5"
|
|
||||||
subtext1 = "#b8c0e0"
|
|
||||||
subtext0 = "#a5adcb"
|
|
||||||
overlay2 = "#939ab7"
|
|
||||||
overlay1 = "#8087a2"
|
|
||||||
overlay0 = "#6e738d"
|
|
||||||
surface2 = "#5b6078"
|
|
||||||
surface1 = "#494d64"
|
|
||||||
surface0 = "#363a4f"
|
|
||||||
base = "#24273a"
|
|
||||||
mantle = "#1e2030"
|
|
||||||
crust = "#181926"
|
|
||||||
|
|
||||||
cursorline = "#303347"
|
|
||||||
secondary_cursor = "#b6a6a7"
|
|
||||||
secondary_cursor_normal = "#8b91bf"
|
|
||||||
secondary_cursor_insert = "#80a57a"
|
|
||||||
@@ -1,156 +0,0 @@
|
|||||||
# Syntax highlighting
|
|
||||||
# -------------------
|
|
||||||
"attribute" = "yellow"
|
|
||||||
|
|
||||||
"type" = "yellow"
|
|
||||||
"type.enum.variant" = "teal"
|
|
||||||
|
|
||||||
"constructor" = "sapphire"
|
|
||||||
|
|
||||||
"constant" = "peach"
|
|
||||||
"constant.character" = "teal"
|
|
||||||
"constant.character.escape" = "pink"
|
|
||||||
|
|
||||||
"string" = "green"
|
|
||||||
"string.regexp" = "pink"
|
|
||||||
"string.special" = "blue"
|
|
||||||
"string.special.symbol" = "red"
|
|
||||||
|
|
||||||
"comment" = { fg = "overlay2", modifiers = ["italic"] }
|
|
||||||
|
|
||||||
"variable" = "text"
|
|
||||||
"variable.parameter" = { fg = "maroon", modifiers = ["italic"] }
|
|
||||||
"variable.builtin" = "red"
|
|
||||||
"variable.other.member" = "teal"
|
|
||||||
|
|
||||||
"label" = "sapphire" # used for lifetimes
|
|
||||||
|
|
||||||
"punctuation" = "overlay2"
|
|
||||||
"punctuation.special" = "sky"
|
|
||||||
|
|
||||||
"keyword" = "mauve"
|
|
||||||
"keyword.control.conditional" = { fg = "mauve", modifiers = ["italic"] }
|
|
||||||
|
|
||||||
"operator" = "sky"
|
|
||||||
|
|
||||||
"function" = "blue"
|
|
||||||
"function.macro" = "mauve"
|
|
||||||
|
|
||||||
"tag" = "blue"
|
|
||||||
|
|
||||||
"namespace" = { fg = "yellow", modifiers = ["italic"] }
|
|
||||||
|
|
||||||
"special" = "blue" # fuzzy highlight
|
|
||||||
|
|
||||||
"markup.heading.marker" = { fg = "peach", modifiers = ["bold"] }
|
|
||||||
"markup.heading.1" = "lavender"
|
|
||||||
"markup.heading.2" = "mauve"
|
|
||||||
"markup.heading.3" = "green"
|
|
||||||
"markup.heading.4" = "yellow"
|
|
||||||
"markup.heading.5" = "pink"
|
|
||||||
"markup.heading.6" = "teal"
|
|
||||||
"markup.list" = "mauve"
|
|
||||||
"markup.bold" = { modifiers = ["bold"] }
|
|
||||||
"markup.italic" = { modifiers = ["italic"] }
|
|
||||||
"markup.link.url" = { fg = "blue", modifiers = ["italic", "underlined"] }
|
|
||||||
"markup.link.text" = "blue"
|
|
||||||
"markup.raw" = "flamingo"
|
|
||||||
|
|
||||||
"diff.plus" = "green"
|
|
||||||
"diff.minus" = "red"
|
|
||||||
"diff.delta" = "blue"
|
|
||||||
|
|
||||||
# User Interface
|
|
||||||
# --------------
|
|
||||||
"ui.background" = { fg = "text", bg = "base" }
|
|
||||||
|
|
||||||
"ui.linenr" = { fg = "surface1" }
|
|
||||||
"ui.linenr.selected" = { fg = "lavender" }
|
|
||||||
|
|
||||||
"ui.statusline" = { fg = "subtext1", bg = "mantle" }
|
|
||||||
"ui.statusline.inactive" = { fg = "surface2", bg = "mantle" }
|
|
||||||
"ui.statusline.normal" = { fg = "base", bg = "lavender", modifiers = ["bold"] }
|
|
||||||
"ui.statusline.insert" = { fg = "base", bg = "green", modifiers = ["bold"] }
|
|
||||||
"ui.statusline.select" = { fg = "base", bg = "flamingo", modifiers = ["bold"] }
|
|
||||||
|
|
||||||
"ui.popup" = { fg = "text", bg = "surface0" }
|
|
||||||
"ui.window" = { fg = "crust" }
|
|
||||||
"ui.help" = { fg = "overlay2", bg = "surface0" }
|
|
||||||
|
|
||||||
"ui.bufferline" = { fg = "subtext0", bg = "mantle" }
|
|
||||||
"ui.bufferline.active" = { fg = "mauve", bg = "base", underline = { color = "mauve", style = "line" } }
|
|
||||||
"ui.bufferline.background" = { bg = "crust" }
|
|
||||||
|
|
||||||
"ui.text" = "text"
|
|
||||||
"ui.text.focus" = { fg = "text", bg = "surface0", modifiers = ["bold"] }
|
|
||||||
"ui.text.inactive" = { fg = "overlay1" }
|
|
||||||
|
|
||||||
"ui.virtual" = "overlay0"
|
|
||||||
"ui.virtual.ruler" = { bg = "surface0" }
|
|
||||||
"ui.virtual.indent-guide" = "surface0"
|
|
||||||
"ui.virtual.inlay-hint" = { fg = "surface1", bg = "mantle" }
|
|
||||||
"ui.virtual.jump-label" = { fg = "rosewater", modifiers = ["bold"] }
|
|
||||||
|
|
||||||
"ui.selection" = { bg = "surface1" }
|
|
||||||
|
|
||||||
"ui.cursor" = { fg = "base", bg = "secondary_cursor" }
|
|
||||||
"ui.cursor.primary" = { fg = "base", bg = "rosewater" }
|
|
||||||
"ui.cursor.match" = { fg = "peach", modifiers = ["bold"] }
|
|
||||||
|
|
||||||
"ui.cursor.primary.normal" = { fg = "base", bg = "lavender" }
|
|
||||||
"ui.cursor.primary.insert" = { fg = "base", bg = "green" }
|
|
||||||
"ui.cursor.primary.select" = { fg = "base", bg = "flamingo" }
|
|
||||||
|
|
||||||
"ui.cursor.normal" = { fg = "base", bg = "secondary_cursor_normal" }
|
|
||||||
"ui.cursor.insert" = { fg = "base", bg = "secondary_cursor_insert" }
|
|
||||||
"ui.cursor.select" = { fg = "base", bg = "secondary_cursor" }
|
|
||||||
|
|
||||||
"ui.cursorline.primary" = { bg = "cursorline" }
|
|
||||||
|
|
||||||
"ui.highlight" = { bg = "surface1", modifiers = ["bold"] }
|
|
||||||
|
|
||||||
"ui.menu" = { fg = "overlay2", bg = "surface0" }
|
|
||||||
"ui.menu.selected" = { fg = "text", bg = "surface1", modifiers = ["bold"] }
|
|
||||||
|
|
||||||
"diagnostic.error" = { underline = { color = "red", style = "curl" } }
|
|
||||||
"diagnostic.warning" = { underline = { color = "yellow", style = "curl" } }
|
|
||||||
"diagnostic.info" = { underline = { color = "sky", style = "curl" } }
|
|
||||||
"diagnostic.hint" = { underline = { color = "teal", style = "curl" } }
|
|
||||||
|
|
||||||
error = "red"
|
|
||||||
warning = "yellow"
|
|
||||||
info = "sky"
|
|
||||||
hint = "teal"
|
|
||||||
|
|
||||||
[palette]
|
|
||||||
rosewater = "#f5e0dc"
|
|
||||||
flamingo = "#f2cdcd"
|
|
||||||
pink = "#f5c2e7"
|
|
||||||
mauve = "#cba6f7"
|
|
||||||
red = "#f38ba8"
|
|
||||||
maroon = "#eba0ac"
|
|
||||||
peach = "#fab387"
|
|
||||||
yellow = "#f9e2af"
|
|
||||||
green = "#a6e3a1"
|
|
||||||
teal = "#94e2d5"
|
|
||||||
sky = "#89dceb"
|
|
||||||
sapphire = "#74c7ec"
|
|
||||||
blue = "#89b4fa"
|
|
||||||
lavender = "#b4befe"
|
|
||||||
text = "#cdd6f4"
|
|
||||||
subtext1 = "#bac2de"
|
|
||||||
subtext0 = "#a6adc8"
|
|
||||||
overlay2 = "#9399b2"
|
|
||||||
overlay1 = "#7f849c"
|
|
||||||
overlay0 = "#6c7086"
|
|
||||||
surface2 = "#585b70"
|
|
||||||
surface1 = "#45475a"
|
|
||||||
surface0 = "#313244"
|
|
||||||
base = "#1e1e2e"
|
|
||||||
mantle = "#181825"
|
|
||||||
crust = "#11111b"
|
|
||||||
|
|
||||||
cursorline = "#2a2b3c"
|
|
||||||
secondary_cursor = "#b5a6a8"
|
|
||||||
secondary_cursor_normal = "#878ec0"
|
|
||||||
secondary_cursor_insert = "#7ea87f"
|
|
||||||
@@ -1,156 +0,0 @@
|
|||||||
# Syntax highlighting
|
|
||||||
# -------------------
|
|
||||||
"attribute" = "yellow"
|
|
||||||
|
|
||||||
"type" = "yellow"
|
|
||||||
"type.enum.variant" = "teal"
|
|
||||||
|
|
||||||
"constructor" = "sapphire"
|
|
||||||
|
|
||||||
"constant" = "peach"
|
|
||||||
"constant.character" = "teal"
|
|
||||||
"constant.character.escape" = "pink"
|
|
||||||
|
|
||||||
"string" = "green"
|
|
||||||
"string.regexp" = "pink"
|
|
||||||
"string.special" = "blue"
|
|
||||||
"string.special.symbol" = "red"
|
|
||||||
|
|
||||||
"comment" = { fg = "overlay2" }
|
|
||||||
|
|
||||||
"variable" = "text"
|
|
||||||
"variable.parameter" = { fg = "maroon" }
|
|
||||||
"variable.builtin" = "red"
|
|
||||||
"variable.other.member" = "teal"
|
|
||||||
|
|
||||||
"label" = "sapphire" # used for lifetimes
|
|
||||||
|
|
||||||
"punctuation" = "overlay2"
|
|
||||||
"punctuation.special" = "sky"
|
|
||||||
|
|
||||||
"keyword" = "mauve"
|
|
||||||
"keyword.control.conditional" = { fg = "mauve" }
|
|
||||||
|
|
||||||
"operator" = "sky"
|
|
||||||
|
|
||||||
"function" = "blue"
|
|
||||||
"function.macro" = "mauve"
|
|
||||||
|
|
||||||
"tag" = "blue"
|
|
||||||
|
|
||||||
"namespace" = { fg = "yellow" }
|
|
||||||
|
|
||||||
"special" = "blue" # fuzzy highlight
|
|
||||||
|
|
||||||
"markup.heading.marker" = { fg = "peach", modifiers = ["bold"] }
|
|
||||||
"markup.heading.1" = "lavender"
|
|
||||||
"markup.heading.2" = "mauve"
|
|
||||||
"markup.heading.3" = "green"
|
|
||||||
"markup.heading.4" = "yellow"
|
|
||||||
"markup.heading.5" = "pink"
|
|
||||||
"markup.heading.6" = "teal"
|
|
||||||
"markup.list" = "mauve"
|
|
||||||
"markup.bold" = { modifiers = ["bold"] }
|
|
||||||
"markup.italic" = { modifiers = ["italic"] }
|
|
||||||
"markup.link.url" = { fg = "blue", modifiers = ["underlined"] }
|
|
||||||
"markup.link.text" = "blue"
|
|
||||||
"markup.raw" = "flamingo"
|
|
||||||
|
|
||||||
"diff.plus" = "green"
|
|
||||||
"diff.minus" = "red"
|
|
||||||
"diff.delta" = "blue"
|
|
||||||
|
|
||||||
# User Interface
|
|
||||||
# --------------
|
|
||||||
"ui.background" = { fg = "text", bg = "base" }
|
|
||||||
|
|
||||||
"ui.linenr" = { fg = "surface1" }
|
|
||||||
"ui.linenr.selected" = { fg = "lavender" }
|
|
||||||
|
|
||||||
"ui.statusline" = { fg = "subtext1", bg = "mantle" }
|
|
||||||
"ui.statusline.inactive" = { fg = "surface2", bg = "mantle" }
|
|
||||||
"ui.statusline.normal" = { fg = "base", bg = "lavender", modifiers = ["bold"] }
|
|
||||||
"ui.statusline.insert" = { fg = "base", bg = "green", modifiers = ["bold"] }
|
|
||||||
"ui.statusline.select" = { fg = "base", bg = "flamingo", modifiers = ["bold"] }
|
|
||||||
|
|
||||||
"ui.popup" = { fg = "text", bg = "surface0" }
|
|
||||||
"ui.window" = { fg = "crust" }
|
|
||||||
"ui.help" = { fg = "overlay2", bg = "surface0" }
|
|
||||||
|
|
||||||
"ui.bufferline" = { fg = "subtext0", bg = "mantle" }
|
|
||||||
"ui.bufferline.active" = { fg = "mauve", bg = "base", underline = { color = "mauve", style = "line" } }
|
|
||||||
"ui.bufferline.background" = { bg = "crust" }
|
|
||||||
|
|
||||||
"ui.text" = "text"
|
|
||||||
"ui.text.focus" = { fg = "text", bg = "surface0", modifiers = ["bold"] }
|
|
||||||
"ui.text.inactive" = { fg = "overlay1" }
|
|
||||||
|
|
||||||
"ui.virtual" = "overlay0"
|
|
||||||
"ui.virtual.ruler" = { bg = "surface0" }
|
|
||||||
"ui.virtual.indent-guide" = "surface0"
|
|
||||||
"ui.virtual.inlay-hint" = { fg = "surface1", bg = "mantle" }
|
|
||||||
"ui.virtual.jump-label" = { fg = "rosewater", modifiers = ["bold"] }
|
|
||||||
|
|
||||||
"ui.selection" = { bg = "surface1" }
|
|
||||||
|
|
||||||
"ui.cursor" = { fg = "base", bg = "secondary_cursor" }
|
|
||||||
"ui.cursor.primary" = { fg = "base", bg = "rosewater" }
|
|
||||||
"ui.cursor.match" = { fg = "peach", modifiers = ["bold"] }
|
|
||||||
|
|
||||||
"ui.cursor.primary.normal" = { fg = "base", bg = "lavender" }
|
|
||||||
"ui.cursor.primary.insert" = { fg = "base", bg = "green" }
|
|
||||||
"ui.cursor.primary.select" = { fg = "base", bg = "flamingo" }
|
|
||||||
|
|
||||||
"ui.cursor.normal" = { fg = "base", bg = "secondary_cursor_normal" }
|
|
||||||
"ui.cursor.insert" = { fg = "base", bg = "secondary_cursor_insert" }
|
|
||||||
"ui.cursor.select" = { fg = "base", bg = "secondary_cursor" }
|
|
||||||
|
|
||||||
"ui.cursorline.primary" = { bg = "cursorline" }
|
|
||||||
|
|
||||||
"ui.highlight" = { bg = "surface1", modifiers = ["bold"] }
|
|
||||||
|
|
||||||
"ui.menu" = { fg = "overlay2", bg = "surface0" }
|
|
||||||
"ui.menu.selected" = { fg = "text", bg = "surface1", modifiers = ["bold"] }
|
|
||||||
|
|
||||||
"diagnostic.error" = { underline = { color = "red", style = "curl" } }
|
|
||||||
"diagnostic.warning" = { underline = { color = "yellow", style = "curl" } }
|
|
||||||
"diagnostic.info" = { underline = { color = "sky", style = "curl" } }
|
|
||||||
"diagnostic.hint" = { underline = { color = "teal", style = "curl" } }
|
|
||||||
|
|
||||||
error = "red"
|
|
||||||
warning = "yellow"
|
|
||||||
info = "sky"
|
|
||||||
hint = "teal"
|
|
||||||
|
|
||||||
[palette]
|
|
||||||
rosewater = "#f2d5cf"
|
|
||||||
flamingo = "#eebebe"
|
|
||||||
pink = "#f4b8e4"
|
|
||||||
mauve = "#ca9ee6"
|
|
||||||
red = "#e78284"
|
|
||||||
maroon = "#ea999c"
|
|
||||||
peach = "#ef9f76"
|
|
||||||
yellow = "#e5c890"
|
|
||||||
green = "#a6d189"
|
|
||||||
teal = "#81c8be"
|
|
||||||
sky = "#99d1db"
|
|
||||||
sapphire = "#85c1dc"
|
|
||||||
blue = "#8caaee"
|
|
||||||
lavender = "#babbf1"
|
|
||||||
text = "#c6d0f5"
|
|
||||||
subtext1 = "#b5bfe2"
|
|
||||||
subtext0 = "#a5adce"
|
|
||||||
overlay2 = "#949cbb"
|
|
||||||
overlay1 = "#838ba7"
|
|
||||||
overlay0 = "#737994"
|
|
||||||
surface2 = "#626880"
|
|
||||||
surface1 = "#51576d"
|
|
||||||
surface0 = "#414559"
|
|
||||||
base = "#303446"
|
|
||||||
mantle = "#292c3c"
|
|
||||||
crust = "#232634"
|
|
||||||
|
|
||||||
cursorline = "#3b3f52"
|
|
||||||
secondary_cursor = "#b8a5a6"
|
|
||||||
secondary_cursor_normal = "#9192be"
|
|
||||||
secondary_cursor_insert = "#83a275"
|
|
||||||
@@ -1,156 +0,0 @@
|
|||||||
# Syntax highlighting
|
|
||||||
# -------------------
|
|
||||||
"attribute" = "yellow"
|
|
||||||
|
|
||||||
"type" = "yellow"
|
|
||||||
"type.enum.variant" = "teal"
|
|
||||||
|
|
||||||
"constructor" = "sapphire"
|
|
||||||
|
|
||||||
"constant" = "peach"
|
|
||||||
"constant.character" = "teal"
|
|
||||||
"constant.character.escape" = "pink"
|
|
||||||
|
|
||||||
"string" = "green"
|
|
||||||
"string.regexp" = "pink"
|
|
||||||
"string.special" = "blue"
|
|
||||||
"string.special.symbol" = "red"
|
|
||||||
|
|
||||||
"comment" = { fg = "overlay2" }
|
|
||||||
|
|
||||||
"variable" = "text"
|
|
||||||
"variable.parameter" = { fg = "maroon" }
|
|
||||||
"variable.builtin" = "red"
|
|
||||||
"variable.other.member" = "teal"
|
|
||||||
|
|
||||||
"label" = "sapphire" # used for lifetimes
|
|
||||||
|
|
||||||
"punctuation" = "overlay2"
|
|
||||||
"punctuation.special" = "sky"
|
|
||||||
|
|
||||||
"keyword" = "mauve"
|
|
||||||
"keyword.control.conditional" = { fg = "mauve" }
|
|
||||||
|
|
||||||
"operator" = "sky"
|
|
||||||
|
|
||||||
"function" = "blue"
|
|
||||||
"function.macro" = "mauve"
|
|
||||||
|
|
||||||
"tag" = "blue"
|
|
||||||
|
|
||||||
"namespace" = { fg = "yellow" }
|
|
||||||
|
|
||||||
"special" = "blue" # fuzzy highlight
|
|
||||||
|
|
||||||
"markup.heading.marker" = { fg = "peach", modifiers = ["bold"] }
|
|
||||||
"markup.heading.1" = "lavender"
|
|
||||||
"markup.heading.2" = "mauve"
|
|
||||||
"markup.heading.3" = "green"
|
|
||||||
"markup.heading.4" = "yellow"
|
|
||||||
"markup.heading.5" = "pink"
|
|
||||||
"markup.heading.6" = "teal"
|
|
||||||
"markup.list" = "mauve"
|
|
||||||
"markup.bold" = { modifiers = ["bold"] }
|
|
||||||
"markup.italic" = { modifiers = ["italic"] }
|
|
||||||
"markup.link.url" = { fg = "blue", modifiers = ["underlined"] }
|
|
||||||
"markup.link.text" = "blue"
|
|
||||||
"markup.raw" = "flamingo"
|
|
||||||
|
|
||||||
"diff.plus" = "green"
|
|
||||||
"diff.minus" = "red"
|
|
||||||
"diff.delta" = "blue"
|
|
||||||
|
|
||||||
# User Interface
|
|
||||||
# --------------
|
|
||||||
"ui.background" = { fg = "text", bg = "base" }
|
|
||||||
|
|
||||||
"ui.linenr" = { fg = "surface1" }
|
|
||||||
"ui.linenr.selected" = { fg = "lavender" }
|
|
||||||
|
|
||||||
"ui.statusline" = { fg = "subtext1", bg = "mantle" }
|
|
||||||
"ui.statusline.inactive" = { fg = "surface2", bg = "mantle" }
|
|
||||||
"ui.statusline.normal" = { fg = "base", bg = "lavender", modifiers = ["bold"] }
|
|
||||||
"ui.statusline.insert" = { fg = "base", bg = "green", modifiers = ["bold"] }
|
|
||||||
"ui.statusline.select" = { fg = "base", bg = "flamingo", modifiers = ["bold"] }
|
|
||||||
|
|
||||||
"ui.popup" = { fg = "text", bg = "surface0" }
|
|
||||||
"ui.window" = { fg = "crust" }
|
|
||||||
"ui.help" = { fg = "overlay2", bg = "surface0" }
|
|
||||||
|
|
||||||
"ui.bufferline" = { fg = "subtext0", bg = "mantle" }
|
|
||||||
"ui.bufferline.active" = { fg = "mauve", bg = "base", underline = { color = "mauve", style = "line" } }
|
|
||||||
"ui.bufferline.background" = { bg = "crust" }
|
|
||||||
|
|
||||||
"ui.text" = "text"
|
|
||||||
"ui.text.focus" = { fg = "text", bg = "surface0", modifiers = ["bold"] }
|
|
||||||
"ui.text.inactive" = { fg = "overlay1" }
|
|
||||||
|
|
||||||
"ui.virtual" = "overlay0"
|
|
||||||
"ui.virtual.ruler" = { bg = "surface0" }
|
|
||||||
"ui.virtual.indent-guide" = "surface0"
|
|
||||||
"ui.virtual.inlay-hint" = { fg = "surface1", bg = "mantle" }
|
|
||||||
"ui.virtual.jump-label" = { fg = "rosewater", modifiers = ["bold"] }
|
|
||||||
|
|
||||||
"ui.selection" = { bg = "surface1" }
|
|
||||||
|
|
||||||
"ui.cursor" = { fg = "base", bg = "secondary_cursor" }
|
|
||||||
"ui.cursor.primary" = { fg = "base", bg = "rosewater" }
|
|
||||||
"ui.cursor.match" = { fg = "peach", modifiers = ["bold"] }
|
|
||||||
|
|
||||||
"ui.cursor.primary.normal" = { fg = "base", bg = "lavender" }
|
|
||||||
"ui.cursor.primary.insert" = { fg = "base", bg = "green" }
|
|
||||||
"ui.cursor.primary.select" = { fg = "base", bg = "flamingo" }
|
|
||||||
|
|
||||||
"ui.cursor.normal" = { fg = "base", bg = "secondary_cursor_normal" }
|
|
||||||
"ui.cursor.insert" = { fg = "base", bg = "secondary_cursor_insert" }
|
|
||||||
"ui.cursor.select" = { fg = "base", bg = "secondary_cursor" }
|
|
||||||
|
|
||||||
"ui.cursorline.primary" = { bg = "cursorline" }
|
|
||||||
|
|
||||||
"ui.highlight" = { bg = "surface1", modifiers = ["bold"] }
|
|
||||||
|
|
||||||
"ui.menu" = { fg = "overlay2", bg = "surface0" }
|
|
||||||
"ui.menu.selected" = { fg = "text", bg = "surface1", modifiers = ["bold"] }
|
|
||||||
|
|
||||||
"diagnostic.error" = { underline = { color = "red", style = "curl" } }
|
|
||||||
"diagnostic.warning" = { underline = { color = "yellow", style = "curl" } }
|
|
||||||
"diagnostic.info" = { underline = { color = "sky", style = "curl" } }
|
|
||||||
"diagnostic.hint" = { underline = { color = "teal", style = "curl" } }
|
|
||||||
|
|
||||||
error = "red"
|
|
||||||
warning = "yellow"
|
|
||||||
info = "sky"
|
|
||||||
hint = "teal"
|
|
||||||
|
|
||||||
[palette]
|
|
||||||
rosewater = "#dc8a78"
|
|
||||||
flamingo = "#dd7878"
|
|
||||||
pink = "#ea76cb"
|
|
||||||
mauve = "#8839ef"
|
|
||||||
red = "#d20f39"
|
|
||||||
maroon = "#e64553"
|
|
||||||
peach = "#fe640b"
|
|
||||||
yellow = "#df8e1d"
|
|
||||||
green = "#40a02b"
|
|
||||||
teal = "#179299"
|
|
||||||
sky = "#04a5e5"
|
|
||||||
sapphire = "#209fb5"
|
|
||||||
blue = "#1e66f5"
|
|
||||||
lavender = "#7287fd"
|
|
||||||
text = "#4c4f69"
|
|
||||||
subtext1 = "#5c5f77"
|
|
||||||
subtext0 = "#6c6f85"
|
|
||||||
overlay2 = "#7c7f93"
|
|
||||||
overlay1 = "#8c8fa1"
|
|
||||||
overlay0 = "#9ca0b0"
|
|
||||||
surface2 = "#acb0be"
|
|
||||||
surface1 = "#bcc0cc"
|
|
||||||
surface0 = "#ccd0da"
|
|
||||||
base = "#eff1f5"
|
|
||||||
mantle = "#e6e9ef"
|
|
||||||
crust = "#dce0e8"
|
|
||||||
|
|
||||||
cursorline = "#e8ecf1"
|
|
||||||
secondary_cursor = "#e1a99d"
|
|
||||||
secondary_cursor_normal = "#97a7fb"
|
|
||||||
secondary_cursor_insert = "#74b867"
|
|
||||||
@@ -1,156 +0,0 @@
|
|||||||
# Syntax highlighting
|
|
||||||
# -------------------
|
|
||||||
"attribute" = "yellow"
|
|
||||||
|
|
||||||
"type" = "yellow"
|
|
||||||
"type.enum.variant" = "teal"
|
|
||||||
|
|
||||||
"constructor" = "sapphire"
|
|
||||||
|
|
||||||
"constant" = "peach"
|
|
||||||
"constant.character" = "teal"
|
|
||||||
"constant.character.escape" = "pink"
|
|
||||||
|
|
||||||
"string" = "green"
|
|
||||||
"string.regexp" = "pink"
|
|
||||||
"string.special" = "blue"
|
|
||||||
"string.special.symbol" = "red"
|
|
||||||
|
|
||||||
"comment" = { fg = "overlay2" }
|
|
||||||
|
|
||||||
"variable" = "text"
|
|
||||||
"variable.parameter" = { fg = "maroon" }
|
|
||||||
"variable.builtin" = "red"
|
|
||||||
"variable.other.member" = "teal"
|
|
||||||
|
|
||||||
"label" = "sapphire" # used for lifetimes
|
|
||||||
|
|
||||||
"punctuation" = "overlay2"
|
|
||||||
"punctuation.special" = "sky"
|
|
||||||
|
|
||||||
"keyword" = "mauve"
|
|
||||||
"keyword.control.conditional" = { fg = "mauve" }
|
|
||||||
|
|
||||||
"operator" = "sky"
|
|
||||||
|
|
||||||
"function" = "blue"
|
|
||||||
"function.macro" = "mauve"
|
|
||||||
|
|
||||||
"tag" = "blue"
|
|
||||||
|
|
||||||
"namespace" = { fg = "yellow" }
|
|
||||||
|
|
||||||
"special" = "blue" # fuzzy highlight
|
|
||||||
|
|
||||||
"markup.heading.marker" = { fg = "peach", modifiers = ["bold"] }
|
|
||||||
"markup.heading.1" = "lavender"
|
|
||||||
"markup.heading.2" = "mauve"
|
|
||||||
"markup.heading.3" = "green"
|
|
||||||
"markup.heading.4" = "yellow"
|
|
||||||
"markup.heading.5" = "pink"
|
|
||||||
"markup.heading.6" = "teal"
|
|
||||||
"markup.list" = "mauve"
|
|
||||||
"markup.bold" = { modifiers = ["bold"] }
|
|
||||||
"markup.italic" = { modifiers = ["italic"] }
|
|
||||||
"markup.link.url" = { fg = "blue", modifiers = ["underlined"] }
|
|
||||||
"markup.link.text" = "blue"
|
|
||||||
"markup.raw" = "flamingo"
|
|
||||||
|
|
||||||
"diff.plus" = "green"
|
|
||||||
"diff.minus" = "red"
|
|
||||||
"diff.delta" = "blue"
|
|
||||||
|
|
||||||
# User Interface
|
|
||||||
# --------------
|
|
||||||
"ui.background" = { fg = "text", bg = "base" }
|
|
||||||
|
|
||||||
"ui.linenr" = { fg = "surface1" }
|
|
||||||
"ui.linenr.selected" = { fg = "lavender" }
|
|
||||||
|
|
||||||
"ui.statusline" = { fg = "subtext1", bg = "mantle" }
|
|
||||||
"ui.statusline.inactive" = { fg = "surface2", bg = "mantle" }
|
|
||||||
"ui.statusline.normal" = { fg = "base", bg = "lavender", modifiers = ["bold"] }
|
|
||||||
"ui.statusline.insert" = { fg = "base", bg = "green", modifiers = ["bold"] }
|
|
||||||
"ui.statusline.select" = { fg = "base", bg = "flamingo", modifiers = ["bold"] }
|
|
||||||
|
|
||||||
"ui.popup" = { fg = "text", bg = "surface0" }
|
|
||||||
"ui.window" = { fg = "crust" }
|
|
||||||
"ui.help" = { fg = "overlay2", bg = "surface0" }
|
|
||||||
|
|
||||||
"ui.bufferline" = { fg = "subtext0", bg = "mantle" }
|
|
||||||
"ui.bufferline.active" = { fg = "mauve", bg = "base", underline = { color = "mauve", style = "line" } }
|
|
||||||
"ui.bufferline.background" = { bg = "crust" }
|
|
||||||
|
|
||||||
"ui.text" = "text"
|
|
||||||
"ui.text.focus" = { fg = "text", bg = "surface0", modifiers = ["bold"] }
|
|
||||||
"ui.text.inactive" = { fg = "overlay1" }
|
|
||||||
|
|
||||||
"ui.virtual" = "overlay0"
|
|
||||||
"ui.virtual.ruler" = { bg = "surface0" }
|
|
||||||
"ui.virtual.indent-guide" = "surface0"
|
|
||||||
"ui.virtual.inlay-hint" = { fg = "surface1", bg = "mantle" }
|
|
||||||
"ui.virtual.jump-label" = { fg = "rosewater", modifiers = ["bold"] }
|
|
||||||
|
|
||||||
"ui.selection" = { bg = "surface1" }
|
|
||||||
|
|
||||||
"ui.cursor" = { fg = "base", bg = "secondary_cursor" }
|
|
||||||
"ui.cursor.primary" = { fg = "base", bg = "rosewater" }
|
|
||||||
"ui.cursor.match" = { fg = "peach", modifiers = ["bold"] }
|
|
||||||
|
|
||||||
"ui.cursor.primary.normal" = { fg = "base", bg = "lavender" }
|
|
||||||
"ui.cursor.primary.insert" = { fg = "base", bg = "green" }
|
|
||||||
"ui.cursor.primary.select" = { fg = "base", bg = "flamingo" }
|
|
||||||
|
|
||||||
"ui.cursor.normal" = { fg = "base", bg = "secondary_cursor_normal" }
|
|
||||||
"ui.cursor.insert" = { fg = "base", bg = "secondary_cursor_insert" }
|
|
||||||
"ui.cursor.select" = { fg = "base", bg = "secondary_cursor" }
|
|
||||||
|
|
||||||
"ui.cursorline.primary" = { bg = "cursorline" }
|
|
||||||
|
|
||||||
"ui.highlight" = { bg = "surface1", modifiers = ["bold"] }
|
|
||||||
|
|
||||||
"ui.menu" = { fg = "overlay2", bg = "surface0" }
|
|
||||||
"ui.menu.selected" = { fg = "text", bg = "surface1", modifiers = ["bold"] }
|
|
||||||
|
|
||||||
"diagnostic.error" = { underline = { color = "red", style = "curl" } }
|
|
||||||
"diagnostic.warning" = { underline = { color = "yellow", style = "curl" } }
|
|
||||||
"diagnostic.info" = { underline = { color = "sky", style = "curl" } }
|
|
||||||
"diagnostic.hint" = { underline = { color = "teal", style = "curl" } }
|
|
||||||
|
|
||||||
error = "red"
|
|
||||||
warning = "yellow"
|
|
||||||
info = "sky"
|
|
||||||
hint = "teal"
|
|
||||||
|
|
||||||
[palette]
|
|
||||||
rosewater = "#f4dbd6"
|
|
||||||
flamingo = "#f0c6c6"
|
|
||||||
pink = "#f5bde6"
|
|
||||||
mauve = "#c6a0f6"
|
|
||||||
red = "#ed8796"
|
|
||||||
maroon = "#ee99a0"
|
|
||||||
peach = "#f5a97f"
|
|
||||||
yellow = "#eed49f"
|
|
||||||
green = "#a6da95"
|
|
||||||
teal = "#8bd5ca"
|
|
||||||
sky = "#91d7e3"
|
|
||||||
sapphire = "#7dc4e4"
|
|
||||||
blue = "#8aadf4"
|
|
||||||
lavender = "#b7bdf8"
|
|
||||||
text = "#cad3f5"
|
|
||||||
subtext1 = "#b8c0e0"
|
|
||||||
subtext0 = "#a5adcb"
|
|
||||||
overlay2 = "#939ab7"
|
|
||||||
overlay1 = "#8087a2"
|
|
||||||
overlay0 = "#6e738d"
|
|
||||||
surface2 = "#5b6078"
|
|
||||||
surface1 = "#494d64"
|
|
||||||
surface0 = "#363a4f"
|
|
||||||
base = "#24273a"
|
|
||||||
mantle = "#1e2030"
|
|
||||||
crust = "#181926"
|
|
||||||
|
|
||||||
cursorline = "#303347"
|
|
||||||
secondary_cursor = "#b6a6a7"
|
|
||||||
secondary_cursor_normal = "#8b91bf"
|
|
||||||
secondary_cursor_insert = "#80a57a"
|
|
||||||
@@ -1,156 +0,0 @@
|
|||||||
# Syntax highlighting
|
|
||||||
# -------------------
|
|
||||||
"attribute" = "yellow"
|
|
||||||
|
|
||||||
"type" = "yellow"
|
|
||||||
"type.enum.variant" = "teal"
|
|
||||||
|
|
||||||
"constructor" = "sapphire"
|
|
||||||
|
|
||||||
"constant" = "peach"
|
|
||||||
"constant.character" = "teal"
|
|
||||||
"constant.character.escape" = "pink"
|
|
||||||
|
|
||||||
"string" = "green"
|
|
||||||
"string.regexp" = "pink"
|
|
||||||
"string.special" = "blue"
|
|
||||||
"string.special.symbol" = "red"
|
|
||||||
|
|
||||||
"comment" = { fg = "overlay2" }
|
|
||||||
|
|
||||||
"variable" = "text"
|
|
||||||
"variable.parameter" = { fg = "maroon" }
|
|
||||||
"variable.builtin" = "red"
|
|
||||||
"variable.other.member" = "teal"
|
|
||||||
|
|
||||||
"label" = "sapphire" # used for lifetimes
|
|
||||||
|
|
||||||
"punctuation" = "overlay2"
|
|
||||||
"punctuation.special" = "sky"
|
|
||||||
|
|
||||||
"keyword" = "mauve"
|
|
||||||
"keyword.control.conditional" = { fg = "mauve" }
|
|
||||||
|
|
||||||
"operator" = "sky"
|
|
||||||
|
|
||||||
"function" = "blue"
|
|
||||||
"function.macro" = "mauve"
|
|
||||||
|
|
||||||
"tag" = "blue"
|
|
||||||
|
|
||||||
"namespace" = { fg = "yellow" }
|
|
||||||
|
|
||||||
"special" = "blue" # fuzzy highlight
|
|
||||||
|
|
||||||
"markup.heading.marker" = { fg = "peach", modifiers = ["bold"] }
|
|
||||||
"markup.heading.1" = "lavender"
|
|
||||||
"markup.heading.2" = "mauve"
|
|
||||||
"markup.heading.3" = "green"
|
|
||||||
"markup.heading.4" = "yellow"
|
|
||||||
"markup.heading.5" = "pink"
|
|
||||||
"markup.heading.6" = "teal"
|
|
||||||
"markup.list" = "mauve"
|
|
||||||
"markup.bold" = { modifiers = ["bold"] }
|
|
||||||
"markup.italic" = { modifiers = ["italic"] }
|
|
||||||
"markup.link.url" = { fg = "blue", modifiers = ["underlined"] }
|
|
||||||
"markup.link.text" = "blue"
|
|
||||||
"markup.raw" = "flamingo"
|
|
||||||
|
|
||||||
"diff.plus" = "green"
|
|
||||||
"diff.minus" = "red"
|
|
||||||
"diff.delta" = "blue"
|
|
||||||
|
|
||||||
# User Interface
|
|
||||||
# --------------
|
|
||||||
"ui.background" = { fg = "text", bg = "base" }
|
|
||||||
|
|
||||||
"ui.linenr" = { fg = "surface1" }
|
|
||||||
"ui.linenr.selected" = { fg = "lavender" }
|
|
||||||
|
|
||||||
"ui.statusline" = { fg = "subtext1", bg = "mantle" }
|
|
||||||
"ui.statusline.inactive" = { fg = "surface2", bg = "mantle" }
|
|
||||||
"ui.statusline.normal" = { fg = "base", bg = "lavender", modifiers = ["bold"] }
|
|
||||||
"ui.statusline.insert" = { fg = "base", bg = "green", modifiers = ["bold"] }
|
|
||||||
"ui.statusline.select" = { fg = "base", bg = "flamingo", modifiers = ["bold"] }
|
|
||||||
|
|
||||||
"ui.popup" = { fg = "text", bg = "surface0" }
|
|
||||||
"ui.window" = { fg = "crust" }
|
|
||||||
"ui.help" = { fg = "overlay2", bg = "surface0" }
|
|
||||||
|
|
||||||
"ui.bufferline" = { fg = "subtext0", bg = "mantle" }
|
|
||||||
"ui.bufferline.active" = { fg = "mauve", bg = "base", underline = { color = "mauve", style = "line" } }
|
|
||||||
"ui.bufferline.background" = { bg = "crust" }
|
|
||||||
|
|
||||||
"ui.text" = "text"
|
|
||||||
"ui.text.focus" = { fg = "text", bg = "surface0", modifiers = ["bold"] }
|
|
||||||
"ui.text.inactive" = { fg = "overlay1" }
|
|
||||||
|
|
||||||
"ui.virtual" = "overlay0"
|
|
||||||
"ui.virtual.ruler" = { bg = "surface0" }
|
|
||||||
"ui.virtual.indent-guide" = "surface0"
|
|
||||||
"ui.virtual.inlay-hint" = { fg = "surface1", bg = "mantle" }
|
|
||||||
"ui.virtual.jump-label" = { fg = "rosewater", modifiers = ["bold"] }
|
|
||||||
|
|
||||||
"ui.selection" = { bg = "surface1" }
|
|
||||||
|
|
||||||
"ui.cursor" = { fg = "base", bg = "secondary_cursor" }
|
|
||||||
"ui.cursor.primary" = { fg = "base", bg = "rosewater" }
|
|
||||||
"ui.cursor.match" = { fg = "peach", modifiers = ["bold"] }
|
|
||||||
|
|
||||||
"ui.cursor.primary.normal" = { fg = "base", bg = "lavender" }
|
|
||||||
"ui.cursor.primary.insert" = { fg = "base", bg = "green" }
|
|
||||||
"ui.cursor.primary.select" = { fg = "base", bg = "flamingo" }
|
|
||||||
|
|
||||||
"ui.cursor.normal" = { fg = "base", bg = "secondary_cursor_normal" }
|
|
||||||
"ui.cursor.insert" = { fg = "base", bg = "secondary_cursor_insert" }
|
|
||||||
"ui.cursor.select" = { fg = "base", bg = "secondary_cursor" }
|
|
||||||
|
|
||||||
"ui.cursorline.primary" = { bg = "cursorline" }
|
|
||||||
|
|
||||||
"ui.highlight" = { bg = "surface1", modifiers = ["bold"] }
|
|
||||||
|
|
||||||
"ui.menu" = { fg = "overlay2", bg = "surface0" }
|
|
||||||
"ui.menu.selected" = { fg = "text", bg = "surface1", modifiers = ["bold"] }
|
|
||||||
|
|
||||||
"diagnostic.error" = { underline = { color = "red", style = "curl" } }
|
|
||||||
"diagnostic.warning" = { underline = { color = "yellow", style = "curl" } }
|
|
||||||
"diagnostic.info" = { underline = { color = "sky", style = "curl" } }
|
|
||||||
"diagnostic.hint" = { underline = { color = "teal", style = "curl" } }
|
|
||||||
|
|
||||||
error = "red"
|
|
||||||
warning = "yellow"
|
|
||||||
info = "sky"
|
|
||||||
hint = "teal"
|
|
||||||
|
|
||||||
[palette]
|
|
||||||
rosewater = "#f5e0dc"
|
|
||||||
flamingo = "#f2cdcd"
|
|
||||||
pink = "#f5c2e7"
|
|
||||||
mauve = "#cba6f7"
|
|
||||||
red = "#f38ba8"
|
|
||||||
maroon = "#eba0ac"
|
|
||||||
peach = "#fab387"
|
|
||||||
yellow = "#f9e2af"
|
|
||||||
green = "#a6e3a1"
|
|
||||||
teal = "#94e2d5"
|
|
||||||
sky = "#89dceb"
|
|
||||||
sapphire = "#74c7ec"
|
|
||||||
blue = "#89b4fa"
|
|
||||||
lavender = "#b4befe"
|
|
||||||
text = "#cdd6f4"
|
|
||||||
subtext1 = "#bac2de"
|
|
||||||
subtext0 = "#a6adc8"
|
|
||||||
overlay2 = "#9399b2"
|
|
||||||
overlay1 = "#7f849c"
|
|
||||||
overlay0 = "#6c7086"
|
|
||||||
surface2 = "#585b70"
|
|
||||||
surface1 = "#45475a"
|
|
||||||
surface0 = "#313244"
|
|
||||||
base = "#1e1e2e"
|
|
||||||
mantle = "#181825"
|
|
||||||
crust = "#11111b"
|
|
||||||
|
|
||||||
cursorline = "#2a2b3c"
|
|
||||||
secondary_cursor = "#b5a6a8"
|
|
||||||
secondary_cursor_normal = "#878ec0"
|
|
||||||
secondary_cursor_insert = "#7ea87f"
|
|
||||||
+87
-105
@@ -1,85 +1,91 @@
|
|||||||
vim.g.mapleader = vim.keycode("<space>")
|
vim.g.mapleader = vim.keycode("<space>")
|
||||||
vim.g.maplocalleader = vim.keycode("/")
|
vim.g.maplocalleader = vim.keycode("/")
|
||||||
vim.opt.langmap = "ø:"
|
vim.o.langmap = "ø:"
|
||||||
|
|
||||||
-- general options
|
-- general options
|
||||||
vim.opt.shell = "/usr/bin/zsh"
|
vim.o.shell = "/usr/bin/zsh"
|
||||||
vim.g.BASH_Ctrl_j = "off"
|
vim.g.BASH_Ctrl_j = "off"
|
||||||
vim.g.BASH_Ctrl_l = "off"
|
vim.g.BASH_Ctrl_l = "off"
|
||||||
vim.opt.clipboard:append("unnamedplus")
|
vim.opt.clipboard:append("unnamedplus")
|
||||||
vim.opt.guicursor = "n-v-c:block-CustomCursor,i:ver100-CustomICursor,n-v-c:blinkon0,i:blinkwait10"
|
vim.o.guicursor = "n-v-c:block-CustomCursor,i:ver100-CustomICursor,n-v-c:blinkon0,i:blinkwait10"
|
||||||
vim.opt.cursorline = true
|
vim.o.cursorline = true
|
||||||
vim.opt.list = true
|
vim.o.list = true
|
||||||
vim.opt.listchars = { tab = "→ ", trail = "·", extends = "↷", precedes = "↶", nbsp = "+" }
|
vim.o.listchars = "tab:→ ,trail:·,extends:↷,precedes:↶,nbsp:+"
|
||||||
vim.opt.mouse = "a"
|
vim.o.mouse = "a"
|
||||||
vim.opt.ruler = false
|
vim.o.ruler = false
|
||||||
vim.opt.scrolloff = 4
|
vim.o.scrolloff = 4
|
||||||
vim.opt.shortmess:append({ W = true, I = true, c = true, C = true })
|
vim.opt.shortmess:append({ W = true, I = true, c = true, C = true })
|
||||||
vim.opt.cmdheight = 0
|
vim.o.cmdheight = 0
|
||||||
vim.opt.showmode = false
|
vim.o.showmode = false
|
||||||
vim.opt.sidescrolloff = 8
|
vim.o.sidescrolloff = 8
|
||||||
vim.opt.timeoutlen = 500
|
vim.o.timeoutlen = 500
|
||||||
vim.opt.virtualedit = "block"
|
vim.o.virtualedit = "block"
|
||||||
vim.opt.wildmode = { "longest:full", "full" }
|
vim.o.wildmode = "longest:full,full"
|
||||||
vim.opt.wrap = false
|
vim.o.wrap = false
|
||||||
vim.opt.diffopt = { "internal", "filler", "closeoff", "hiddenoff", "vertical", "algorithm:histogram" }
|
vim.opt.diffopt = "internal,filler,closeoff,hiddenoff,vertical,algorithm:histogram"
|
||||||
-- stylua: ignore
|
vim.opt.wildignore:append(
|
||||||
vim.opt.wildignore:append({ "blue.vim", "darkblue.vim", "delek.vim", "desert.vim", "elflord.vim", "evening.vim", "habamax.vim", "industry.vim", "koehler.vim", "lunaperche.vim", "morning.vim", "murphy.vim", "pablo.vim", "peachpuff.vim", "quiet.vim", "retrobox.vim", "ron.vim", "shine.vim", "slate.vim", "sorbet.vim", "torte.vim", "unokai.vim", "vim.lua", "wildcharm.vim", "zaibatsu.vim", "zellner.vim", })
|
"blue.vim,darkblue.vim,delek.vim,desert.vim,elflord.vim,evening.vim,habamax.vim,industry.vim,"
|
||||||
|
.. "koehler.vim,lunaperche.vim,morning.vim,murphy.vim,pablo.vim,peachpuff.vim,quiet.vim,retrobox.vim,ron.vim,"
|
||||||
|
.. "shine.vim,slate.vim,sorbet.vim,torte.vim,unokai.vim,vim.lua,wildcharm.vim,zaibatsu.vim,zellner.vim"
|
||||||
|
)
|
||||||
|
|
||||||
-- File History
|
-- File History
|
||||||
vim.opt.undofile = true
|
vim.o.undofile = true
|
||||||
vim.opt.undolevels = 100000
|
vim.o.undolevels = 100000
|
||||||
vim.opt.undoreload = 100000
|
vim.o.undoreload = 100000
|
||||||
vim.opt.updatetime = 200
|
vim.o.updatetime = 200
|
||||||
|
|
||||||
-- Tab stop
|
-- Tab stop
|
||||||
vim.opt.expandtab = true
|
vim.o.expandtab = true
|
||||||
vim.opt.shiftround = true
|
vim.o.shiftround = true
|
||||||
vim.opt.shiftwidth = 2
|
vim.o.shiftwidth = 2
|
||||||
vim.opt.tabstop = 2
|
vim.o.tabstop = 2
|
||||||
vim.opt.smartindent = false
|
vim.o.smartindent = false
|
||||||
|
|
||||||
-- Session options
|
-- Session options
|
||||||
vim.opt.sessionoptions = { "buffers", "curdir", "tabpages", "winsize", "help", "globals", "skiprtp", "folds" }
|
vim.opt.sessionoptions = { "buffers", "curdir", "tabpages", "winsize", "help", "globals", "skiprtp", "folds" }
|
||||||
|
|
||||||
-- Completion Window/Popup settings
|
-- Completion Window/Popup settings
|
||||||
vim.opt.completeopt = { "menu", "popup", "preview" }
|
vim.o.completeopt = "menu,popup,preview"
|
||||||
vim.opt.pumblend = 10
|
vim.o.pumblend = 10
|
||||||
vim.opt.pumheight = 10
|
vim.o.pumheight = 10
|
||||||
vim.opt.winminwidth = 5
|
vim.o.winminwidth = 5
|
||||||
|
|
||||||
-- Fold settings
|
-- Fold settings
|
||||||
vim.opt.foldlevel = 99
|
vim.opt.foldlevel = 99
|
||||||
vim.opt.smoothscroll = true
|
vim.opt.smoothscroll = true
|
||||||
vim.opt.foldmethod = "expr"
|
vim.opt.foldmethod = "expr"
|
||||||
vim.opt.foldtext = ""
|
vim.opt.foldtext = ""
|
||||||
vim.opt.foldexpr = "v:lua.vim.treesitter.foldexpr()"
|
vim.o.foldexpr = "v:lua.vim.treesitter.foldexpr()"
|
||||||
|
|
||||||
-- Format settings
|
-- Format settings
|
||||||
vim.opt.formatoptions = "jqlnt"
|
vim.o.formatoptions = "jroqlnt"
|
||||||
|
|
||||||
-- Grep settings
|
-- Grep settings
|
||||||
vim.opt.grepformat = "%f:%l:%c:%m"
|
vim.o.grepformat = "%f:%l:%c:%m"
|
||||||
vim.opt.grepprg = "rg --vimgrep"
|
vim.o.grepprg = "rg --vimgrep"
|
||||||
|
|
||||||
-- Search/substitute settings
|
-- Search/subsitute settings
|
||||||
vim.opt.inccommand = "nosplit"
|
vim.o.inccommand = "nosplit"
|
||||||
vim.opt.jumpoptions = "view"
|
vim.o.jumpoptions = "view"
|
||||||
vim.opt.ignorecase = true
|
vim.o.ignorecase = true
|
||||||
vim.opt.smartcase = true
|
vim.o.smartcase = true
|
||||||
|
|
||||||
-- Spelling
|
-- Spelling
|
||||||
vim.opt.spelllang = { "en" }
|
vim.opt.spelllang = { "en" }
|
||||||
|
|
||||||
-- Splits
|
-- Splits
|
||||||
vim.opt.splitbelow = true
|
vim.o.splitbelow = true
|
||||||
vim.opt.splitkeep = "screen"
|
vim.o.splitkeep = "screen"
|
||||||
vim.opt.splitright = true
|
vim.o.splitright = true
|
||||||
|
|
||||||
|
-- Terminal
|
||||||
|
vim.o.termguicolors = true
|
||||||
|
|
||||||
|
-- Status Column
|
||||||
|
vim.o.number = true
|
||||||
|
vim.o.relativenumber = true
|
||||||
|
|
||||||
-- Terminal & Status Column
|
|
||||||
vim.opt.termguicolors = true
|
|
||||||
vim.opt.number = true
|
|
||||||
vim.opt.relativenumber = true
|
|
||||||
vim.diagnostic.config({
|
vim.diagnostic.config({
|
||||||
severity_sort = true,
|
severity_sort = true,
|
||||||
underline = true,
|
underline = true,
|
||||||
@@ -91,23 +97,15 @@ vim.diagnostic.config({
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
signs = false,
|
signs = false,
|
||||||
-- virtual_lines = {
|
virtual_lines = {
|
||||||
-- current_line = true,
|
only_current_line = true,
|
||||||
-- spacing = vim.o.shiftwidth,
|
spacing = vim.o.shiftwidth,
|
||||||
-- severity = { min = vim.diagnostic.severity.ERROR },
|
severity = { min = vim.diagnostic.severity.ERROR },
|
||||||
-- },
|
},
|
||||||
float = { source = true },
|
float = { source = true },
|
||||||
})
|
})
|
||||||
vim.lsp.set_log_level(2)
|
vim.lsp.set_log_level(2)
|
||||||
|
|
||||||
vim.api.nvim_create_autocmd("FileType", {
|
|
||||||
desc = "Disable auto-commenting on new line",
|
|
||||||
pattern = "*",
|
|
||||||
callback = function()
|
|
||||||
vim.opt_local.formatoptions:remove({ "r", "o" })
|
|
||||||
end,
|
|
||||||
})
|
|
||||||
|
|
||||||
-- ----------------------------------------
|
-- ----------------------------------------
|
||||||
-- MAPS
|
-- MAPS
|
||||||
-- ----------------------------------------
|
-- ----------------------------------------
|
||||||
@@ -166,10 +164,6 @@ map("v", ">", ">gv")
|
|||||||
map("v", "<Tab>", ">gv")
|
map("v", "<Tab>", ">gv")
|
||||||
map("v", "<S-Tab>", "<gv")
|
map("v", "<S-Tab>", "<gv")
|
||||||
|
|
||||||
-- commenting
|
|
||||||
map("n", "gco", "o<esc>Vcx<esc><cmd>normal gcc<cr>fxa<bs>", { desc = "Add Comment Below" })
|
|
||||||
map("n", "gcO", "O<esc>Vcx<esc><cmd>normal gcc<cr>fxa<bs>", { desc = "Add Comment Above" })
|
|
||||||
|
|
||||||
-- new file
|
-- new file
|
||||||
map("n", "<leader>n", "<cmd>enew<cr>", { desc = "New File" })
|
map("n", "<leader>n", "<cmd>enew<cr>", { desc = "New File" })
|
||||||
|
|
||||||
@@ -180,6 +174,12 @@ map("n", "<leader>uI", function()
|
|||||||
vim.api.nvim_input("I")
|
vim.api.nvim_input("I")
|
||||||
end, { desc = "Inspect Tree" })
|
end, { desc = "Inspect Tree" })
|
||||||
|
|
||||||
|
-- Terminal Mappings overridden by Snacks.terminal
|
||||||
|
-- map("n", "<C-/>", "<cmd>terminal<cr>", { desc = "Show Terminal" })
|
||||||
|
-- map("t", "<C-/>", "<cmd>close<cr>", { desc = "Hide Terminal" })
|
||||||
|
-- map("n", "<C-_>", "<cmd>terminal<cr>", { desc = "which_key_ignore" })
|
||||||
|
-- map("t", "<C-_>", "<cmd>close<cr>", { desc = "which_key_ignore" })
|
||||||
|
|
||||||
-- windows
|
-- windows
|
||||||
map("n", "<M-v>", "<cmd>vsplit<cr>", { desc = "Split Window Right", remap = true })
|
map("n", "<M-v>", "<cmd>vsplit<cr>", { desc = "Split Window Right", remap = true })
|
||||||
map("n", "<M-s>", "<cmd>split<cr>", { desc = "Split Window Below", remap = true })
|
map("n", "<M-s>", "<cmd>split<cr>", { desc = "Split Window Below", remap = true })
|
||||||
@@ -736,7 +736,7 @@ local function makespecs_previewers()
|
|||||||
return {
|
return {
|
||||||
{
|
{
|
||||||
"chomosuke/typst-preview.nvim",
|
"chomosuke/typst-preview.nvim",
|
||||||
lazy = false, -- or ft = 'typst'
|
lazy = false,
|
||||||
version = "1.*",
|
version = "1.*",
|
||||||
opts = {
|
opts = {
|
||||||
-- debug = true,
|
-- debug = true,
|
||||||
@@ -1052,12 +1052,7 @@ local function makespec_snacks()
|
|||||||
image = { enabled = true },
|
image = { enabled = true },
|
||||||
indent = { enabled = true },
|
indent = { enabled = true },
|
||||||
lazygit = { enabled = vim.fn.has("lazygit") == 1 },
|
lazygit = { enabled = vim.fn.has("lazygit") == 1 },
|
||||||
notifier = {
|
notifier = { enabled = true, style = "minimal", refresh = 500, top_down = false },
|
||||||
enabled = true,
|
|
||||||
style = "minimal",
|
|
||||||
refresh = 500,
|
|
||||||
top_down = false,
|
|
||||||
},
|
|
||||||
---@class snacks.picker
|
---@class snacks.picker
|
||||||
picker = {
|
picker = {
|
||||||
formatters = { file = { filename_first = true } },
|
formatters = { file = { filename_first = true } },
|
||||||
@@ -1077,12 +1072,7 @@ local function makespec_snacks()
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
toggle = { enabled = true },
|
toggle = { enabled = true },
|
||||||
styles = {
|
styles = { lazygit = { width = 0, height = 0 } },
|
||||||
lazygit = {
|
|
||||||
width = 0,
|
|
||||||
height = 0,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
-- stylua: ignore
|
-- stylua: ignore
|
||||||
keys = {
|
keys = {
|
||||||
@@ -1228,15 +1218,15 @@ local function makespec_smartsplits()
|
|||||||
lazy = false,
|
lazy = false,
|
||||||
-- stylua: ignore
|
-- stylua: ignore
|
||||||
keys = {
|
keys = {
|
||||||
{ "<M-h>", function() require("smart-splits").move_cursor_left() end, { desc = "Go to Left Window", remap = true } },
|
{ "<M-h>", function() require("smart-splits").move_cursor_left() end, desc = "Go to Left Window" },
|
||||||
{ "<M-j>", function() require("smart-splits").move_cursor_down() end, { desc = "Go to Left Window", remap = true } },
|
{ "<M-j>", function() require("smart-splits").move_cursor_down() end, desc = "Go to Lower Window" },
|
||||||
{ "<M-k>", function() require("smart-splits").move_cursor_up() end, { desc = "Go to Left Window", remap = true } },
|
{ "<M-k>", function() require("smart-splits").move_cursor_up() end, desc = "Go to Upper Window" },
|
||||||
{ "<M-l>", function() require("smart-splits").move_cursor_right() end, { desc = "Go to Left Window", remap = true } },
|
{ "<M-l>", function() require("smart-splits").move_cursor_right() end, desc = "Go to Right Window" },
|
||||||
{ "<M-\\>", function() require("smart-splits").move_cursor_previous() end, { desc = "Go to Previous Window", remap = true } },
|
{ "<M-\\>", function() require("smart-splits").move_cursor_previous() end, desc = "Go to Previous Window" },
|
||||||
{ "<C-h>", function() require("smart-splits").resize_left() end, { desc = "Resize Window Left", remap = true } },
|
{ "<C-h>", function() require("smart-splits").resize_left() end, desc = "Resize Window Left" },
|
||||||
{ "<C-j>", function() require("smart-splits").resize_down() end, { desc = "Resize Window Down", remap = true } },
|
{ "<C-j>", function() require("smart-splits").resize_down() end, desc = "Resize Window Down" },
|
||||||
{ "<C-k>", function() require("smart-splits").resize_up() end, { desc = "Resize Window Up", remap = true } },
|
{ "<C-k>", function() require("smart-splits").resize_up() end, desc = "Resize Window Up" },
|
||||||
{ "<C-l>", function() require("smart-splits").resize_right() end, { desc = "Resize Window Right", remap = true } },
|
{ "<C-l>", function() require("smart-splits").resize_right() end, desc = "Resize Window Right" },
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
@@ -1298,7 +1288,7 @@ local function makespec_flash()
|
|||||||
exclude = {
|
exclude = {
|
||||||
function(win)
|
function(win)
|
||||||
return vim.bo[vim.api.nvim_win_get_buf(win)].filetype
|
return vim.bo[vim.api.nvim_win_get_buf(win)].filetype
|
||||||
~= "snacks_picker_list"
|
== "snacks_picker_list"
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -1374,9 +1364,12 @@ local function makespec_treesitter()
|
|||||||
},
|
},
|
||||||
auto_install = true,
|
auto_install = true,
|
||||||
highlight = { enable = true },
|
highlight = { enable = true },
|
||||||
indent = { enable = true, disable = { "python" } },
|
indent = {
|
||||||
-- incremental_selection done by flash plugin
|
enable = true,
|
||||||
|
disable = function(lang, buf) return lang == "python" end,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
|
init = function() vim.opt.foldexpr = "nvim_treesitter#foldexpr()" end,
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -1453,10 +1446,7 @@ local function makespec_conform()
|
|||||||
typst = { "typstyle" },
|
typst = { "typstyle" },
|
||||||
yaml = { "yamlfmt" },
|
yaml = { "yamlfmt" },
|
||||||
},
|
},
|
||||||
default_format_opts = {
|
default_format_opts = { timeout_ms = 3000, lsp_format = "fallback" },
|
||||||
timeout_ms = 3000,
|
|
||||||
lsp_format = "fallback",
|
|
||||||
},
|
|
||||||
formatters = {
|
formatters = {
|
||||||
javascript = { require_cwd = true },
|
javascript = { require_cwd = true },
|
||||||
stylua = { append_args = { "--indent-type", "Spaces", "--collapse-simple-statement", "Always" } },
|
stylua = { append_args = { "--indent-type", "Spaces", "--collapse-simple-statement", "Always" } },
|
||||||
@@ -1485,17 +1475,12 @@ local function makespec_avante()
|
|||||||
providers = {
|
providers = {
|
||||||
openai = {
|
openai = {
|
||||||
model = "gpt-4.1",
|
model = "gpt-4.1",
|
||||||
extra_request_body = {
|
extra_request_body = { temperature = 0 },
|
||||||
temperature = 0,
|
|
||||||
},
|
|
||||||
max_tokens = 4096,
|
max_tokens = 4096,
|
||||||
},
|
},
|
||||||
gemini = {
|
gemini = {
|
||||||
model = "gemini-2.5-flash",
|
model = "gemini-2.5-flash",
|
||||||
extra_request_body = {
|
extra_request_body = { temperature = 0, max_tokens = 4096 },
|
||||||
temperature = 0,
|
|
||||||
max_tokens = 4096,
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
ignore_patterns = {
|
ignore_patterns = {
|
||||||
@@ -1565,10 +1550,7 @@ local function makespec_noice()
|
|||||||
},
|
},
|
||||||
signature = { enabled = true, auto_open = { enabled = false, throttle = 50 } },
|
signature = { enabled = true, auto_open = { enabled = false, throttle = 50 } },
|
||||||
},
|
},
|
||||||
presets = {
|
presets = { command_palette = true, long_message_to_split = true },
|
||||||
command_palette = true,
|
|
||||||
long_message_to_split = true,
|
|
||||||
},
|
|
||||||
routes = {
|
routes = {
|
||||||
{ filter = { event = "msg_show", kind = "search_count" }, opts = { skip = true } },
|
{ filter = { event = "msg_show", kind = "search_count" }, opts = { skip = true } },
|
||||||
{ filter = { kind = "", min_height = 2 }, view = "split" },
|
{ filter = { kind = "", min_height = 2 }, view = "split" },
|
||||||
|
|||||||
@@ -349,6 +349,8 @@ for_window [app_id="floating_shell"] floating enable, border pixel 1, sticky ena
|
|||||||
for_window [title="Picture in picture"] floating enable, sticky enable
|
for_window [title="Picture in picture"] floating enable, sticky enable
|
||||||
for_window [title="Save File"] floating enable
|
for_window [title="Save File"] floating enable
|
||||||
for_window [app_id="firefox" title="Firefox — Sharing Indicator"] kill
|
for_window [app_id="firefox" title="Firefox — Sharing Indicator"] kill
|
||||||
|
# only thunderbird main window as float
|
||||||
|
for_window [app_id="org.mozilla.Thunderbird" title="^((?!Mozilla Thunderbird).)*$"] floating enable
|
||||||
|
|
||||||
# steam
|
# steam
|
||||||
# https://github.com/ValveSoftware/steam-for-linux/issues/1040
|
# https://github.com/ValveSoftware/steam-for-linux/issues/1040
|
||||||
|
|||||||
+1
-1
@@ -14,7 +14,7 @@ alias ls='ls --color=auto -Ah'
|
|||||||
alias ..='cd ..'
|
alias ..='cd ..'
|
||||||
alias ...='cd ../..'
|
alias ...='cd ../..'
|
||||||
catai () {
|
catai () {
|
||||||
rg --files --hidden --glob '!.git/*' "$@" | while read -r f; do
|
rg -l --hidden --glob '!.git/*' '^' -- "$@" | while IFS= read -r f; do
|
||||||
printf "\n── %s ──\n" "$f"
|
printf "\n── %s ──\n" "$f"
|
||||||
echo '```'
|
echo '```'
|
||||||
cat "$f"
|
cat "$f"
|
||||||
|
|||||||
Reference in New Issue
Block a user