Error when g:Lf_WindowPosition = 'popup'
See original GitHub issue- vim or neovim?
- vim 8.2.12
- neovim
- Output of
:echo g:Lf_Debug_Cmd
:rg --no-messages --files -g "!node_modules" -g "!*.sw?" -g "!~$*" -g "!*.bak" -g "!*.exe" -g "!*.o" -g "!*.so" -g "!*.py[co]" "C:\Users\fatjing\Programs\Vim\vim82"
- Output of
:echo g:Lf_FilesFromCache
: 1 - Operating system:
- Linux
- Mac OS X
- Windows
- Etc.
- Configurations related to LeaderF in vimrc:
let g:Lf_WindowPosition = 'popup'
I’ve tested with only this line written in vimrc, if this line is removed everything works fine
Describe your question, feature request, or bug.
Steps to reproduce
Start gvim from C:\Users\fatjing\Programs\Vim\vim82
Run :Leaderf file
Actual behaviour
Got error:
Messages maintainer: Bram Moolenaar <Bram@vim.org>
Error detected while processing function leaderf#Any#start[4]..leaderf#LfPy:
line 1:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\fatjing\Programs\Vim\vimfiles\pack\bundle\start\LeaderF\autoload\leaderf\python\leaderf\anyExpl.py", line 780, in start
the_args.start(arguments, *args, **kwargs)
File "C:\Users\fatjing\Programs\Vim\vimfiles\pack\bundle\start\LeaderF\autoload\leaderf\python\leaderf\anyExpl.py", line 712, in _default_action
manager.startExplorer(win_pos[2:], *args, **kwargs)
File "C:\Users\fatjing\Programs\Vim\vimfiles\pack\bundle\start\LeaderF\autoload\leaderf\python\leaderf\fileExpl.py", line 729, in startExplorer
super(FileExplManager, self).startExplorer(win_pos, *args, **kwargs)
File "C:\Users\fatjing\Programs\Vim\vimfiles\pack\bundle\start\LeaderF\autoload\leaderf\python\leaderf\manager.py", line 2001, in startExplorer
self._getInstance().enterBuffer(win_pos, not isinstance(content, list))
File "C:\Users\fatjing\Programs\Vim\vimfiles\pack\bundle\start\LeaderF\autoload\leaderf\python\leaderf\instance.py", line 902, in enterBuffer
self._createPopupWindow(clear)
File "C:\Users\fatjing\Programs\Vim\vimfiles\pack\bundle\start\LeaderF\autoload\leaderf\python\leaderf\instance.py", line 487, in _createPopupWindow
lfCmd("call win_execute(%d, 'setlocal filetype=leaderf')" % self._popup_winid)
vim.error: Vim(redir):E930: Cannot use :redir inside execute()
Error detected while processing function leaderf#Any#start:
line 4:
E171: Missing :endif
Expected behaviour
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Window/monitor issues + crash #1106 - glfw/glfw - GitHub
Task bar may not always pop up, I found there is more chance for it to pop up after being restored after being...
Read more >Window reference - GLFW
This is the function pointer type for window position callbacks. A window position callback function has the following signature:.
Read more >Simplest way to pop up error message box on windows, nix ...
Show activity on this post. I'm writing a fairly minimal cross-platform program that uses OpenGL for display and GLFW for the cross-platform window...
Read more >Error in popup window position on screen - Microsoft Community
Pop up windows in applications are appearing at the top left of the screen instead of their usual places. This applies to some...
Read more >Development environment - Vulkan Tutorial
GLFW. GLM. Setting up Visual Studio. Linux. Vulkan Packages. GLFW ... and run the project and you should see a command prompt and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
it is a different issue, this issue is e930 and yours is e344.
fixed.