add securemodelines

Tue, 04 Jun 2019 11:17:11 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Tue, 04 Jun 2019 11:17:11 -0500
changeset 766
43018d0e439f
parent 765
35bef81f5b21
child 767
0e08061474a8

add securemodelines

.vim/autoload/plug.vim file | annotate | diff | comparison | revisions
.vimrc file | annotate | diff | comparison | revisions
--- 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
--- a/.vimrc
+++ b/.vimrc
@@ -18,6 +18,7 @@ let s:filename   = expand('<sfile>')
   Plug 'vasconcelloslf/vim-interestingwords'
   Plug 'nathanaelkane/vim-indent-guides'
 
+  Plug 'ciaranm/securemodelines'
   Plug 'editorconfig/editorconfig-vim'
 
   Plug 'Shougo/vimproc.vim'

mercurial