Initial commit

This commit is contained in:
Ben Shiller 2025-01-28 22:59:56 -06:00
commit 3de3192626
Signed by: shillerben
GPG Key ID: 7B4602B1FBF82986
2 changed files with 78 additions and 0 deletions

52
config.toml Normal file
View File

@ -0,0 +1,52 @@
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

26
languages.toml Normal file
View File

@ -0,0 +1,26 @@
[python]
name = "python"
file-types = ["py"]
comment-tokens = "#"
indent = { tab-width = 4, unit = " "}
language-servers = ["pylsp", "python-ruff"]
roots = ["setup.py", "pyproject.toml"]
[pylsp]
command = "pylsp"
[python-ruff]
command = "ruff"
args = ["server"]
[go]
name = "go"
file-types = ["go"]
comment-tokens = "//"
indent = { tab-width = 4, unit = "\t"}
language-servers = ["gopls"]
roots = ["go.mod"]
[gopls]
command = "gopls"