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,
|
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%' }
|
||||||
|
|
Loading…
Reference in a new issue