# HG changeset patch # User Meredith Howard # Date 1559665031 18000 # Node ID 43018d0e439fe725f38138fcdafce90279781067 # Parent 35bef81f5b212886a1b800416bad656d10479fc8 add securemodelines diff --git a/.vim/autoload/plug.vim b/.vim/autoload/plug.vim --- a/.vim/autoload/plug.vim +++ b/.vim/autoload/plug.vim @@ -434,8 +434,8 @@ endfunction function! s:dobufread(names) for name in a:names - let path = s:rtp(g:plugs[name]).'/**' - for dir in ['ftdetect', 'ftplugin'] + let path = s:rtp(g:plugs[name]) + for dir in ['ftdetect', 'ftplugin', 'after/ftdetect', 'after/ftplugin'] if len(finddir(dir, path)) if exists('#BufRead') doautocmd BufRead diff --git a/.vimrc b/.vimrc --- a/.vimrc +++ b/.vimrc @@ -18,6 +18,7 @@ let s:filename = expand('') Plug 'vasconcelloslf/vim-interestingwords' Plug 'nathanaelkane/vim-indent-guides' + Plug 'ciaranm/securemodelines' Plug 'editorconfig/editorconfig-vim' Plug 'Shougo/vimproc.vim'