aboutsummaryrefslogtreecommitdiff
path: root/lua/pml68
diff options
context:
space:
mode:
authorpml68 <contact@pml68.dev>2025-04-05 11:18:10 +0200
committerpml68 <contact@pml68.dev>2025-04-05 11:18:10 +0200
commitb119bed9994cad430baded434de26ce1c2cb6e47 (patch)
tree617e2cad9246c9451509dd6aa6a56ad1d8d12194 /lua/pml68
parentrefactor: enhance some remaps [skip ci] (diff)
downloadnvim-b119bed9994cad430baded434de26ce1c2cb6e47.tar.gz
refactor: just some generic stuff
Diffstat (limited to 'lua/pml68')
-rw-r--r--lua/pml68/plugins/treesitter.lua1
-rw-r--r--lua/pml68/remap.lua2
2 files changed, 2 insertions, 1 deletions
diff --git a/lua/pml68/plugins/treesitter.lua b/lua/pml68/plugins/treesitter.lua
index 805246d..8454cb1 100644
--- a/lua/pml68/plugins/treesitter.lua
+++ b/lua/pml68/plugins/treesitter.lua
@@ -30,6 +30,7 @@ return {
"gitignore",
"gitattributes",
"gitcommit",
+ "git_config",
"go",
"gosum",
"gomod",
diff --git a/lua/pml68/remap.lua b/lua/pml68/remap.lua
index cc732c8..7f110ff 100644
--- a/lua/pml68/remap.lua
+++ b/lua/pml68/remap.lua
@@ -88,7 +88,7 @@ vim.keymap.set('n', '<leader>ft', function()
search_dirs = todo_files
})
else
- print("No 'TODO' strings or TODO.{txt,md} files found")
+ vim.api.nvim_echo({ { "Failed to find any to-dos", "WarningMsg" } }, true, {})
end
else
telescope.grep_string({ search = "TODO" })