From b119bed9994cad430baded434de26ce1c2cb6e47 Mon Sep 17 00:00:00 2001 From: pml68 Date: Sat, 5 Apr 2025 11:18:10 +0200 Subject: refactor: just some generic stuff --- lua/pml68/plugins/treesitter.lua | 1 + lua/pml68/remap.lua | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'lua') 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', '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" }) -- cgit v1.2.3