diff --git a/ftdetect/just.vim b/ftdetect/just.vim index f63061a..09bae08 100644 --- a/ftdetect/just.vim +++ b/ftdetect/just.vim @@ -4,3 +4,4 @@ " URL: https://github.com/NoahTheDuke/vim-just.git " Last Change: 2021 Aug 26 autocmd BufNewFile,BufRead \cjustfile,.justfile,*.just setfiletype just +autocmd BufNewFile,BufRead * if getline(1) =~# '\v^#!/%(\w|[/-])*\w/%(env%(\s+-S)?\s+)?just' | setfiletype just | endif