Skip to content

Commit 24fea22

Browse files
committed
Remove space from tail of file insertion
1 parent 8b36052 commit 24fea22

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/nvim/lua/plugin_config/snacks_picker.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ vim.keymap.set({ 'n', 'i' }, '<C-f>', function()
7777
vim.api.nvim_win_set_cursor(0, cursor_pos)
7878

7979
local filepath = vim.fn.getreg('"'):gsub("^%s*(.-)%s*$", "%1")
80-
local formatted_filepath = " @file:" .. filepath .. " "
80+
local formatted_filepath = " @file:" .. filepath
8181
vim.api.nvim_feedkeys('a' .. formatted_filepath, 'n', false)
8282
end
8383
},

0 commit comments

Comments
 (0)