Skip to content

Luacheck/Lua Language Server Definitions #1

@comfortablynick

Description

@comfortablynick

Thanks for putting this together! I'm looking at your code and playing around with creating some of my own stuff with lua. One question -- is there any way to get the API methods defined so luacheck or the language server can recognize them? I'm currently using coc-lua which works great, but doesn't recognize any of the nvim.$() or vim.api.$() methods.

I can put individual methods in the .luacheckrc file to silence luacheck, but it looks like I'd have to add them individually.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions