summaryrefslogtreecommitdiff
path: root/ftplugin/yaml.lua
blob: e28473654023a8d2f9c17292d52d85e64444d277 (plain)
1
2
3
4
5
6
-- npm install -g yaml-language-server
require("lspconfig").yamlls.setup {
  cmd = { DATA_PATH .. "/lspinstall/yaml/node_modules/.bin/yaml-language-server", "--stdio" },
  on_attach = require("lsp").common_on_attach,
}
vim.cmd "setl ts=2 sw=2 ts=2 ai et"