2024-05-15 11:49:47 +02:00
|
|
|
theme = "everforest_dark"
|
2024-01-02 00:05:49 +01:00
|
|
|
|
|
|
|
[editor]
|
2024-01-02 22:09:54 +01:00
|
|
|
cursorline = true
|
2024-05-15 11:49:47 +02:00
|
|
|
bufferline = "multiple"
|
|
|
|
|
|
|
|
[editor.statusline]
|
|
|
|
left = ["mode", "file-name", "spinner"]
|
|
|
|
center = ["diagnostics"]
|
|
|
|
right = ["selections", "primary-selection-length", "file-type", "file-encoding", "position-percentage", "position"]
|
2024-01-02 00:05:49 +01:00
|
|
|
|
|
|
|
[editor.cursor-shape]
|
|
|
|
insert = "bar"
|
|
|
|
normal = "block"
|
|
|
|
select = "underline"
|
|
|
|
|
|
|
|
[editor.indent-guides]
|
|
|
|
render = true
|
2024-01-02 21:45:04 +01:00
|
|
|
character = "▏" # Some characters that work well: "▏", "┆", "┊", "⸽"
|
|
|
|
skip-levels = 1
|
|
|
|
|
2024-06-23 14:02:10 +02:00
|
|
|
[editor.whitespace.render]
|
|
|
|
space = "all"
|
|
|
|
tab = "all"
|
|
|
|
nbsp = "all"
|
|
|
|
nnbsp = "all"
|
|
|
|
newline = "all"
|
2024-01-02 21:45:04 +01:00
|
|
|
|
|
|
|
[editor.whitespace.characters]
|
|
|
|
space = "·"
|
|
|
|
nbsp = "⍽"
|
2024-06-23 14:02:10 +02:00
|
|
|
nnbsp = "␣"
|
|
|
|
tab = "⇥" # "→"
|
|
|
|
newline = "⮒" # "¬" #"⏎"
|
|
|
|
tabpad = "·" # Tabs will look like "→···" (depending on tab width)
|
2024-01-02 00:05:49 +01:00
|
|
|
|
|
|
|
[editor.lsp]
|
2024-01-02 21:45:04 +01:00
|
|
|
enable = true
|
2024-01-02 00:05:49 +01:00
|
|
|
display-messages = true
|
2024-01-02 21:45:04 +01:00
|
|
|
auto-signature-help = true
|
|
|
|
display-signature-help-docs = true
|
|
|
|
display-inlay-hints = true
|
|
|
|
snippets = true
|
2024-01-02 00:05:49 +01:00
|
|
|
|
2024-01-02 21:45:04 +01:00
|
|
|
[editor.soft-wrap]
|
|
|
|
enable = true
|
|
|
|
max-wrap = 20
|
|
|
|
max-indent-retain = 40
|
|
|
|
wrap-indicator = "↪"
|
|
|
|
wrap-at-text-width = false
|
2024-01-02 00:05:49 +01:00
|
|
|
|
|
|
|
[keys.normal]
|
2024-05-15 11:49:47 +02:00
|
|
|
X = "extend_line_above"
|
2024-01-02 21:45:04 +01:00
|
|
|
D = "delete_char_backward"
|
|
|
|
q = "move_prev_word_start"
|
|
|
|
Q = "move_prev_long_word_start"
|
2024-01-02 00:05:49 +01:00
|
|
|
|
|
|
|
[keys.select]
|
2024-01-02 21:45:04 +01:00
|
|
|
q = "extend_prev_word_start"
|
|
|
|
Q = "extend_prev_long_word_start"
|