[vim/vim] runtime: add soy file detection and ftplugin (PR #18632)

6 views
Skip to first unread message

Riley Bruins

unread,
Oct 24, 2025, 10:20:13 PM (6 days ago) Oct 24
to vim/vim, Subscribed

Adds support for soy files: https://github.com/google/closure-templates/


You can view, comment on, or merge this pull request online at:

  https://github.com/vim/vim/pull/18632

Commit Summary

  • 2711e62 runtime: add soy file detection and ftplugin

File Changes

(4 files)

Patch Links:


Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/18632@github.com>

Christian Brabandt

unread,
Oct 26, 2025, 3:16:44 PM (5 days ago) Oct 26
to vim/vim, Subscribed

@chrisbra commented on this pull request.


In runtime/filetype.vim:

> @@ -1076,6 +1076,9 @@ au BufNewFile,BufRead Snakefile,*.smk		setf snakemake
 au BufNewFile,BufRead *.hog,snort.conf,vision.conf	setf hog
 au BufNewFile,BufRead *.rules			call dist#ft#FTRules()
 
+" Soy
+au BufNewFile,BufRead *.soy			setf soy

Thanks. Since 3221a0c
This should go to runtime/autoload/dist/ft.vim into the ft_from_ext variable.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/18632/review/3381331691@github.com>

Riley Bruins

unread,
Oct 26, 2025, 3:28:03 PM (5 days ago) Oct 26
to vim/vim, Push

@ribru17 pushed 1 commit.

  • 78fb278 runtime: add soy file detection and ftplugin


View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/18632/before/2711e6263084f8953fc848493b5ee4e68b060d6d/after/78fb278b777818a5733c5feced4e27187e402ec7@github.com>

Riley Bruins

unread,
Oct 26, 2025, 3:28:08 PM (5 days ago) Oct 26
to vim/vim, Subscribed

@ribru17 commented on this pull request.


In runtime/filetype.vim:

> @@ -1076,6 +1076,9 @@ au BufNewFile,BufRead Snakefile,*.smk		setf snakemake
 au BufNewFile,BufRead *.hog,snort.conf,vision.conf	setf hog
 au BufNewFile,BufRead *.rules			call dist#ft#FTRules()
 
+" Soy
+au BufNewFile,BufRead *.soy			setf soy

Done 👍


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/18632/review/3381336412@github.com>

Christian Brabandt

unread,
Oct 26, 2025, 4:00:10 PM (5 days ago) Oct 26
to vim/vim, Subscribed
chrisbra left a comment (vim/vim#18632)

thanks


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/18632/c3448885630@github.com>

Christian Brabandt

unread,
Oct 26, 2025, 4:10:43 PM (5 days ago) Oct 26
to vim/vim, Subscribed

Closed #18632.


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/18632/issue_event/20511821507@github.com>

Christian Brabandt

unread,
Oct 26, 2025, 4:10:46 PM (5 days ago) Oct 26
to vim/vim, Subscribed
chrisbra left a comment (vim/vim#18632)

included as of 9fff99c


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/18632/c3448892871@github.com>

Reply all
Reply to author
Forward
0 new messages