Skip to content
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

Doesn't switch language when exiting Insert mode #67

Closed
Ddystopia opened this issue Sep 13, 2023 · 1 comment
Closed

Doesn't switch language when exiting Insert mode #67

Ddystopia opened this issue Sep 13, 2023 · 1 comment

Comments

@Ddystopia
Copy link

Hello,

commit of vim-xkbswith (current master): cba47ea

My Nvim version

> nvim -v
NVIM v0.9.1
Build type: Release
LuaJIT 2.1.1692616192

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/share/nvim"

Run :checkhealth for more info

My config

{
  'lyokha/vim-xkbswitch',
  lazy = false,
  enabled = true,
  config = function()
    vim.g.XkbSwitchEnabled = 1
    vim.g.XkbSwitchIMappings = { 'ru' }
  end
}

Troubleshooting

  1. :echo libcall(g:XkbSwitchLib, 'Xkb_Switch_getXkbLayout', '') - Works as intended
  2. :call libcall(g:XkbSwitchLib, 'Xkb_Switch_setXkbLayout', 'ru') - Works as intended
@Ddystopia
Copy link
Author

Duplicate #66

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant