diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2024-01-07 01:28:22 +0100 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2024-01-07 01:28:22 +0100 |
commit | 81b0fdd14fab1dfdd5b43fd5dc520709800d78a0 (patch) | |
tree | f4a7b8b050c4ed359133ac183053194c0773d96d /fnl/plugins/lsp/servers.fnl | |
parent | f005ce541335fb936a85e9997513e94067ef07ae (diff) |
Refactor lspconfig
Diffstat (limited to 'fnl/plugins/lsp/servers.fnl')
-rw-r--r-- | fnl/plugins/lsp/servers.fnl | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/fnl/plugins/lsp/servers.fnl b/fnl/plugins/lsp/servers.fnl index d5a47fb..ab8cad6 100644 --- a/fnl/plugins/lsp/servers.fnl +++ b/fnl/plugins/lsp/servers.fnl @@ -8,7 +8,8 @@ :html {} :jsonls {:init_options {:providerFormatter false} :settings {:json {:schemas (let [schemastore (require :schemastore)] - (schemastore.json.schemas))}} + (schemastore.json.schemas)) + :validate {:enable true}}} :setup {:commands {:Format [(fn [] (vim.lsp.buf.range_formatting [] [0 0] [(vim.fn.line "$" @@ -24,4 +25,6 @@ :taplo {} :texlab {} :vale_ls {:filetypes [:markdown :text :org]} - :yamlls {}} + :yamlls {:settings {:yaml {:schemastore {:enable false :url ""} + :schemas (let [schemastore (require :schemastore)] + (schemastore.yaml.schemas))}}}} |