From 4023c888138f05a1d7829605b7b884144fece662 Mon Sep 17 00:00:00 2001 From: dacctal Date: Tue, 5 May 2026 22:17:34 +0000 Subject: updated config for modal --- .config/vis/plugins/vis-lspc/supported-servers.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to '.config/vis/plugins/vis-lspc') 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 -- cgit v1.2.3