diff options
| author | Kumar Damani <damani.kumar@gmail.com> | 2019-05-16 22:16:09 +0000 |
|---|---|---|
| committer | Kumar Damani <damani.kumar@gmail.com> | 2019-05-16 22:16:09 +0000 |
| commit | 12564a8f73ebe721d415a04d36f7aac7091bea9d (patch) | |
| tree | bbc8a6bf6aabe832b3ee435eaa605dcac655fc5f /vim/.vim/plugged/lightline.vim/test/.themisrc | |
| parent | 1241da7ab7a4e91248391ee9b045267bcbbeee4f (diff) | |
updating vimrc
Diffstat (limited to 'vim/.vim/plugged/lightline.vim/test/.themisrc')
| -rw-r--r-- | vim/.vim/plugged/lightline.vim/test/.themisrc | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/vim/.vim/plugged/lightline.vim/test/.themisrc b/vim/.vim/plugged/lightline.vim/test/.themisrc deleted file mode 100644 index c226c08..0000000 --- a/vim/.vim/plugged/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 |
