Skip to content

Commit 1b284bd

Browse files
committed
fix(rust): fix semantically incorrect version check
1 parent 9415a50 commit 1b284bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/astrocommunity/pack/rust/init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ return {
8080
},
8181
{
8282
"mrcjkb/rustaceanvim",
83-
version = vim.version().minor < 11 and "^5" or "^6",
83+
version = vim.fn.has "nvim-0.11" == 1 and "^5" or "^6",
8484
ft = "rust",
8585
specs = {
8686
{

0 commit comments

Comments
 (0)