mirror of
https://github.com/avinal/dotfiles.git
synced 2026-07-03 23:20:07 +05:30
Improve the configs
Signed-off-by: Avinal Kumar <avinal.xlvii@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user