From e678347c6df556c48219695f0cb55f5e748966a5 Mon Sep 17 00:00:00 2001 From: Nulo Date: Thu, 18 Nov 2021 14:26:39 -0300 Subject: [PATCH] nvim: Prettier para Svelte --- .config/nvim/init.vim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 4a3bed9..3abcb3a 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -68,6 +68,7 @@ require('formatter').setup({ css = prettier, scss = prettier, sass = prettier, + svelte = prettier, -- necesita https://github.com/sveltejs/prettier-plugin-svelte } }) EOF @@ -75,6 +76,7 @@ EOF augroup FormatAutogroup autocmd! autocmd BufWritePost *.js,*.ts,*.html,*.css,*.scss,*.sass FormatWrite + autocmd BufWritePost *.svelte FormatWrite " necesita https://github.com/sveltejs/prettier-plugin-svelte augroup END let g:fzf_layout = { 'down': '40%' }