Linux cpanel.rrshost.in 5.15.0-25-generic #25-Ubuntu SMP Wed Mar 30 15:54:22 UTC 2022 x86_64
Apache
: 109.123.238.221 | : 172.69.59.207
128 Domain
8.2.28
aev999
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
share /
vim /
vim82 /
autoload /
[ HOME SHELL ]
Name
Size
Permission
Action
dist
[ DIR ]
drwxr-xr-x
xml
[ DIR ]
drwxr-xr-x
RstFold.vim
1.86
KB
-rw-r--r--
ada.vim
22.04
KB
-rw-r--r--
adacomplete.vim
3.58
KB
-rw-r--r--
ccomplete.vim
19.32
KB
-rw-r--r--
clojurecomplete.vim
8.44
KB
-rw-r--r--
context.vim
5.33
KB
-rw-r--r--
contextcomplete.vim
656
B
-rw-r--r--
csscomplete.vim
42.24
KB
-rw-r--r--
decada.vim
2.93
KB
-rw-r--r--
getscript.vim
24.29
KB
-rw-r--r--
gnat.vim
5.21
KB
-rw-r--r--
gzip.vim
6.26
KB
-rw-r--r--
haskellcomplete.vim
103.31
KB
-rw-r--r--
htmlcomplete.vim
24.88
KB
-rw-r--r--
javascriptcomplete.vim
27.48
KB
-rw-r--r--
netrw.vim
549.6
KB
-rw-r--r--
netrwFileHandlers.vim
9.89
KB
-rw-r--r--
netrwSettings.vim
10.23
KB
-rw-r--r--
netrw_gitignore.vim
1.21
KB
-rw-r--r--
paste.vim
672
B
-rw-r--r--
phpcomplete.vim
346.21
KB
-rw-r--r--
python3complete.vim
21.08
KB
-rw-r--r--
pythoncomplete.vim
21.59
KB
-rw-r--r--
rubycomplete.vim
25.26
KB
-rw-r--r--
rust.vim
10.22
KB
-rw-r--r--
rustfmt.vim
2.92
KB
-rw-r--r--
spellfile.vim
5.96
KB
-rw-r--r--
sqlcomplete.vim
38.27
KB
-rw-r--r--
syntaxcomplete.vim
32.86
KB
-rw-r--r--
tar.vim
29.62
KB
-rw-r--r--
tohtml.vim
30.9
KB
-rw-r--r--
vimball.vim
23.76
KB
-rw-r--r--
xmlcomplete.vim
14.59
KB
-rw-r--r--
xmlformat.vim
6.05
KB
-rw-r--r--
zip.vim
14.69
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : RstFold.vim
" Author: Antony Lee <anntzer.lee@gmail.com> " Description: Helper functions for reStructuredText syntax folding " Last Modified: 2018-12-29 function s:CacheRstFold() if !g:rst_fold_enabled return endif let closure = {'header_types': {}, 'max_level': 0, 'levels': {}} function closure.Process(match) dict let curline = getcurpos()[1] if has_key(self.levels, curline - 1) " For over+under-lined headers, the regex will match both at the " overline and at the title itself; in that case, skip the second match. return endif let lines = split(a:match, '\n') let key = repeat(lines[-1][0], len(lines)) if !has_key(self.header_types, key) let self.max_level += 1 let self.header_types[key] = self.max_level endif let self.levels[curline] = self.header_types[key] endfunction let save_cursor = getcurpos() let save_mark = getpos("'[") silent keeppatterns %s/\v^%(%(([=`:.'"~^_*+#-])\1+\n)?.{1,2}\n([=`:.'"~^_*+#-])\2+)|%(%(([=`:.''"~^_*+#-])\3{2,}\n)?.{3,}\n([=`:.''"~^_*+#-])\4{2,})$/\=closure.Process(submatch(0))/gn call setpos('.', save_cursor) call setpos("'[", save_mark) let b:RstFoldCache = closure.levels endfunction function RstFold#GetRstFold() if !g:rst_fold_enabled return endif if !has_key(b:, 'RstFoldCache') call s:CacheRstFold() endif if has_key(b:RstFoldCache, v:lnum) return '>' . b:RstFoldCache[v:lnum] else return '=' endif endfunction function RstFold#GetRstFoldText() if !g:rst_fold_enabled return endif if !has_key(b:, 'RstFoldCache') call s:CacheRstFold() endif let indent = repeat(' ', b:RstFoldCache[v:foldstart] - 1) let thisline = getline(v:foldstart) " For over+under-lined headers, skip the overline. let text = thisline =~ '^\([=`:.''"~^_*+#-]\)\1\+$' ? getline(v:foldstart + 1) : thisline return indent . text endfunction
Close