From 4a28524c5c8fc4421320fc5f24a271b8114b57f5 Mon Sep 17 00:00:00 2001 From: qugalet Date: Fri, 6 Dec 2024 15:01:17 +0200 Subject: [PATCH] =?UTF-8?q?changes=20from=20claymore=20on=20=D0=BF'=D1=8F?= =?UTF-8?q?=D1=82=D0=BD=D0=B8=D1=86=D1=8F,=206=20=D0=B3=D1=80=D1=83=D0=B4?= =?UTF-8?q?=D0=BD=D1=8F=202024=2015:01:17=20+0200?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- after/ftplugin/gohtmltmpl.vim | 9 --------- after/plugin/fileformat.vim | 2 +- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/after/ftplugin/gohtmltmpl.vim b/after/ftplugin/gohtmltmpl.vim index 5d92af1..8b13789 100644 --- a/after/ftplugin/gohtmltmpl.vim +++ b/after/ftplugin/gohtmltmpl.vim @@ -1,10 +1 @@ -function DetectGoHtmlTmpl() - if expand('%:e') == "html" && search("{{") != 0 - setfiletype gohtmltmpl - endif -endfunction -augroup filetypedetect - " gohtmltmpl - au BufRead,BufNewFile *.html call DetectGoHtmlTmpl() -augroup END diff --git a/after/plugin/fileformat.vim b/after/plugin/fileformat.vim index 5d92af1..32d385e 100644 --- a/after/plugin/fileformat.vim +++ b/after/plugin/fileformat.vim @@ -1,6 +1,6 @@ function DetectGoHtmlTmpl() if expand('%:e') == "html" && search("{{") != 0 - setfiletype gohtmltmpl + setfiletype gohtmltmpl endif endfunction