nvim: Prettier para Svelte

This commit is contained in:
Cat /dev/Nulo 2021-11-18 14:26:39 -03:00
parent 82e986a45e
commit e678347c6d

View file

@ -68,6 +68,7 @@ require('formatter').setup({
css = prettier, css = prettier,
scss = prettier, scss = prettier,
sass = prettier, sass = prettier,
svelte = prettier, -- necesita https://github.com/sveltejs/prettier-plugin-svelte
} }
}) })
EOF EOF
@ -75,6 +76,7 @@ EOF
augroup FormatAutogroup augroup FormatAutogroup
autocmd! autocmd!
autocmd BufWritePost *.js,*.ts,*.html,*.css,*.scss,*.sass FormatWrite autocmd BufWritePost *.js,*.ts,*.html,*.css,*.scss,*.sass FormatWrite
autocmd BufWritePost *.svelte FormatWrite " necesita https://github.com/sveltejs/prettier-plugin-svelte
augroup END augroup END
let g:fzf_layout = { 'down': '40%' } let g:fzf_layout = { 'down': '40%' }