summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Le Rouzic <slerouzic@siradel.com>2024-04-18 10:20:28 +0200
committerSteven Le Rouzic <slerouzic@siradel.com>2024-04-18 10:20:28 +0200
commit196716e96f41fa8ac63be957286824f1291e109b (patch)
tree97bf20a9314c646359a31c0d43f0053ef9555ae4
Initial commit
-rw-r--r--config.toml22
-rw-r--r--languages.toml7
2 files changed, 29 insertions, 0 deletions
diff --git a/config.toml b/config.toml
new file mode 100644
index 0000000..d61059e
--- /dev/null
+++ b/config.toml
@@ -0,0 +1,22 @@
+theme = "dark_plus"
+
+[editor]
+auto-completion = false
+auto-format = false
+preview-completion-insert = false
+rulers = [80, 120]
+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"]
+mode.normal = "NORMAL"
+mode.insert = "INSERT"
+mode.select = "SELECT"
+
+[editor.indent-guides]
+render = true
diff --git a/languages.toml b/languages.toml
new file mode 100644
index 0000000..1a1e5c7
--- /dev/null
+++ b/languages.toml
@@ -0,0 +1,7 @@
+[[languages]]
+name = "c"
+indent = { tab-width = 4, unit = " " }
+
+[[languages]]
+name = "cpp"
+indent = { tab-width = 4, unit = " " }