Skip to content

fix: Fixed Version compare#42

Open
malbertzard wants to merge 1 commit intonvim-telescope:masterfrom
malbertzard:master
Open

fix: Fixed Version compare#42
malbertzard wants to merge 1 commit intonvim-telescope:masterfrom
malbertzard:master

Conversation

@malbertzard
Copy link

This is a fixed discussed in this issue. I changed the version comparison logic.

for idx, item in ipairs(items) do
local client_id, title
if vim.version and vim.version.cmp(vim.version(), vim.version.parse "0.10-dev") >= 0 then
if vim.version().minor > 10 then

Choose a reason for hiding this comment

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

This wont work if 1.0 gets released!

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