Improve the configs

Signed-off-by: Avinal Kumar <avinal.xlvii@gmail.com>
This commit is contained in:
2026-05-10 15:18:38 +05:30
parent c87e2e3c9e
commit 767697af72
8 changed files with 55 additions and 16 deletions
+20 -4
View File
@@ -1,6 +1,7 @@
theme = "space_carbon"
[editor]
rainbow-brackets = true
rulers = [80, 100]
mouse = true
cursorline = true
@@ -8,15 +9,17 @@ continue-comments = true
bufferline = "multiple"
color-modes = true
end-of-line-diagnostics = "hint"
popup-border = "popup"
scrolloff = 2
popup-border = "all"
scrolloff = 5
text-width = 100
trim-trailing-whitespace = true
[editor.soft-wrap]
enable = true
[editor.lsp]
display-messages = true
#display-inlay-hints = true
display-inlay-hints = true
[editor.cursor-shape]
insert = "underline"
@@ -26,9 +29,22 @@ select = "bar"
hidden = false
ignore = true
[editor.search]
smart-case = true
wrap-around = true
[editor.smart-tab]
enable = true
[editor.auto-save]
focus-lost = true
[editor.whitespace]
render = "none"
render = "all"
[editor.whitespace.characters]
tab = ">"
space = " "
newline = " "
[editor.indent-guides]
render = true
+1 -1
View File
@@ -24,7 +24,7 @@ file-types = ["c", "h"]
formatter = { command = 'clang-format' }
auto-format = false
language-servers = ["clangd", "wakatime"]
indent = { tab-width = 4, unit = " " }
indent = { tab-width = 8, unit = "\t" }
[[language]]
name = "cpp"
+10
View File
@@ -28,6 +28,12 @@
"ui.linenr" = { fg = "fg4" }
"ui.linenr.selected" = { fg = "yellow", modifiers = ["bold"] }
# ── UI: Diff Gutter ─────────────────────────────────────────────────
"ui.gutter.diff.added" = { fg = "green" }
"ui.gutter.diff.modified" = { fg = "blue" }
"ui.gutter.diff.removed" = { fg = "red" }
# ── UI: Statusline ───────────────────────────────────────────────────
"ui.statusline" = { fg = "fg1", bg = "bg2" }
@@ -250,6 +256,10 @@
"diff.delta.moved" = { fg = "magenta" }
"diff.delta.conflict" = { fg = "yellow" }
# ── Rainbow Brackets ────────────────────────────────────────────────
rainbow = ["yellow", "magenta", "cyan", "blue", "orange", "green", "pink"]
# ── Palette ──────────────────────────────────────────────────────────
[palette]