summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2023-10-05 20:11:55 +0200
committerGitHub <noreply@github.com>2023-10-05 20:11:55 +0200
commitb6d01f131c6ad44451b63ff437fa04169173f1c5 (patch)
treea9d04a9ae4c8e57695ddbb2e8defcd87a66c2d62 /runtime
parent9a00e7c7cfbc2bf7896962d729ccece46e728635 (diff)
runtime(just): Correct filetype detection pattern and style (#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>
Diffstat (limited to 'runtime')
-rw-r--r--runtime/filetype.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index f3049636f4..3e7036cbbc 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