diff options
| author | dacctal <dacctal@symlinx.net> | 2026-05-05 22:17:34 +0000 |
|---|---|---|
| committer | dacctal <dacctal@symlinx.net> | 2026-05-05 22:17:34 +0000 |
| commit | 4023c888138f05a1d7829605b7b884144fece662 (patch) | |
| tree | e1610c887a9700643a61c9ea8b1d248cd9d7dbfd /.config/vis/plugins/vis-lspc | |
| parent | d33d907f53c50d323eca75c4bfc02ab5b989b30a (diff) | |
updated config for modal
Diffstat (limited to '.config/vis/plugins/vis-lspc')
| -rw-r--r-- | .config/vis/plugins/vis-lspc/supported-servers.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.config/vis/plugins/vis-lspc/supported-servers.lua b/.config/vis/plugins/vis-lspc/supported-servers.lua index 0cfe1fd..51595a6 100644 --- a/.config/vis/plugins/vis-lspc/supported-servers.lua +++ b/.config/vis/plugins/vis-lspc/supported-servers.lua @@ -23,7 +23,8 @@ local lspc = dofile(source_path .. 'lspc.lua') local clangd = { name = 'clangd', cmd = 'clangd', - roots = {'compile_commands.json', '.clangd'}, + roots = {'compile_commands.json', '.clangd', '.clang-format'}, + formatting_options = {tabSize = 2, insertSpaces = false}, } local typescript = { name = 'typescript', @@ -50,6 +51,7 @@ return { settings = { Lua = {diagnostics = {globals = {'vis'}}, telemetry = {enable = false}}, }, + formatting_options = {tabSize = 2, insertSpaces = false}, }, -- typescript (typescript-language-server) language server configuration -- https://github.com/typescript-language-server/typescript-language-server |
