aboutsummaryrefslogtreecommitdiff
path: root/vim/.vim/plugged/lightline.vim/test/.themisrc
diff options
context:
space:
mode:
authorKumar Damani <damani.kumar@gmail.com>2019-05-16 22:16:09 +0000
committerKumar Damani <damani.kumar@gmail.com>2019-05-16 22:16:09 +0000
commit12564a8f73ebe721d415a04d36f7aac7091bea9d (patch)
treebbc8a6bf6aabe832b3ee435eaa605dcac655fc5f /vim/.vim/plugged/lightline.vim/test/.themisrc
parent1241da7ab7a4e91248391ee9b045267bcbbeee4f (diff)
updating vimrc
Diffstat (limited to 'vim/.vim/plugged/lightline.vim/test/.themisrc')
-rw-r--r--vim/.vim/plugged/lightline.vim/test/.themisrc20
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