Browse Source

vim: Add bootstrap snippets

master
Schneider 3 years ago
parent
commit
abdd226712
Signed by: schneider GPG Key ID: 3F50B02A50039F3B
  1. 1
      init.vim
  2. 3
      vim/ftplugin/php.vim

1
init.vim

@ -60,6 +60,7 @@ Plug 'gregsexton/MatchTag', { 'for': ['html', 'php', 'gohtmltmpl', 'vue'] } " ma
Plug 'othree/html5.vim', { 'for': ['html', 'php', 'gohtmltmpl', 'vue'] } " html5 support
Plug 'lumiliet/vim-twig', { 'for': ['html'] } " twig syntax support
Plug 'Glench/Vim-Jinja2-Syntax', { 'for': ['html'] }
Plug 'jvanja/vim-bootstrap4-snippets', { 'for': ['html', 'blade'] }
"}}}
" JavaScript{{{

3
vim/ftplugin/php.vim

@ -1,10 +1,9 @@
let g:deoplete#ignore_sources = get(g:, 'deoplete#ignore_sources', {})
let g:deoplete#ignore_sources.php = ['omni']
let g:ale_php_phpstan_level = 'max'
let g:ale_fixers={
\'javascript': ['prettier'],
\'json': ['prettier'],
\'php': ['prettier'],
\'blade': ['prettier'],
\}
let g:ale_fix_on_save=1

Loading…
Cancel
Save