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%' }