mirror of
https://github.com/neovim/neovim.git
synced 2026-05-06 08:26:45 -04:00
35d04394aa
Problem: filetype: Soy files are not recognized
Solution: Detect *.soy files as soy filetype,
include a soy filetype plugin (Riley Bruins)
closes: vim/vim#18640
https://github.com/vim/vim/commit/9fff99c3c28083dbe4dcb243309bf2b28c4cb82b
Co-authored-by: Riley Bruins <ribru17@hotmail.com>
15 lines
352 B
VimL
15 lines
352 B
VimL
" Vim filetype plugin
|
|
" Language: Soy (Closure Templates)
|
|
" Maintainer: Riley Bruins <ribru17@gmail.com>
|
|
" Last Change: 2025 Oct 24
|
|
|
|
if exists('b:did_ftplugin')
|
|
finish
|
|
endif
|
|
let b:did_ftplugin = 1
|
|
|
|
setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,://
|
|
setlocal commentstring=//\ %s
|
|
|
|
let b:undo_ftplugin = "setlocal comments< commentstring<"
|