From 3c71c09a562438b1f103f019f3fedd667907d93a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Eug=C3=AAnio?= Date: Thu, 7 Nov 2024 13:01:19 -0300 Subject: [PATCH] kak: add scss formatter --- user/kakoune/filetypes.kak | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/user/kakoune/filetypes.kak b/user/kakoune/filetypes.kak index 293293c..7ea774e 100644 --- a/user/kakoune/filetypes.kak +++ b/user/kakoune/filetypes.kak @@ -38,6 +38,10 @@ hook global BufCreate .*\.js %{ set buffer formatcmd 'prettier --parser babel' } +hook global BufCreate .*\.scss %{ + set buffer formatcmd 'prettier --parser scss' +} + hook global BufCreate .*\.vue %{ set buffer formatcmd 'prettier --parser vue' hook buffer InsertCompletionHide {