fix: formatting

This commit is contained in:
Devin Haska 2024-06-05 12:59:50 -07:00
parent c6affee6c1
commit eebbb6c4b7
No known key found for this signature in database
12 changed files with 642 additions and 640 deletions

View file

@ -1,12 +1,12 @@
local function augroup(name)
return vim.api.nvim_create_augroup("wf_" .. name, { clear = true })
return vim.api.nvim_create_augroup("wf_" .. name, { clear = true })
end
vim.api.nvim_create_autocmd({ "FileType" }, {
group = augroup("spellcheck"),
pattern = { "gitcommit", "markdown", "md", "mdx" },
callback = function()
vim.opt_local.spell = true
vim.opt_local.wrap = true
end,
group = augroup("spellcheck"),
pattern = { "gitcommit", "markdown", "md", "mdx" },
callback = function()
vim.opt_local.spell = true
vim.opt_local.wrap = true
end,
})