Skip to content

Commit

Permalink
ftdetect: use just.lua in Neovim >= 0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
laniakea64 committed May 30, 2024
1 parent 7b86ee0 commit ff1b178
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ftdetect/just.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion ftdetect/just.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit ff1b178

Please sign in to comment.