nvim: Prettier para Svelte
This commit is contained in:
parent
82e986a45e
commit
e678347c6d
1 changed files with 2 additions and 0 deletions
|
@ -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%' }
|
||||
|
|
Loading…
Reference in a new issue