Giter Site home page Giter Site logo

Comments (2)

lyokha avatar lyokha commented on May 28, 2024

Hi, thank you for your kind words!

I never used Neovim and got familiar with the floating window notion just now. It seems that it has some specific lower-level optimizations that skip triggering BufEnter/InsertEnter events when returning to the original window. It could be fixed with checking a filetype inside g:XkbSwitchSkipFt, but Coc does not provide specific filetypes. However, it looks that this floating windows do have a special parameter that can be hooked: they have window variable float. So I made a new list g:XkbSwitchSkipWinVar with default value ['float'] to let the xkbswitch plugin skip setting layouts on entering such windows.

Please try this fix (you only need to pull the latest version), however I am not very sure that it will work.

from vim-xkbswitch.

evoludigit avatar evoludigit commented on May 28, 2024

Hello,

thank you so much ! It works great, you’ve made my day 👍

from vim-xkbswitch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.