nvim: Format lua files
This commit is contained in:
parent
2ac6842720
commit
290ddbf5a8
3 changed files with 5 additions and 3 deletions
|
@ -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 })
|
||||||
|
|
||||||
|
|
|
@ -266,5 +266,5 @@ return {
|
||||||
completion_engine,
|
completion_engine,
|
||||||
snippet_engine,
|
snippet_engine,
|
||||||
beancount_cmp,
|
beancount_cmp,
|
||||||
latex_cmp
|
latex_cmp,
|
||||||
}
|
}
|
||||||
|
|
|
@ -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" },
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue