Comments (2)
Hi @cseickel I'll need some more info to better understand what can be happening for you. It works perfectly fine for me here. Could you enable debug logs, then paste whatever results you get from running that here?
from goto-preview.
I took a deeper look because there were no debug statements from the close_all_win method. It seem to be a scope issue, where the lib.windows variable is being set correctly when opening windows, but it is always empty when accessed from the main module. I moved the close_all_win method to the lib module and called it from there and it worked fine.
I'm not sure why it works differently for me. Now that i know what it is I'll do some more troubleshooting and put in a PR to fix the issue.
from goto-preview.
Related Issues (20)
- Esc to close the floating window (similar functionality as telescope.nvim) HOT 1
- [FEATURE] add `post_close_hook` option which executes after `close_all_win()` HOT 2
- [BUG] Do not work with lazy? HOT 2
- [FEATURE] Better floating window focusing method HOT 1
- [BUG] Preview window won't show if "dismiss_on_move = true" and "focus_on_open = true" HOT 1
- [FEATURE] Close floating window when cursor leaves buffer HOT 3
- [Feature] Only show the first implementation HOT 3
- Provide an option for making preview window unchangeable. HOT 7
- [BUG] incorrect floating window closed in case multiple floating previews are opened HOT 5
- [FEATURE] Configurable starting zindex HOT 3
- [FEATURE] Close Currently focussed preview window with q HOT 2
- [FEATURE] Trigger goto-preview from any Telescope.nvim picker
- Change border color HOT 1
- How to close only one preview and how to open focused preview in current split but new buffer?
- Setting on `post_open_hook` will be shared if I split window? HOT 1
- [BUG] attempt to index field 'lsp_configs' (a nil value) HOT 9
- [FEATURE]: 'Enter' key in a preview window to close all preview windows and go to the definition,refs, etc HOT 6
- Filename in float window
- Getting "Invalid key" error when go to definition HOT 6
- [FEATURE]: Toggle single preview window and show definition automatically when cursor moving in source window. HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from goto-preview.