lua-language-server
                                
                                 lua-language-server copied to clipboard
                                
                                    lua-language-server copied to clipboard
                            
                            
                            
                        How to link to treesitter folder from `workspace.library`?
Hi!
I'm using .luarc.json file to define workspace.library and I need to enable code completion for treesitter in Neovim. How can I do that?
I'm trying something like that:
"workspace.library": ["${3rd}/luassert/library", "${VIMRUNTIME}/lua"],
enable code completion for treesitter in Neovim
What do you mean precisely?
To see LSP code completion, help, etc. for types related to vim.treesitter and also to avoid warnings. By default LSP doesn't know anything about the treesitter until I provide paths to its definition.
Maybe the question is too much related to Neovim. But a general question would be how to pass environment variables in .luarc.json to the field workspace.library