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
i use default configuration about oldfiles picker.
my nvim configuration path is C:/Users/User/.config/nvim.
and %home% environment variable is C:/spb_data
if i call oldfiles picker in c:/Users/User, and pick a configuration file is opened well.
if i call oldfiles picker in c:/Users/User/.config/nvim/plugin/lsp and select the oldfile test.lua in parent directory of it like /plugins,
empty file open has %home%/.config/nvim/plugin/test.lua
although the absolute path of test.lua is shown with c:/Users/User/.config/nvim/plugin/test.lua
Does not oldfile picker open parent file?
additionally, sometimes duplicated oldfiles are listed in picker like
c:\Users\User.config/nvim/init.lua
c:\Users\User.config\nvim\init.lua
is this bug?
Neovim version
nvim-qt 0.2.18
Operating system and version
windows 10
Telescope version / branch / rev
recently
checkhealth telescope
ok all
Steps to reproduce
open oldfiles picker
select parent dir file
Expected behavior
No response
Actual behavior
open empty file
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' },
},
},
-- 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')
-- 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
I cannot find any case like me
i use default configuration about oldfiles picker.
my nvim configuration path is C:/Users/User/.config/nvim.
and %home% environment variable is C:/spb_data
if i call oldfiles picker in c:/Users/User, and pick a configuration file is opened well.
if i call oldfiles picker in c:/Users/User/.config/nvim/plugin/lsp and select the oldfile test.lua in parent directory of it like /plugins,
empty file open has %home%/.config/nvim/plugin/test.lua
although the absolute path of test.lua is shown with c:/Users/User/.config/nvim/plugin/test.lua
Does not oldfile picker open parent file?
additionally, sometimes duplicated oldfiles are listed in picker like
c:\Users\User.config/nvim/init.lua
c:\Users\User.config\nvim\init.lua
is this bug?
Neovim version
Operating system and version
windows 10
Telescope version / branch / rev
recently
checkhealth telescope
Steps to reproduce
Expected behavior
No response
Actual behavior
open empty file
Minimal config
The text was updated successfully, but these errors were encountered: