From 1800e5d2e1a8f7969890bc73d8d624c06e310938 Mon Sep 17 00:00:00 2001 From: Andy Teijelo Date: Fri, 9 Jun 2023 11:20:30 -0400 Subject: [PATCH] Fix indent, remove yaml key order warning --- lua/config/options.lua | 4 ++-- lua/plugins/lsp.lua | 9 +++++++++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/lua/config/options.lua b/lua/config/options.lua index b4e1e9e..e2907c8 100644 --- a/lua/config/options.lua +++ b/lua/config/options.lua @@ -4,8 +4,8 @@ vim.opt.relativenumber = false vim.opt.conceallevel = 0 --- vim.opt.completeopt = { "menuone", "noselect" } vim.opt.timeoutlen = 1000 vim.opt.list = false vim.opt.pumblend = 0 --- vim.opt.cmdheight = 1 +vim.opt.tabstop = 4 +vim.opt.shiftwidth = 4 diff --git a/lua/plugins/lsp.lua b/lua/plugins/lsp.lua index 86230b7..3bd89d2 100644 --- a/lua/plugins/lsp.lua +++ b/lua/plugins/lsp.lua @@ -12,6 +12,15 @@ return { end, opts = { autoformat = false, + servers = { + yamlls = { + settings = { + yaml = { + keyOrdering = false, + }, + }, + }, + }, }, }, }