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

E5107: Error loading lua [string ":lua"]:1: ')' expected near 'n' #40

Closed
adishourya opened this issue May 1, 2021 · 2 comments
Closed

Comments

@adishourya
Copy link

Hi , Having a blast using your plugin btw .

I am using default configurations. I only have this in my plugins file.

  -- which key
  use {
    "folke/which-key.nvim",
    config = function()
      require("which-key").setup {
        -- your configuration comes here
        -- or leave it empty to use the default settings
        -- refer to the configuration section below
      }
    end
  }

If it's relevant somehow:

I am using \ as my key leader vim.g.mapleader = '\\'
and timeoutlen=0

How to Reproduce

Happens after I press my leader key twice.
which closes the which-key window.
And produces the error E5107: Error loading lua [string ":lua"]:1: ')' expected near 'n'

Aftermath: the which-key window wouldn't trigger if I press my leader key and produces the E5107 error.
But it still works with registers, visual mode and while changing words/lines

@folke
Copy link
Owner

folke commented May 1, 2021

Should be fixed now.

@adishourya
Copy link
Author

Dang. You are too quick . Everything works smoothly now.

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

2 participants