nvim: Format lua files

This commit is contained in:
Marty Oehme 2024-09-15 22:14:38 +02:00
parent 2ac6842720
commit 290ddbf5a8
Signed by: Marty
GPG key ID: EDBF2ED917B2EF6A
3 changed files with 5 additions and 3 deletions

View file

@ -5,7 +5,8 @@ vim.api.nvim_create_autocmd({ "TextYankPost" }, {
group = vim.api.nvim_create_augroup("highlightyanks", { clear = true }), group = vim.api.nvim_create_augroup("highlightyanks", { clear = true }),
}) })
-- Special setting for editing gopass files - make sure nothing leaks outside the directories it is supposed to -- Special setting for editing gopass files - make sure nothing leaks outside the directories it
-- is supposed to
vim.api.nvim_create_autocmd({ "BufNewFile", "BufRead" }, { vim.api.nvim_create_autocmd({ "BufNewFile", "BufRead" }, {
pattern = { pattern = {
"/dev/shm/gopass.*", "/dev/shm/gopass.*",
@ -41,3 +42,4 @@ vim.api.nvim_create_user_command("SpellToggle", function(opt)
vim.notify("Spellcheck disabled") vim.notify("Spellcheck disabled")
end end
end, { nargs = "*", bang = true }) end, { nargs = "*", bang = true })

View file

@ -266,5 +266,5 @@ return {
completion_engine, completion_engine,
snippet_engine, snippet_engine,
beancount_cmp, beancount_cmp,
latex_cmp latex_cmp,
} }

View file

@ -37,7 +37,7 @@ return {
adapters = { adapters = {
require("neotest-python")({ require("neotest-python")({
-- with coverage requires coverage.py and pytest-cov installed -- with coverage requires coverage.py and pytest-cov installed
args = { "--cov" }, args = { "--cov", "--doctest-modules" },
}), }),
}, },
}) })