Skip to content

refactor(glint): use cmd(…, config) #3960

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

Merged
merged 1 commit into from
Jul 19, 2025
Merged

refactor(glint): use cmd(…, config) #3960

merged 1 commit into from
Jul 19, 2025

Conversation

justinmk
Copy link
Member

@justinmk justinmk commented Jul 19, 2025

Problem:
The glint config cmd() gets its config from the currently resolved global config, which may be different than the one for the current client.

Solution:
Since Nvim 0.11.3 neovim/neovim#34547 cmd() receives a config arg, so use that instead.

Followup to #3912 @justmejulian

Note that this requires Nvim 0.11.3

Problem:
The glint config `cmd()` gets its config from the currently resolved
global config, which may be different than the one for the current
client.

Solution:
Since Nvim 0.11.3 neovim/neovim#34547
`cmd()` receives a `config` arg, so use that instead.
@justinmk justinmk merged commit 5f07e61 into master Jul 19, 2025
6 checks passed
@justinmk justinmk deleted the fixes branch July 19, 2025 02:01
@justmejulian
Copy link
Contributor

Cool. Thanks!

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