chore(fmt): format using stylua

Also fixed something in .stylua.toml that may cause stylua to fail, by
the way
This commit is contained in:
27Onion Nebell
2025-04-14 22:39:13 +08:00
parent fc526beb6f
commit 7d2387dc12
7 changed files with 23 additions and 12 deletions

View File

@@ -10,7 +10,9 @@ local M = {
---@param bufnr integer
function M.clear_all_ns(bufnr)
if vim.api.nvim_buf_is_valid(bufnr) then
pcall(function() vim.api.nvim_buf_clear_namespace(bufnr, -1, 0, -1) end)
pcall(function()
vim.api.nvim_buf_clear_namespace(bufnr, -1, 0, -1)
end)
end
end