diff options
Diffstat (limited to '.config/helix')
| -rw-r--r-- | .config/helix/config.toml | 26 | ||||
| -rw-r--r-- | .config/helix/languages.toml | 14 |
2 files changed, 40 insertions, 0 deletions
diff --git a/.config/helix/config.toml b/.config/helix/config.toml new file mode 100644 index 0000000..fa19bb5 --- /dev/null +++ b/.config/helix/config.toml @@ -0,0 +1,26 @@ +[editor] +line-number = "relative" +end-of-line-diagnostics = "warning" + +[editor.statusline] +left = ["mode", "spinner", "diagnostics"] +center = ["file-name", "read-only-indicator", "file-modification-indicator"] +right = ["register", "position"] + +[editor.lsp] +display-messages = false +display-inlay-hints = true + +[editor.cursor-shape] +insert = "bar" +normal = "block" +select = "underline" + +[editor.file-picker] +hidden = false + +[editor.indent-guides] +render = true + +[editor.smart-tab] +enable = false diff --git a/.config/helix/languages.toml b/.config/helix/languages.toml new file mode 100644 index 0000000..d727f5f --- /dev/null +++ b/.config/helix/languages.toml @@ -0,0 +1,14 @@ +[[language]] +name = "rust" +indent = { tab-width=4, unit="\t" } +formatter = { command="rustfmt" } +[language-server.rust-analyzer.config] +check.command = "clippy" + +[[language]] +name = "python" +indent = { tab-width=8, unit="\t" } + +[[language]] +name = "markdown" +soft-wrap = { enable = true } |
