diff options
| author | Michiel van den Heuvel <michielvdnheuvel@gmail.com> | 2023-06-24 19:46:03 +0200 |
|---|---|---|
| committer | Michiel van den Heuvel <michielvdnheuvel@gmail.com> | 2023-06-29 15:13:31 +0200 |
| commit | 336cf3083232e824c8990834b56c6a1068b5a631 (patch) | |
| tree | 1fb4ae7b34bbc1c31306488f87103b72d40bb8e8 /supported-servers.lua | |
| parent | e83950a7149f364b653395cdd4d9446875a7f469 (diff) | |
| download | vis-lspc-336cf3083232e824c8990834b56c6a1068b5a631.tar.gz vis-lspc-336cf3083232e824c8990834b56c6a1068b5a631.zip | |
Make formatting options sort of configurable
This should be wired up to code that's in a pull request in the vis
repository for the default options. This PR does not yet expose
`expandtab`.
Referenced PR: https://github.com/martanne/vis/pull/717
Diffstat (limited to 'supported-servers.lua')
| -rw-r--r-- | supported-servers.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/supported-servers.lua b/supported-servers.lua index 62583b9..eaaa855 100644 --- a/supported-servers.lua +++ b/supported-servers.lua @@ -40,6 +40,7 @@ return { settings = { Lua = {diagnostics = {globals = {'vis'}}, telemetry = {enable = false}}, }, + formatting_options = {tabSize = 2, insertSpaces = true}, }, -- typescript (typescript-language-server) language server configuration -- https://github.com/typescript-language-server/typescript-language-server |
