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

runtime(jq): fix undefined variable s:save_cpoptions in ftplugin #14661

Closed
wants to merge 1 commit into from

Conversation

itchyny
Copy link
Contributor

@itchyny itchyny commented Apr 29, 2024

This PR fixes an issue about undefined variable in the jq ftplugin file. It is recommended not to setting 'cpo' if unnecessary (#14619 (comment)), I removed the resetting lines instead of adding let s:save_cpooptions = &cpooptions and set cpo&vim.

@chrisbra
Copy link
Member

thanks, see also #14663 I'll merge those two together :)

@chrisbra chrisbra closed this in dc5c905 Apr 29, 2024
clason added a commit to clason/neovim that referenced this pull request Apr 29, 2024
runtime(jq): remove undefined var s:save_cpoptions and add include setting

closes: vim/vim#14661
closes: vim/vim#14663

vim/vim@dc5c905

Co-authored-by: GodFather <vito.blog@gmail.com>
Co-authored-by: itchyny <itchyny@cybozu.co.jp>
clason added a commit to neovim/neovim that referenced this pull request Apr 29, 2024
runtime(jq): remove undefined var s:save_cpoptions and add include setting

closes: vim/vim#14661
closes: vim/vim#14663

vim/vim@dc5c905

Co-authored-by: GodFather <vito.blog@gmail.com>
Co-authored-by: itchyny <itchyny@cybozu.co.jp>
phanen pushed a commit to phanen/neovim that referenced this pull request May 3, 2024
runtime(jq): remove undefined var s:save_cpoptions and add include setting

closes: vim/vim#14661
closes: vim/vim#14663

vim/vim@dc5c905

Co-authored-by: GodFather <vito.blog@gmail.com>
Co-authored-by: itchyny <itchyny@cybozu.co.jp>
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.

None yet

2 participants