Skip to content

[FEATURE]save the lsp workspace folders environment variable #263

@ghost

Description

Is your feature request related to a problem? Please describe.

-- add path environment variable
vim.lsp.buf.add_workspace_folder

recovering after calling the SessionSave command did not recover the lsp workspace

Describe the solution you'd like
Run vim.lsp.buf.add_workspace_folder to see the previously added workspace

Describe alternatives you've considered
by pre_ save and SessionRestore

Additional context

1. nvim demo/
2. vim.lsp.buf.add_workspace_folder()
3. vim.inspect(vim.lsp.buf.list_workspace_folders())
4. exit nvim
5. nvim demo/
6. :SessionRestore
7. vim.inspect(vim.lsp.buf.list_workspace_folders())

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions