Skip to content

Commit

Permalink
fix(nvim): Don't require text after space when filtering with telesco…
Browse files Browse the repository at this point in the history
…pe.nvim
  • Loading branch information
mrjones2014 committed Oct 16, 2023
1 parent ce7e7a9 commit d392d22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nvim/lua/my/configure/telescope.lua
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ return {
end

local function parse_prompt(prompt)
local first_word, rest = prompt:match('^%s*@(%S+)%s*(.+)$')
local first_word, rest = prompt:match('^%s*@(%S+)%s*(.*)$')
if first_word == nil then
return { prompt = prompt, filetype = nil }
end
Expand Down

0 comments on commit d392d22

Please sign in to comment.