From 290ddbf5a84808c2f006a98eff7e61c77b60ad44 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Sun, 15 Sep 2024 22:14:38 +0200 Subject: [PATCH] nvim: Format lua files --- nvim/.config/nvim/lua/core/commands.lua | 4 +++- nvim/.config/nvim/lua/plugins/completion.lua | 2 +- nvim/.config/nvim/lua/plugins/testing.lua | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/nvim/.config/nvim/lua/core/commands.lua b/nvim/.config/nvim/lua/core/commands.lua index 289cd36..d000d38 100644 --- a/nvim/.config/nvim/lua/core/commands.lua +++ b/nvim/.config/nvim/lua/core/commands.lua @@ -5,7 +5,8 @@ vim.api.nvim_create_autocmd({ "TextYankPost" }, { 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" }, { pattern = { "/dev/shm/gopass.*", @@ -41,3 +42,4 @@ vim.api.nvim_create_user_command("SpellToggle", function(opt) vim.notify("Spellcheck disabled") end end, { nargs = "*", bang = true }) + diff --git a/nvim/.config/nvim/lua/plugins/completion.lua b/nvim/.config/nvim/lua/plugins/completion.lua index aaf31fc..6d38c40 100644 --- a/nvim/.config/nvim/lua/plugins/completion.lua +++ b/nvim/.config/nvim/lua/plugins/completion.lua @@ -266,5 +266,5 @@ return { completion_engine, snippet_engine, beancount_cmp, - latex_cmp + latex_cmp, } diff --git a/nvim/.config/nvim/lua/plugins/testing.lua b/nvim/.config/nvim/lua/plugins/testing.lua index 208fc6c..4da2e00 100644 --- a/nvim/.config/nvim/lua/plugins/testing.lua +++ b/nvim/.config/nvim/lua/plugins/testing.lua @@ -37,7 +37,7 @@ return { adapters = { require("neotest-python")({ -- with coverage requires coverage.py and pytest-cov installed - args = { "--cov" }, + args = { "--cov", "--doctest-modules" }, }), }, })