You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
E5108: Error executing lua ...args.nvim/lua/telescope-live-grep-args/prompt_parser.lua:139: attempt to concatenate local 'frag' (a nil value)
stack traceback:
...args.nvim/lua/telescope-live-grep-args/prompt_parser.lua:139: in function 'parse'
[string ":lua"]:1: in main chunk
E5108: Error executing lua ...args.nvim/lua/telescope-live-grep-args/prompt_parser.lua:139: attempt to concatenate local 'frag' (a nil value)
stack traceback:
...args.nvim/lua/telescope-live-grep-args/prompt_parser.lua:139: in function 'parse'
[string ":lua"]:1: in main chunk
Expected behavior
search for prompt_end_with_quote"
Actual behavior
get error
Minimal config
vim.cmd[[set runtimepath=$VIMRUNTIME]]vim.cmd[[set packpath=/tmp/nvim/site]]localpackage_root='/tmp/nvim/site/pack'localinstall_path=package_root..'/packer/start/packer.nvim'localfunctionload_plugins()
require('packer').startup {
{
'wbthomason/packer.nvim',
{
'nvim-telescope/telescope.nvim',
requires= {
'nvim-lua/plenary.nvim',
{ 'nvim-telescope/telescope-fzf-native.nvim', run='make', },
{ 'nvim-telescope/telescope-live-grep-args.nvim', },
},
},
-- ADD PLUGINS THAT ARE _NECESSARY_ FOR REPRODUCING THE ISSUE
},
config= {
package_root=package_root,
compile_path=install_path..'/plugin/packer_compiled.lua',
display= { non_interactive=true },
},
}
end_G.load_config=function()
require('telescope').setup()
require('telescope').load_extension('fzf')
require('telescope').load_extension('live_grep_args')
-- ADD INIT.LUA SETTINGS THAT ARE _NECESSARY_ FOR REPRODUCING THE ISSUEendifvim.fn.isdirectory(install_path) ==0thenprint("Installing Telescope and dependencies.")
vim.fn.system { 'git', 'clone', '--depth=1', 'https://github.com/wbthomason/packer.nvim', install_path }
endload_plugins()
require('packer').sync()
vim.cmd[[autocmd User PackerComplete ++once echo "Ready!" | lua load_config()]]
The text was updated successfully, but these errors were encountered:
Description
:lua vim.print(require("telescope-live-grep-args.prompt_parser").parse('-arg prompt_end_with_quote"'))
Neovim version
Operating system and version
Windows 11
Telescope version / branch / rev
0.1.4
Telescope live grep args version / branch / rev
master
checkhealth telescope
Steps to reproduce
:lua vim.print(require("telescope-live-grep-args.prompt_parser").parse('-arg prompt_end_with_quote"'))
Expected behavior
search for
prompt_end_with_quote"
Actual behavior
get error
Minimal config
The text was updated successfully, but these errors were encountered: