diff options
Diffstat (limited to 'vim/bundle/lightline.vim/test/.themisrc')
m--------- | vim/bundle/lightline.vim | 0 | ||||
-rw-r--r-- | vim/bundle/lightline.vim/test/.themisrc | 20 |
2 files changed, 0 insertions, 20 deletions
diff --git a/vim/bundle/lightline.vim b/vim/bundle/lightline.vim new file mode 160000 +Subproject 430ce2cb063b39a0c7950cafd617e333acb6759 diff --git a/vim/bundle/lightline.vim/test/.themisrc b/vim/bundle/lightline.vim/test/.themisrc deleted file mode 100644 index c226c08..0000000 --- a/vim/bundle/lightline.vim/test/.themisrc +++ /dev/null @@ -1,20 +0,0 @@ -let s:sids = {} -function! s:sid(path) abort - if has_key(s:sids, a:path) - return s:sids[a:path] - endif - redir => scriptnames - silent! scriptnames - redir END - for line in split(scriptnames, '\n') - if line =~# a:path - let sid = matchstr(line, '\v^\s*\zs\d+\ze') - let s:sids[a:path] = sid - return sid - endif - endfor -endfunction - -function! SID(name) abort - return function(printf("\<SNR>%d_%s", s:sid('autoload/lightline.vim'), a:name)) -endfunction |