Skip to content

How to append vim.api.nvim_get_runtime_file('', true) to Lua.workspace.library? #100

@FalcoGer

Description

@FalcoGer

I don't want to manually adjust my workspace library whenever I install or remove a plugin. Luckily vim.api.nvim_get_runtime_file('', true) produces all the paths that nvim's lua interpreter looks for libraries for.
Unfortunately the settings in the coc-configurations are done with a json file and there is no syntax to do a function call there to populate any options, as far as I could gather.
Is there some way to put all those paths into Lua.workspace.library in a different way? Maybe some special string?

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