diff options
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 |
