changeset 33465:16445e83c2fd

runtime(just): Correct filetype detection pattern and style (#13284) Commit: https://github.com/vim/vim/commit/b6d01f131c6ad44451b63ff437fa04169173f1c5 Author: dundargoc <33953936+dundargoc@users.noreply.github.com> Date: Thu Oct 5 20:11:55 2023 +0200 runtime(just): Correct filetype detection pattern and style (https://github.com/vim/vim/issues/13284) See https://github.com/vim/vim/pull/13271#discussion_r1347279686 and https://github.com/NoahTheDuke/vim-just/blob/main/ftdetect/just.vim. Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Thu, 05 Oct 2023 20:15:08 +0200
parents 479393744026
children 3de472480e91
files runtime/filetype.vim
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -1094,7 +1094,7 @@ au BufNewFile,BufRead *.jsonnet,*.libson
 au BufNewFile,BufRead *.jl			setf julia
 
 " Just
-autocmd BufNewFile,BufRead *[jJ]ustfile,.justfile,*.just setfiletype just
+au BufNewFile,BufRead [jJ]ustfile,.justfile,*.just setf just
 
 " KDL
 au BufNewFile,BufRead *.kdl			setf kdl