Skip to content

Commit 3deeee5

Browse files
committed
ftdetect: Fix Neovim min version detection to not always be truthy
1 parent 19a7f07 commit 3deeee5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ftdetect/just.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
-- URL: https://github.com/NoahTheDuke/vim-just.git
55
-- Last Change: 2025 Feb 05
66

7-
if vim.fn.has("nvim-0.8") then
7+
if vim.fn.has("nvim-0.8") == 1 then
88
vim.filetype.add({
99
-- Neovim adds start/end anchors to the patterns
1010
pattern = {

0 commit comments

Comments
 (0)