-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #73 from eshepelyuk/fix/ftd
fix: improve justfile extension detection
- Loading branch information
Showing
2 changed files
with
20 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,5 +3,5 @@ | |
" Maintainer: Noah Bogart <[email protected]> | ||
" URL: https://github.com/NoahTheDuke/vim-just.git | ||
" Last Change: 2023 Dec 03 | ||
au BufNewFile,BufRead \c{,.}justfile,\c*.just setfiletype just | ||
au BufNewFile,BufRead \c{,.}justfile,\c*.just,\c*.justfile setfiletype just | ||
au BufNewFile,BufRead * if getline(1) =~# '\v^#!//@!%(\w|-|//@!)*/%(env%(\s+-S)?\s+)?just\A' | setfiletype just | endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters