From abdd22671288c31507658341a73d70db3de080cb Mon Sep 17 00:00:00 2001 From: Marcel Schneider Date: Wed, 13 Jan 2021 11:40:49 +0100 Subject: [PATCH] vim: Add bootstrap snippets --- init.vim | 1 + vim/ftplugin/php.vim | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/init.vim b/init.vim index c3b8bb4..628c3d5 100644 --- a/init.vim +++ b/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{{{ diff --git a/vim/ftplugin/php.vim b/vim/ftplugin/php.vim index db3d29e..ebc2b4d 100644 --- a/vim/ftplugin/php.vim +++ b/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