mirror of
https://github.com/neovim/neovim.git
synced 2024-12-24 13:15:09 -07:00
de9ed1ca54
Problem: filetype: karel files are not detected
Solution: detect '*.kl' files as karel filetype,
include syntax and filetype plugin
(Kirill Morozov)
closes: vim/vim#16075
fdac54d7bb
Co-authored-by: Kirill Morozov <kirill@robotix.pro>
Co-authored-by: KnoP-01 <knosowski@graeffrobotics.de>
17 lines
396 B
VimL
17 lines
396 B
VimL
" Vim filetype plugin file
|
|
" Language: KAREL
|
|
" Last Change: 2024-11-18
|
|
" Maintainer: Kirill Morozov <kirill@robotix.pro>
|
|
" Credits: Patrick Meiser-Knosowski for the initial implementation.
|
|
|
|
if exists("b:did_ftplugin")
|
|
finish
|
|
endif
|
|
let b:did_ftplugin = 1
|
|
|
|
setlocal comments=:--
|
|
setlocal commentstring=--\ %s
|
|
setlocal suffixesadd+=.kl,.KL
|
|
|
|
let b:undo_ftplugin = "setlocal com< cms< sua<"
|