runtime(just): Correct filetype detection pattern and style (#13284)

Commit: 
https://github.com/vim/vim/commit/b6d01f131c6ad44451b63ff437fa04169173f1c5
Author: dundargoc <33953936+dundar...@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 <c...@256bit.org>

diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index f3049636f..3e7036cbb 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -1094,7 +1094,7 @@ au BufNewFile,BufRead *.jsonnet,*.libsonnet       setf 
jsonnet
 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

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/E1qoSsO-009L8F-N4%40256bit.org.

Raspunde prin e-mail lui