[editor]
leader = " "
tab_width = 4
expandtab = true
huge_file_threshold = 50000
mouse = true
[theme]
name = "dark"
[lsp]
enabled = false
[lsp.servers.rust]
command = "rust-analyzer"
root_markers = ["Cargo.toml", ".git"]
[lsp.servers.typescript]
command = "typescript-language-server"
args = ["--stdio"]
root_markers = ["package.json", "tsconfig.json", ".git"]
[lsp.servers.javascript]
command = "typescript-language-server"
args = ["--stdio"]
root_markers = ["package.json", "jsconfig.json", ".git"]
[lsp.servers.python]
command = "pyright-langserver"
args = ["--stdio"]
root_markers = ["pyproject.toml", "setup.py", "setup.cfg", "Pipfile", ".git"]
[lsp.servers.go]
command = "gopls"
root_markers = ["go.mod", ".git"]
[lsp.servers.c]
command = "clangd"
root_markers = ["compile_commands.json", ".clangd", ".git"]
[lsp.servers.cpp]
command = "clangd"
root_markers = ["compile_commands.json", ".clangd", ".git"]
[lsp.servers.lua]
command = "lua-language-server"
root_markers = [".luarc.json", ".luarc.jsonc", ".git"]
[lsp.servers.toml]
command = "taplo"
args = ["lsp", "stdio"]
root_markers = [".taplo.toml", "taplo.toml", ".git"]
[lsp.servers.json]
command = "vscode-json-language-server"
args = ["--stdio"]
root_markers = [".git"]
[lsp.servers.markdown]
command = "marksman"
args = ["server"]
root_markers = [".marksman.toml", ".git"]