Open ray-x opened 3 years ago
Here is my config
snap.run { prompt = " Grep ", producer = limit(1000, snap.get'producer.ripgrep.vimgrep'.args({'--ignore-case'})), steps = {{consumer = snap.get 'consumer.fzf', config = {prompt = " Fzf "}}}, select = snap.get'select.file'.select, multiselect = snap.get'select.file'.multiselect, views = {snap.get 'preview.vimgrep'} }
If I search for something and open the target. The file could not be open. The reason is the URL is incorrect.
It trying to open file with this URL. e.g. ~/github/dotfiles/nvim/init.lua:129:12 local lib = require'core.lib'
~/github/dotfiles/nvim/init.lua:129:12 local lib = require'core.lib'
Instead, it should open ~/github/dotfiles/nvim/init.lua. (without :129:12 ...)
~/github/dotfiles/nvim/init.lua
Here is my config
If I search for something and open the target. The file could not be open. The reason is the URL is incorrect.
It trying to open file with this URL. e.g.
~/github/dotfiles/nvim/init.lua:129:12 local lib = require'core.lib'
Instead, it should open
~/github/dotfiles/nvim/init.lua
. (without :129:12 ...)