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

perf: reduce an unnecessary function call #2913

Merged
merged 1 commit into from
Nov 27, 2023
Merged

perf: reduce an unnecessary function call #2913

merged 1 commit into from
Nov 27, 2023

Conversation

sys9kdr
Copy link
Contributor

@sys9kdr sys9kdr commented Nov 26, 2023

The local version_info = vim.version() is currently only used in the if vim.fn.has 'nvim-0.7' ~= 1 then case.
This function call is useless. I have reduced it.

@sys9kdr sys9kdr requested a review from glepnir as a code owner November 26, 2023 13:53
@sys9kdr sys9kdr changed the title perf: Reduce an unnecessary function call perf: reduce an unnecessary function call Nov 26, 2023
@justinmk justinmk merged commit e4a56ad into neovim:master Nov 27, 2023
9 checks passed
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