Skip to content

Conversation

@cdnspix
Copy link

@cdnspix cdnspix commented May 16, 2025

No description provided.

Caio Daniel Nunes Santos added 2 commits May 16, 2025 10:53
The method "keys" raised an error that I was trying to call a table.
I just renamed the field "keys" to "mappings'.
@glepnir
Copy link
Member

glepnir commented May 17, 2025

Isn't this duplicate of #2?

@cdnspix
Copy link
Author

cdnspix commented May 17, 2025

I am sorry. I made two commits in succession and pushed them both to the PR. This is the first ever PR of my life, I am striving to learn what I can.

@glepnir
Copy link
Member

glepnir commented May 17, 2025

no worry :) I wonder why change to mappings? most plugin managers use keys

@cdnspix
Copy link
Author

cdnspix commented May 17, 2025

In my machine, Neovim was saying that I could not call a table. The internal field was renamed to "mappings" just to make it different from the class method with the same name.

@cdnspix
Copy link
Author

cdnspix commented May 17, 2025

Now I am wondering if, depending on how we use the plugin, the method is assigned to the table after the field so the method is call correctly and give a false-positive to the user.

@glepnir
Copy link
Member

glepnir commented May 18, 2025

I misunderstand LGTM

@glepnir glepnir merged commit e9d2a62 into nvimdev:main May 18, 2025
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

Successfully merging this pull request may close these issues.

2 participants