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
In #130 was implemented creating files when they don't exist. Since some time it doesn't work anymore. I think that the feature was accidentally removed during some refactor.
Neovim version
NVIM v0.7.2
Build type: Release
LuaJIT 2.1.0-beta3
Compiled by builduser
Features: +acl +iconv +tui
See ":help feature-compile"
system vimrc file: "$VIM/sysinit.vim"
fall-back for $VIM: "/usr/share/nvim"
Run :checkhealth for more info
Operating system and version
Arch Linux
Steps to reproduce
Open file browser
Type a file name that does not exist
Expected behavior
File gets created and opened
Actual behavior
Nothing happens
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-file-browser.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('file_browser')
-- 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:
Furthermore, this commit reflects a breaking change. The input callback to create a file or folder via the prompt if no result is shown is now superseded by the fb_actions.create_from_prompt mapped by default to Shift-CR (works if your terminal recognizes this, otherwise please remap).
The reason is that there should be one straightforward approach to do something for simplicity and cohesiveness. That way if the file you create for some reason fuzzily matches something else still can be created.
That said, Shift-CR should work on all terminal emulators; otherwise you are probably already missing out on a lot of additional keys that can be mapped.
Anyways,the original issue is answered again, so closing.
Description
In #130 was implemented creating files when they don't exist. Since some time it doesn't work anymore. I think that the feature was accidentally removed during some refactor.
Neovim version
Operating system and version
Arch Linux
Steps to reproduce
Expected behavior
File gets created and opened
Actual behavior
Nothing happens
Minimal config
The text was updated successfully, but these errors were encountered: