Skip to content

Commit

Permalink
move closetag to Plug
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-Rolf Gruen committed Apr 21, 2020
1 parent 4fef45f commit 3805830
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions vim/.vim/vimrc
Expand Up @@ -163,15 +163,7 @@ if has("autocmd")
autocmd FileType vim noremap! <buffer> <F1> <Esc>:help <C-r><C-w><CR>
augroup end

augroup html_files
au!

let g:closetag_default_xml=1
autocmd FileType html,tt2,php let b:closetag_html_style=1
autocmd FileType html,xhtml,xml,php source ~/.vim/bundle/closetag/plugin/closetag.vim
augroup end

augroup css_files
augroup css_files
au!

autocmd FileType css,less setlocal foldmethod=marker foldmarker={,}
Expand Down Expand Up @@ -207,10 +199,17 @@ Plug 'bling/vim-bufferline'
Plug 'ekalinin/Dockerfile.vim'
Plug 'vim-perl/vim-perl'

Plug 'alvan/vim-closetag'

" Initialize plugin system
call plug#end()

colorscheme badwolf

let g:airline_powerline_fonts = 1
let g:airline_theme='badwolf'

" filetypes like xml, html, xhtml, ...
" These are the file types where this plugin is enabled.
"
let g:closetag_filetypes = 'html,xhtml,phtml'

0 comments on commit 3805830

Please sign in to comment.