mirror of
https://github.com/neovim/neovim.git
synced 2025-12-02 15:03:01 +00:00
Problem: filetype: tera files not detected
Solution: detect '*.tera' files as tera filetype,
include a simple filetype plugin
(MuntasirSZN)
closes: vim/vim#16806
5daaf23268
Co-authored-by: MuntasirSZN <muntasir.joypurhat@gmail.com>
14 lines
314 B
VimL
14 lines
314 B
VimL
" Vim filetype plugin file
|
|
" Language: Tera
|
|
" Maintainer: Muntasir Mahmud <muntasir.joypurhat@gmail.com>
|
|
" Last Change: 2025 Mar 06
|
|
|
|
if exists("b:did_ftplugin")
|
|
finish
|
|
endif
|
|
let b:did_ftplugin = 1
|
|
|
|
setlocal commentstring={#\ %s\ #}
|
|
|
|
let b:undo_ftplugin = "setlocal commentstring<"
|