runtime(twig): include twig filetype plugin

closes: #17754

Signed-off-by: Riley Bruins <ribru17@hotmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Riley Bruins
2025-07-15 21:09:43 +02:00
committed by Christian Brabandt
parent 690a42d54e
commit 30df42557c
2 changed files with 15 additions and 0 deletions

14
runtime/ftplugin/twig.vim Normal file
View File

@ -0,0 +1,14 @@
" Vim filetype plugin
" Language: twig
" Maintainer: Riley Bruins <ribru17@gmail.com>
" Last Change: 2025 Jul 14
if exists('b:did_ftplugin')
finish
endif
let b:did_ftplugin = 1
setlocal comments=s:{#,e:#}
setlocal commentstring={#\ %s\ #}
let b:undo_ftplugin = 'setl comments< commentstring<'