From db348bc6b391393dec2114ef1993810e8184dd05 Mon Sep 17 00:00:00 2001 From: PoweredByPie Date: Thu, 2 Mar 2023 10:56:06 -0800 Subject: [PATCH] rc/filetype/svelte.kak: Set buffer rather than window filetype --- rc/filetype/svelte.kak | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rc/filetype/svelte.kak b/rc/filetype/svelte.kak index beb8dd4c..a4469f29 100644 --- a/rc/filetype/svelte.kak +++ b/rc/filetype/svelte.kak @@ -1,5 +1,5 @@ -hook global WinCreate .*\.svelte %[ - set-option window filetype svelte +hook global BufCreate .*\.svelte %[ + set-option buffer filetype svelte ] hook global WinSetOption filetype=(svelte) %{