diff --git a/ftdetect/just.lua b/ftdetect/just.lua index da44ca2..e2591d9 100644 --- a/ftdetect/just.lua +++ b/ftdetect/just.lua @@ -4,7 +4,7 @@ -- URL: https://github.com/NoahTheDuke/vim-just.git -- Last Change: 2024 May 29 -if vim.fn.has("nvim-0.10") then +if vim.fn.has("nvim-0.8") then vim.filetype.add({ extension = { -- Disable extension-based detection of *.just justfiles. diff --git a/ftdetect/just.vim b/ftdetect/just.vim index 4a1dec8..a3f1c7e 100644 --- a/ftdetect/just.vim +++ b/ftdetect/just.vim @@ -4,7 +4,7 @@ " URL: https://github.com/NoahTheDuke/vim-just.git " Last Change: 2024 Mar 03 -if !has("nvim-0.10") +if !has("nvim-0.8") au BufNewFile,BufRead \c{,*.}justfile,\c*.just setfiletype just endif