vimrc(plug): add prettier config
This commit is contained in:
parent
239f712d46
commit
08168e0280
@ -78,6 +78,10 @@ Plug 'tpope/vim-jdaddy', { 'for': 'json' }
|
||||
Plug 'tpope/vim-ragtag', { 'for': ['html', 'xhtml', 'wml', 'xml', 'xslt', 'xsd', 'jsp', 'php', 'aspperl', 'aspvbs', 'cf', 'mason', 'htmldjango', 'eruby'] }
|
||||
Plug 'bazelbuild/vim-ft-bzl', { 'for': ['starlark', 'bzl'] }
|
||||
Plug 'z0mbix/vim-shfmt', { 'for': ['sh', 'bash'] }
|
||||
" post install (yarn install | npm install) then load plugin only for editing supported files
|
||||
Plug 'prettier/vim-prettier', {
|
||||
\ 'do': 'npm install --frozen-lockfile',
|
||||
\ 'for': ['javascript', 'typescript', 'css', 'less', 'scss', 'json', 'graphql', 'vue', 'svelte', 'yaml', 'html', 'gohtmltmpl'] }
|
||||
|
||||
" Plug 'gorodinskiy/vim-coloresque'| " coloured background for colour names/codes
|
||||
" Plug 'lpinilla/vim-codepainter'| " text highlighting
|
||||
|
Loading…
Reference in New Issue
Block a user