diff options
-rw-r--r-- | neovim/.config/nvim/lua/dyamon/zettel.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/neovim/.config/nvim/lua/dyamon/zettel.lua b/neovim/.config/nvim/lua/dyamon/zettel.lua index 7a10da5..ee7b8a9 100644 --- a/neovim/.config/nvim/lua/dyamon/zettel.lua +++ b/neovim/.config/nvim/lua/dyamon/zettel.lua | |||
@@ -179,8 +179,7 @@ function zettel.live_grep(mappings) | |||
179 | -- Search in zettelkasten | 179 | -- Search in zettelkasten |
180 | cwd = base, | 180 | cwd = base, |
181 | -- Do not search recursively | 181 | -- Do not search recursively |
182 | -- Note that this assumes `rg` is available in the system | 182 | glob_pattern = '/*.md', |
183 | find_command = { 'rg', '--files', '--glob', '/*.md' }, | ||
184 | -- Additional mappings | 183 | -- Additional mappings |
185 | attach_mappings = function(prompt_bufnr, map) | 184 | attach_mappings = function(prompt_bufnr, map) |
186 | map('i', '<C-y>', yank_and_insert(false)) | 185 | map('i', '<C-y>', yank_and_insert(false)) |