mirror of
https://github.com/folke/snacks.nvim
synced 2025-08-03 18:28:38 +00:00
chore(build): auto-generate docs
This commit is contained in:
parent
08852ac7f8
commit
b72364f916
1 changed files with 3 additions and 1 deletions
|
@ -46,7 +46,9 @@ The default implementation enables `syntax` for the buffer and disables
|
|||
Snacks.util.wo(0, { foldmethod = "manual", statuscolumn = "", conceallevel = 0 })
|
||||
vim.b.minianimate_disable = true
|
||||
vim.schedule(function()
|
||||
vim.bo[ctx.buf].syntax = ctx.ft
|
||||
if vim.api.nvim_buf_is_valid(ctx.buf) then
|
||||
vim.bo[ctx.buf].syntax = ctx.ft
|
||||
end
|
||||
end)
|
||||
end,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue