NeoRoot.lua icon indicating copy to clipboard operation
NeoRoot.lua copied to clipboard

Adding vim.LSP integration

Open JBenda opened this issue 3 years ago • 1 comments

vim.lsp.buf..list_workspace_folders()[1] returns nil if no LSP root is set and else the root directory. May this can be used if NeoRootChangeDirectory gets an empty string, I find after multiple days of testing that this is a nice default.

JBenda avatar Jan 28 '22 11:01 JBenda

@JBenda: Thanks for your issue! I'm busy with a new idea recently, so this will probably be a long-term one. Feel free to add more context since I know very little about LSP things...

nyngwang avatar Jan 29 '22 22:01 nyngwang