Skip to content

Commit

Permalink
feat: yamlls
Browse files Browse the repository at this point in the history
  • Loading branch information
snelling-a committed May 5, 2023
1 parent da51188 commit c2382cd
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions lua/config/lsp/server/yamlls.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
local settings = {
yaml = {
schemas = require("schemastore").yaml.schemas(),
},
}

local M = {}

function M.setup(opts)
opts.settings = settings

require("lspconfig").yamlls.setup(opts)
end

return M

0 comments on commit c2382cd

Please sign in to comment.