-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plugin breaks the positioning of floating windows in other plugins #235
Comments
Would you please provide more details, and a minimal repro? I looked at the linked issue, and it seems to be about the cursor position. However, the title of the issue talks about floating-window position. I am not sure what problem you are having. Thanks! If this issue is actually about position of the cursor on the line, please try with the latest from this repo. It might be the same issue as already-fixed #224. |
Hi! Screencast.from.2024-03-18.17-22-44.webmRemoving editorconfig dissolves the issue. Tell me if you need any more info! |
@SergioGDR thanks for the video! Was this with the latest from this repo? If not, please try with the latest. That issue looks very much like #224. |
Yup, this is with the latest. |
Looking at the ticket you linked at the top, I see neoclide/coc.nvim#4922 (comment) from two days ago recommends not using packadd to get the EditorConfig plugin. |
I am experiencing the same issue, however while using See also #224 and fzf-vim#1164, which discussed this issue, the latter also links to the upstream fix already contained in vim. |
I am having the same exact problem. The screencast above shows exactly what I have been dealing with for the past few months. I am using fzf and @pf-ait I saw those as well, and that fix for vim was from a few years ago, so maybe something got changed. It's worth noting here that playing with different |
I've run into this one as well. I've just run
Commenting out this plugin in my config fixes the issue.
I also found that while the plugin is installed I can fix the issue by removing the
If I can provide any additional information to help out here, please let me know. Also happy to help out with a fix if you have a rough idea of where we should be looking to get it resolved. |
I have also run into this problem. I'm running VIM 9.1 on MacOS installed via Homebrew:
I have The issue is also present in Unfortunately I know very little about Vim internals, so I'm not much help on a solution. Thank you @cxw42 and all other contributors for your great work on this project! |
I've also run into the issue seen by @sergio-gdr, and I've found that disabling EditorConfig for terminal buffers seems to solve it: let g:EditorConfig_exclude_patterns = ['^.*!\w*sh$'] I don't use terminal buffers that much outside of displaying fzf in Vim, so I don't know what else will be affected by this setting. There might be a way to just target terminal buffers running fzf. Alternatively, if you're showing fzf in a horizontal split ( |
Just tried the fix posted by @damiendart - it indeed solved the scrolling issue after closing floating fzf windows! |
I really thought is is an issue of coc. But removing this plugin resolved the issue.
neoclide/coc.nvim#4922
The text was updated successfully, but these errors were encountered: