summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Le Rouzic <steven.lerouzic@gmail.com>2024-04-18 19:55:42 +0200
committerSteven Le Rouzic <steven.lerouzic@gmail.com>2024-04-18 19:55:42 +0200
commit2427a4feb6848b5087595390554e254f891080b9 (patch)
treec178eadd86a51ec2770e57a4b2eed574be41791c
parent196716e96f41fa8ac63be957286824f1291e109b (diff)
zefzefzfe
-rw-r--r--config.toml19
-rw-r--r--languages.toml8
2 files changed, 16 insertions, 11 deletions
diff --git a/config.toml b/config.toml
index d61059e..3fddad5 100644
--- a/config.toml
+++ b/config.toml
@@ -3,20 +3,25 @@ theme = "dark_plus"
[editor]
auto-completion = false
auto-format = false
-preview-completion-insert = false
-rulers = [80, 120]
+completion-replace = true
+rulers = [80]
color-modes = true
auto-pairs = false
-[editor.cursor-shape]
-insert = "bar"
-
[editor.statusline]
-left = ["mode", "spinner", "file-name", "read-only-indicator", "file-modification-indicator", "version-control"]
-right = ["diagnostics", "file-type", "file-line-ending", "file-encoding"]
+left = ["mode", "file-name", "read-only-indicator", "file-modification-indicator", "version-control"]
+right = ["diagnostics", "file-type", "file-line-ending", "spinner"]
mode.normal = "NORMAL"
mode.insert = "INSERT"
mode.select = "SELECT"
+[editor.lsp]
+auto-signature-help = true
+display-signature-help-docs = true
+snippets = false
+
+[editor.cursor-shape]
+insert = "bar"
+
[editor.indent-guides]
render = true
diff --git a/languages.toml b/languages.toml
index 1a1e5c7..c3bb1de 100644
--- a/languages.toml
+++ b/languages.toml
@@ -1,7 +1,7 @@
-[[languages]]
+[[language]]
name = "c"
-indent = { tab-width = 4, unit = " " }
+indent = { unit = " ", tab-width = 4 }
-[[languages]]
+[[language]]
name = "cpp"
-indent = { tab-width = 4, unit = " " }
+indent = { unit = " ", tab-width = 4 }