Skip to content

Commit

Permalink
Format code
Browse files Browse the repository at this point in the history
  • Loading branch information
someone-stole-my-name committed Sep 6, 2022
1 parent d1e7063 commit 298bbcd
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions lua/yaml-companion/lsp/requests.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 298bbcd

Please sign in to comment.