1
0
forked from aniani/vim

patch 9.1.0874: filetype: karel files are not detected

Problem:  filetype: karel files are not detected
Solution: detect '*.kl' files as karel filetype,
          include syntax and filetype plugin
          (Kirill Morozov)

closes: #16075

Co-authored-by: KnoP-01 <knosowski@graeffrobotics.de>
Signed-off-by: Kirill Morozov <kirill@robotix.pro>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Kirill Morozov
2024-11-19 20:36:22 +01:00
committed by Christian Brabandt
parent 9a65a8c270
commit fdac54d7bb
6 changed files with 139 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
" Vim support file to detect file types
"
" Maintainer: The Vim Project <https://github.com/vim/vim>
" Last Change: 2024 May 31
" Last Change: 2024 Nov 19
" Former Maintainer: Bram Moolenaar <Bram@vim.org>
" Listen very carefully, I will say this only once
@@ -1262,6 +1262,12 @@ au BufNewFile,BufRead *.jl setf julia
" Just
au BufNewFile,BufRead [jJ]ustfile,.justfile,*.just setf just
" KAREL
au BufNewFile,BufRead *.kl setf karel
if has("fname_case")
au BufNewFile,BufRead *.KL setf karel
endif
" KDL
au BufNewFile,BufRead *.kdl setf kdl