diff --git a/lua/yaml-companion/lsp/requests.lua b/lua/yaml-companion/lsp/requests.lua index 54ecd5e..d620c4b 100644 --- a/lua/yaml-companion/lsp/requests.lua +++ b/lua/yaml-companion/lsp/requests.lua @@ -4,10 +4,9 @@ local lsp = vim.lsp local sync_timeout = 1000 local function get_yamlls_client(bufnr) - local clients = vim.tbl_filter( - function(c) return c.name == "yamlls" end, - lsp.buf_get_clients(bufnr) - ) + local clients = vim.tbl_filter(function(c) + return c.name == "yamlls" + end, lsp.buf_get_clients(bufnr)) if #clients > 0 then return clients[1] end