/usr/share/vim/vim82/autoload
NameSizeModeActions
dist/-0755rm
xml/-0755rm
ada.vim225670644editdlrm
adacomplete.vim36690644editdlrm
ccomplete.vim178030644editdlrm
clojurecomplete.vim86650644editdlrm
context.vim54620644editdlrm
contextcomplete.vim6560644editdlrm
csscomplete.vim432480644editdlrm
decada.vim29990644editdlrm
getscript.vim248750644editdlrm
gnat.vim53310644editdlrm
gzip.vim64130644editdlrm
haskellcomplete.vim1057890644editdlrm
htmlcomplete.vim254840644editdlrm
javascriptcomplete.vim281400644editdlrm
netrw.vim5559260644editdlrm
netrwFileHandlers.vim101300644editdlrm
netrwSettings.vim104610644editdlrm
netrw_gitignore.vim12340644editdlrm
paste.vim6720644editdlrm
phpcomplete.vim3545070644editdlrm
python3complete.vim215860644editdlrm
pythoncomplete.vim221050644editdlrm
README.txt7730644editdlrm
RstFold.vim19000644editdlrm
rubycomplete.vim260390644editdlrm
rust.vim104630644editdlrm
rustfmt.vim29900644editdlrm
spellfile.vim61080644editdlrm
sqlcomplete.vim391880644editdlrm
syntaxcomplete.vim314430644editdlrm
tar.vim301520644editdlrm
tohtml.vim316370644editdlrm
vimball.vim243310644editdlrm
xmlcomplete.vim149390644editdlrm
xmlformat.vim61920644editdlrm
zip.vim151760644editdlrm
Edit: /usr/share/vim/vim82/autoload/RstFold.vim (1900B)
" Author: Antony Lee " 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