Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(texlab): add change environments workspace command #3227

Merged
merged 2 commits into from
Jul 3, 2024

Conversation

DimitrisDimitropoulos
Copy link
Contributor

This PR adds the last workspace command of texlab like this #3225. I have tested the code on fedora 40 and windows.

{
textDocument = { uri = vim.uri_from_bufnr(bufnr) },
position = { line = pos[1] - 1, character = pos[2] },
newName = new,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
newName = new,
newName = tostring(new),

if not new or new == '' then
return vim.notify('No environment name provided', vim.log.levels.WARN)
end
new = tostring(new)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
new = tostring(new)

@glepnir glepnir merged commit 9c9470f into neovim:master Jul 3, 2024
9 checks passed
@DimitrisDimitropoulos DimitrisDimitropoulos deleted the texlab_change_env branch July 3, 2024 07:01
elijah-potter pushed a commit to elijah-potter/nvim-lspconfig that referenced this pull request Jul 25, 2024
* feat(texlab): add change environments workspace command

* feat(texlab): correct tostring placement
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants