From c830fce325352e5984da71773dd0dcf5ce0b26fa Mon Sep 17 00:00:00 2001 From: Marco Thomas Date: Sun, 28 Jul 2024 22:24:24 +0200 Subject: [PATCH] helix: update config to 24.07 --- files/helix/.config/helix/config.toml | 4 + files/helix/.config/helix/languages.toml | 8 ++ .../.config/helix/themes/everforest.toml | 88 ------------------- 3 files changed, 12 insertions(+), 88 deletions(-) delete mode 100644 files/helix/.config/helix/themes/everforest.toml diff --git a/files/helix/.config/helix/config.toml b/files/helix/.config/helix/config.toml index 7777f98..d062559 100644 --- a/files/helix/.config/helix/config.toml +++ b/files/helix/.config/helix/config.toml @@ -3,12 +3,16 @@ theme = "everforest_light" [editor] line-number = "relative" cursor-shape.insert = "bar" +insert-final-newline = false rulers = [80, 100] [editor.whitespace.render] tab = "all" space = "all" +[editor.indent-guides] +render = true + [editor.lsp] display-inlay-hints = true diff --git a/files/helix/.config/helix/languages.toml b/files/helix/.config/helix/languages.toml index bc99168..16ad8ae 100644 --- a/files/helix/.config/helix/languages.toml +++ b/files/helix/.config/helix/languages.toml @@ -4,3 +4,11 @@ auto-format = false [language-server.typst-lsp.config] exportPdf = "never" + +[[language]] +name = "c" +indent = { tab-width = 8, unit = " " } + +[[language]] +name = "cpp" +indent = { tab-width = 8, unit = " " } diff --git a/files/helix/.config/helix/themes/everforest.toml b/files/helix/.config/helix/themes/everforest.toml deleted file mode 100644 index d168aa6..0000000 --- a/files/helix/.config/helix/themes/everforest.toml +++ /dev/null @@ -1,88 +0,0 @@ -"type" = "yellow" -"constant" = "purple" -"constant.numeric" = "purple" -"constant.character.escape" = "orange" -"string" = "green" -"string.regexp" = "blue" -"comment" = "grey0" -"variable" = "fg" -"variable.builtin" = "blue" -"variable.parameter" = "fg" -"variable.other.member" = "fg" -"label" = "aqua" -"punctuation" = "grey2" -"punctuation.delimiter" = "grey2" -"punctuation.bracket" = "fg" -"keyword" = "red" -"keyword.directive" = "aqua" -"operator" = "orange" -"function" = "green" -"function.builtin" = "blue" -"function.macro" = "aqua" -"tag" = "yellow" -"namespace" = "aqua" -"attribute" = "aqua" -"constructor" = "yellow" -"module" = "blue" -"special" = "orange" - -"markup.heading.marker" = "grey2" -"markup.heading.1" = { fg = "red", modifiers = ["bold"] } -"markup.heading.2" = { fg = "orange", modifiers = ["bold"] } -"markup.heading.3" = { fg = "yellow", modifiers = ["bold"] } -"markup.heading.4" = { fg = "green", modifiers = ["bold"] } -"markup.heading.5" = { fg = "blue", modifiers = ["bold"] } -"markup.heading.6" = { fg = "fg", modifiers = ["bold"] } -"markup.list" = "red" -"markup.bold" = { modifiers = ["bold"] } -"markup.italic" = { modifiers = ["italic"] } -"markup.link.url" = { fg = "blue", modifiers = ["underlined"] } -"markup.link.text" = "purple" -"markup.quote" = "grey2" -"markup.raw" = "green" - -"diff.plus" = "green" -"diff.delta" = "orange" -"diff.minus" = "red" - -"ui.background" = { bg = "bg0" } -"ui.background.separator" = "grey0" -"ui.cursor" = { fg = "bg0", bg = "fg" } -"ui.cursor.match" = { fg = "orange", bg = "bg_yellow" } -"ui.cursor.insert" = { fg = "bg0", bg = "grey1" } -"ui.cursor.select" = { fg = "bg0", bg = "blue" } -"ui.cursorline.primary" = { bg = "bg1" } -"ui.cursorline.secondary" = { bg = "bg1" } -"ui.selection" = { bg = "bg3" } -"ui.linenr" = "grey0" -"ui.linenr.selected" = "fg" -"ui.statusline" = { fg = "grey2", bg = "bg3" } -"ui.statusline.inactive" = { fg = "grey0", bg = "bg1" } -"ui.statusline.normal" = { fg = "bg0", bg = "grey2", modifiers = ["bold"] } -"ui.statusline.insert" = { fg = "bg0", bg = "yellow", modifiers = ["bold"] } -"ui.statusline.select" = { fg = "bg0", bg = "blue", modifiers = ["bold"] } -"ui.bufferline" = { fg = "grey0", bg = "bg1" } -"ui.bufferline.active" = { fg = "fg", bg = "bg3", modifiers = ["bold"] } -"ui.popup" = { fg = "grey2", bg = "bg2" } -"ui.window" = { fg = "grey0", bg = "bg0" } -"ui.help" = { fg = "fg", bg = "bg2" } -"ui.text" = "fg" -"ui.text.focus" = "fg" -"ui.menu" = { fg = "fg", bg = "bg3" } -"ui.menu.selected" = { fg = "bg0", bg = "green" } -"ui.virtual.whitespace" = { fg = "bg4" } -"ui.virtual.indent-guide" = { fg = "bg4" } -"ui.virtual.ruler" = { bg = "bg3" } - -"hint" = "blue" -"info" = "aqua" -"warning" = "yellow" -"error" = "red" -"diagnostic" = { underline = { style = "curl" } } -"diagnostic.hint" = { underline = { color = "blue", style = "dotted" } } -"diagnostic.info" = { underline = { color = "aqua", style = "dotted" } } -"diagnostic.warning" = { underline = { color = "yellow", style = "curl" } } -"diagnostic.error" = { underline = { color = "red", style = "curl" } } - -[palette] -