53 lines
1.2 KiB
TOML
53 lines
1.2 KiB
TOML
theme = "onedark"
|
|
|
|
[editor]
|
|
true-color = true
|
|
mouse = false
|
|
text-width = 120
|
|
#line-number = "relative"
|
|
end-of-line-diagnostics = "hint"
|
|
|
|
[editor.inline-diagnostics]
|
|
cursor-line = "warning" # show warnings and errors on the cursorline inline
|
|
|
|
[editor.cursor-shape]
|
|
insert = "bar"
|
|
#normal = "block"
|
|
#select = "underline"
|
|
|
|
[editor.statusline]
|
|
left = ["mode", "file-modification-indicator", "file-name", "read-only-indicator", "version-control"]
|
|
center = []
|
|
right = ["diagnostics", "selections", "position"]
|
|
#separator = "│"
|
|
mode.normal = "NORMAL"
|
|
mode.insert = "INSERT"
|
|
mode.select = "SELECT"
|
|
|
|
[editor.whitespace.render]
|
|
space = "none"
|
|
tab = "all"
|
|
nbsp = "all"
|
|
nnbsp = "all"
|
|
newline = "none"
|
|
|
|
[editor.whitespace.characters]
|
|
space = "·"
|
|
nbsp = "⍽"
|
|
nnbsp = "␣"
|
|
tab = "→"
|
|
newline = "⏎"
|
|
#tabpad = "·" # Tabs will look like "→···" (depending on tab width)
|
|
|
|
[editor.indent-guides]
|
|
render = true
|
|
character = "┆" # Some characters that work well: "▏", "╎", "┆", "┊", "⸽"
|
|
skip-levels = 1
|
|
|
|
[editor.soft-wrap]
|
|
enable = true
|
|
wrap-indicator = "" # set wrap-indicator to "" to hide it
|
|
#max-wrap = 25 # increase value to reduce forced mid-word wrapping
|
|
#max-indent-retain = 0
|
|
|