telescope-github.nvim
telescope-github.nvim copied to clipboard
Gist edit / delete working?
Description
I'm not able to make edit / delete work, list / create work.
Neovim version
NVIM v0.11.0
Build type: Release
LuaJIT 2.1.1741730670
Operating system and version
macOS 15.4.1
Steps to reproduce
- nvim -u minimal.lua
- run 'Telescope gh gist'
- try edit (it will accept the changes but it doesnt change)
- try delete (it doesnt work and sometimes get stuck)
Expected behavior
- Edit to make changes to the gist
- Delete to delete the gist
Actual behavior
Trying to edit it looks it worked but it doesnt change.
Trying to delete doesn't work and sometimes get stuck as follow (using minimal):
Minimal config
vim.cmd [[set runtimepath=$VIMRUNTIME]]
vim.cmd [[set packpath=/tmp/nvim/site]]
local package_root = '/tmp/nvim/site/pack'
local install_path = package_root .. '/packer/start/packer.nvim'
local function load_plugins()
require('packer').startup {
{
'wbthomason/packer.nvim',
{
'nvim-telescope/telescope.nvim',
requires = {
'nvim-lua/plenary.nvim',
'nvim-telescope/telescope-github.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('gh')
-- ADD INIT.LUA SETTINGS THAT ARE _NECESSARY_ FOR REPRODUCING THE ISSUE
end
if vim.fn.isdirectory(install_path) == 0 then
print("Installing Telescope and dependencies.")
vim.fn.system { 'git', 'clone', '--depth=1', 'https://github.com/wbthomason/packer.nvim', install_path }
end
load_plugins()
require('packer').sync()
vim.cmd [[autocmd User PackerComplete ++once echo "Ready!" | lua load_config()]]
UPDATE:
Edit seems to work fine, I only now realized it makes the change after closing the buffer.