summaryrefslogtreecommitdiff
path: root/ftplugin/yaml.lua
diff options
context:
space:
mode:
authorRafael <[email protected]>2021-07-04 22:14:01 -0300
committerRafael <[email protected]>2021-07-04 22:14:01 -0300
commit9f511bcb594b7e2461c97cb8182603928c773c2f (patch)
treec08a825ae91201fb0062dbd7a8094357f5c78dc9 /ftplugin/yaml.lua
parentb461c878e6f70a6795d0e9b438335ccfecbb4bd9 (diff)
start formatting rules
Diffstat (limited to 'ftplugin/yaml.lua')
-rw-r--r--ftplugin/yaml.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/ftplugin/yaml.lua b/ftplugin/yaml.lua
index 7b6f9a25..e2847365 100644
--- a/ftplugin/yaml.lua
+++ b/ftplugin/yaml.lua
@@ -1,6 +1,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,
+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")
+vim.cmd "setl ts=2 sw=2 ts=2 ai et"