LunarVim/ftplugin/yaml.lua

7 lines
250 B
Lua
Raw Normal View History

-- npm install -g yaml-language-server
require'lspconfig'.yamlls.setup{
2021-03-26 00:58:40 +01:00
cmd = {DATA_PATH .. "/lspinstall/yaml/node_modules/.bin/yaml-language-server", "--stdio"},
on_attach = require'lsp'.common_on_attach,
}
2021-07-02 05:42:26 +02:00
vim.cmd("setl ts=2 sw=2 ts=2 ai et")