chore: stylua
This commit is contained in:
@@ -8,9 +8,13 @@ function M.nmap(bufnr, keys, action)
|
||||
keys = { keys }
|
||||
end
|
||||
|
||||
|
||||
for _, lhs in ipairs(keys) do
|
||||
vim.keymap.set('n', lhs, action, { silent = true, noremap = true, buffer = bufnr })
|
||||
vim.keymap.set(
|
||||
'n',
|
||||
lhs,
|
||||
action,
|
||||
{ silent = true, noremap = true, buffer = bufnr }
|
||||
)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
@@ -17,7 +17,12 @@ local function mk_handler(fn)
|
||||
local client_id = select(4, ...)
|
||||
local bufnr = select(5, ...)
|
||||
local config = select(6, ...)
|
||||
fn(err, result, { method = method, client_id = client_id, bufnr = bufnr }, config)
|
||||
fn(
|
||||
err,
|
||||
result,
|
||||
{ method = method, client_id = client_id, bufnr = bufnr },
|
||||
config
|
||||
)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user