Linux jobworks 6.8.0-136-generic #136-Ubuntu SMP PREEMPT_DYNAMIC Wed Jul 1 21:53:05 UTC 2026 x86_64
Apache/2.4.58 (Ubuntu)
Server IP : 10.0.1.5 & Your IP : 216.73.217.52
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
vim /
vim91 /
indent /
Delete
Unzip
Name
Size
Permission
Date
Action
aap.vim
331
B
-rw-r--r--
2026-07-13 17:17
ada.vim
11.06
KB
-rw-r--r--
2026-07-13 17:17
ant.vim
290
B
-rw-r--r--
2026-07-13 17:17
automake.vim
243
B
-rw-r--r--
2026-07-13 17:17
awk.vim
7.68
KB
-rw-r--r--
2026-07-13 17:17
bash.vim
390
B
-rw-r--r--
2026-07-13 17:17
basic.vim
250
B
-rw-r--r--
2026-07-13 17:17
bib.vim
346
B
-rw-r--r--
2026-07-13 17:17
bitbake.vim
583
B
-rw-r--r--
2026-07-13 17:17
bst.vim
1.86
KB
-rw-r--r--
2026-07-13 17:17
bzl.vim
2.86
KB
-rw-r--r--
2026-07-13 17:17
c.vim
391
B
-rw-r--r--
2026-07-13 17:17
cdl.vim
4.26
KB
-rw-r--r--
2026-07-13 17:17
ch.vim
556
B
-rw-r--r--
2026-07-13 17:17
chaiscript.vim
1.18
KB
-rw-r--r--
2026-07-13 17:17
changelog.vim
264
B
-rw-r--r--
2026-07-13 17:17
chatito.vim
731
B
-rw-r--r--
2026-07-13 17:17
clojure.vim
11.29
KB
-rw-r--r--
2026-07-13 17:17
cmake.vim
2.98
KB
-rw-r--r--
2026-07-13 17:17
cobol.vim
8.63
KB
-rw-r--r--
2026-07-13 17:17
config.vim
2.17
KB
-rw-r--r--
2026-07-13 17:17
context.vim
1.67
KB
-rw-r--r--
2026-07-13 17:17
cpp.vim
395
B
-rw-r--r--
2026-07-13 17:17
cs.vim
1.88
KB
-rw-r--r--
2026-07-13 17:17
css.vim
1.77
KB
-rw-r--r--
2026-07-13 17:17
cucumber.vim
2.74
KB
-rw-r--r--
2026-07-13 17:17
cuda.vim
371
B
-rw-r--r--
2026-07-13 17:17
d.vim
605
B
-rw-r--r--
2026-07-13 17:17
dictconf.vim
411
B
-rw-r--r--
2026-07-13 17:17
dictdconf.vim
414
B
-rw-r--r--
2026-07-13 17:17
docbk.vim
336
B
-rw-r--r--
2026-07-13 17:17
dosbatch.vim
1.35
KB
-rw-r--r--
2026-07-13 17:17
dtd.vim
11.79
KB
-rw-r--r--
2026-07-13 17:17
dtrace.vim
451
B
-rw-r--r--
2026-07-13 17:17
dts.vim
1.69
KB
-rw-r--r--
2026-07-13 17:17
dune.vim
430
B
-rw-r--r--
2026-07-13 17:17
dylan.vim
2.75
KB
-rw-r--r--
2026-07-13 17:17
eiffel.vim
3.24
KB
-rw-r--r--
2026-07-13 17:17
elm.vim
3.2
KB
-rw-r--r--
2026-07-13 17:17
erlang.vim
50.74
KB
-rw-r--r--
2026-07-13 17:17
eruby.vim
2.95
KB
-rw-r--r--
2026-07-13 17:17
eterm.vim
743
B
-rw-r--r--
2026-07-13 17:17
expect.vim
207
B
-rw-r--r--
2026-07-13 17:17
falcon.vim
13.84
KB
-rw-r--r--
2026-07-13 17:17
fennel.vim
273
B
-rw-r--r--
2026-07-13 17:17
fish.vim
2.66
KB
-rw-r--r--
2026-07-13 17:17
fortran.vim
7.72
KB
-rw-r--r--
2026-07-13 17:17
framescript.vim
891
B
-rw-r--r--
2026-07-13 17:17
freebasic.vim
237
B
-rw-r--r--
2026-07-13 17:17
gdscript.vim
4.26
KB
-rw-r--r--
2026-07-13 17:17
gitconfig.vim
841
B
-rw-r--r--
2026-07-13 17:17
gitolite.vim
1.29
KB
-rw-r--r--
2026-07-13 17:17
go.vim
1.73
KB
-rw-r--r--
2026-07-13 17:17
gyp.vim
169
B
-rw-r--r--
2026-07-13 17:17
haml.vim
2.19
KB
-rw-r--r--
2026-07-13 17:17
hamster.vim
1.65
KB
-rw-r--r--
2026-07-13 17:17
hare.vim
4.38
KB
-rw-r--r--
2026-07-13 17:17
hog.vim
1.85
KB
-rw-r--r--
2026-07-13 17:17
html.vim
33.12
KB
-rw-r--r--
2026-07-13 17:17
htmldjango.vim
273
B
-rw-r--r--
2026-07-13 17:17
idlang.vim
1.68
KB
-rw-r--r--
2026-07-13 17:17
ishd.vim
1.83
KB
-rw-r--r--
2026-07-13 17:17
j.vim
1.77
KB
-rw-r--r--
2026-07-13 17:17
java.vim
4.19
KB
-rw-r--r--
2026-07-13 17:17
javascript.vim
15.13
KB
-rw-r--r--
2026-07-13 17:17
javascriptreact.vim
109
B
-rw-r--r--
2026-07-13 17:17
json.vim
4.54
KB
-rw-r--r--
2026-07-13 17:17
jsonc.vim
4.74
KB
-rw-r--r--
2026-07-13 17:17
jsp.vim
462
B
-rw-r--r--
2026-07-13 17:17
julia.vim
15.29
KB
-rw-r--r--
2026-07-13 17:17
kotlin.vim
1.53
KB
-rw-r--r--
2026-07-13 17:17
krl.vim
4.25
KB
-rw-r--r--
2026-07-13 17:17
ld.vim
1.82
KB
-rw-r--r--
2026-07-13 17:17
less.vim
243
B
-rw-r--r--
2026-07-13 17:17
lifelines.vim
638
B
-rw-r--r--
2026-07-13 17:17
liquid.vim
2.03
KB
-rw-r--r--
2026-07-13 17:17
lisp.vim
349
B
-rw-r--r--
2026-07-13 17:17
livebook.vim
206
B
-rw-r--r--
2026-07-13 17:17
logtalk.vim
1.91
KB
-rw-r--r--
2026-07-13 17:17
lua.vim
2.22
KB
-rw-r--r--
2026-07-13 17:17
luau.vim
252
B
-rw-r--r--
2026-07-13 17:17
mail.vim
385
B
-rw-r--r--
2026-07-13 17:17
make.vim
3.48
KB
-rw-r--r--
2026-07-13 17:17
matlab.vim
4.81
KB
-rw-r--r--
2026-07-13 17:17
meson.vim
5.19
KB
-rw-r--r--
2026-07-13 17:17
mf.vim
164
B
-rw-r--r--
2026-07-13 17:17
mma.vim
2.31
KB
-rw-r--r--
2026-07-13 17:17
mp.vim
9.72
KB
-rw-r--r--
2026-07-13 17:17
nginx.vim
1.7
KB
-rw-r--r--
2026-07-13 17:17
nsis.vim
3.23
KB
-rw-r--r--
2026-07-13 17:17
objc.vim
1.65
KB
-rw-r--r--
2026-07-13 17:17
obse.vim
1.4
KB
-rw-r--r--
2026-07-13 17:17
ocaml.vim
9.09
KB
-rw-r--r--
2026-07-13 17:17
occam.vim
4.63
KB
-rw-r--r--
2026-07-13 17:17
pascal.vim
5.66
KB
-rw-r--r--
2026-07-13 17:17
perl.vim
5.91
KB
-rw-r--r--
2026-07-13 17:17
php.vim
25.76
KB
-rw-r--r--
2026-07-13 17:17
postscr.vim
1.64
KB
-rw-r--r--
2026-07-13 17:17
pov.vim
2.71
KB
-rw-r--r--
2026-07-13 17:17
prolog.vim
1.91
KB
-rw-r--r--
2026-07-13 17:17
ps1.vim
410
B
-rw-r--r--
2026-07-13 17:17
pyrex.vim
326
B
-rw-r--r--
2026-07-13 17:17
python.vim
886
B
-rw-r--r--
2026-07-13 17:17
qb64.vim
232
B
-rw-r--r--
2026-07-13 17:17
qml.vim
1.27
KB
-rw-r--r--
2026-07-13 17:17
quarto.vim
23
B
-rw-r--r--
2026-07-13 17:17
r.vim
13.96
KB
-rw-r--r--
2026-07-13 17:17
racket.vim
2.87
KB
-rw-r--r--
2026-07-13 17:17
raku.vim
3.45
KB
-rw-r--r--
2026-07-13 17:17
raml.vim
285
B
-rw-r--r--
2026-07-13 17:17
rapid.vim
7.97
KB
-rw-r--r--
2026-07-13 17:17
readline.vim
786
B
-rw-r--r--
2026-07-13 17:17
rhelp.vim
2.83
KB
-rw-r--r--
2026-07-13 17:17
rmd.vim
2.25
KB
-rw-r--r--
2026-07-13 17:17
rnoweb.vim
1.1
KB
-rw-r--r--
2026-07-13 17:17
rpl.vim
1.82
KB
-rw-r--r--
2026-07-13 17:17
rrst.vim
1.19
KB
-rw-r--r--
2026-07-13 17:17
rst.vim
1.9
KB
-rw-r--r--
2026-07-13 17:17
ruby.vim
30.33
KB
-rw-r--r--
2026-07-13 17:17
rust.vim
10.26
KB
-rw-r--r--
2026-07-13 17:17
sas.vim
5.18
KB
-rw-r--r--
2026-07-13 17:17
sass.vim
926
B
-rw-r--r--
2026-07-13 17:17
scala.vim
19.3
KB
-rw-r--r--
2026-07-13 17:17
scheme.vim
372
B
-rw-r--r--
2026-07-13 17:17
scss.vim
191
B
-rw-r--r--
2026-07-13 17:17
sdl.vim
2.76
KB
-rw-r--r--
2026-07-13 17:17
sh.vim
9.04
KB
-rw-r--r--
2026-07-13 17:17
sml.vim
6.42
KB
-rw-r--r--
2026-07-13 17:17
solidity.vim
12.61
KB
-rw-r--r--
2026-07-13 17:17
sql.vim
1.18
KB
-rw-r--r--
2026-07-13 17:17
sqlanywhere.vim
12.96
KB
-rw-r--r--
2026-07-13 17:17
sshconfig.vim
796
B
-rw-r--r--
2026-07-13 17:17
systemverilog.vim
10.55
KB
-rw-r--r--
2026-07-13 17:17
tcl.vim
2.48
KB
-rw-r--r--
2026-07-13 17:17
tcsh.vim
1.35
KB
-rw-r--r--
2026-07-13 17:17
teraterm.vim
1.38
KB
-rw-r--r--
2026-07-13 17:17
tex.vim
13.52
KB
-rw-r--r--
2026-07-13 17:17
tf.vim
1.57
KB
-rw-r--r--
2026-07-13 17:17
tilde.vim
1.11
KB
-rw-r--r--
2026-07-13 17:17
treetop.vim
785
B
-rw-r--r--
2026-07-13 17:17
typescript.vim
14.28
KB
-rw-r--r--
2026-07-13 17:17
typescriptreact.vim
109
B
-rw-r--r--
2026-07-13 17:17
vb.vim
4.69
KB
-rw-r--r--
2026-07-13 17:17
verilog.vim
8.08
KB
-rw-r--r--
2026-07-13 17:17
vhdl.vim
14.43
KB
-rw-r--r--
2026-07-13 17:17
vim.vim
675
B
-rw-r--r--
2026-07-13 17:17
vroom.vim
379
B
-rw-r--r--
2026-07-13 17:17
vue.vim
385
B
-rw-r--r--
2026-07-13 17:17
wat.vim
458
B
-rw-r--r--
2026-07-13 17:17
xf86conf.vim
786
B
-rw-r--r--
2026-07-13 17:17
xhtml.vim
325
B
-rw-r--r--
2026-07-13 17:17
xinetd.vim
1.28
KB
-rw-r--r--
2026-07-13 17:17
xml.vim
7.6
KB
-rw-r--r--
2026-07-13 17:17
xsd.vim
253
B
-rw-r--r--
2026-07-13 17:17
xslt.vim
297
B
-rw-r--r--
2026-07-13 17:17
yacc.vim
858
B
-rw-r--r--
2026-07-13 17:17
yaml.vim
5.45
KB
-rw-r--r--
2026-07-13 17:17
zig.vim
2.09
KB
-rw-r--r--
2026-07-13 17:17
zimbu.vim
3.92
KB
-rw-r--r--
2026-07-13 17:17
zsh.vim
411
B
-rw-r--r--
2026-07-13 17:17
Save
Rename
" Vim indent file " Language: Rust " Author: Chris Morgan <me@chrismorgan.info> " Last Change: 2023-09-11 " For bugs, patches and license go to https://github.com/rust-lang/rust.vim " Only load this indent file when no other was loaded. if exists("b:did_indent") finish endif let b:did_indent = 1 setlocal cindent setlocal cinoptions=L0,(s,Ws,J1,j1,m1 setlocal cinkeys=0{,0},!^F,o,O,0[,0],0(,0) " Don't think cinwords will actually do anything at all... never mind setlocal cinwords=for,if,else,while,loop,impl,mod,unsafe,trait,struct,enum,fn,extern,macro " Some preliminary settings setlocal nolisp " Make sure lisp indenting doesn't supersede us setlocal autoindent " indentexpr isn't much help otherwise " Also do indentkeys, otherwise # gets shoved to column 0 :-/ setlocal indentkeys=0{,0},!^F,o,O,0[,0],0(,0) setlocal indentexpr=GetRustIndent(v:lnum) let b:undo_indent = "setlocal cindent< cinoptions< cinkeys< cinwords< lisp< autoindent< indentkeys< indentexpr<" " Only define the function once. if exists("*GetRustIndent") finish endif " vint: -ProhibitAbbreviationOption let s:save_cpo = &cpo set cpo&vim " vint: +ProhibitAbbreviationOption " Come here when loading the script the first time. function! s:get_line_trimmed(lnum) " Get the line and remove a trailing comment. " Use syntax highlighting attributes when possible. " NOTE: this is not accurate; /* */ or a line continuation could trick it let line = getline(a:lnum) let line_len = strlen(line) if has('syntax_items') " If the last character in the line is a comment, do a binary search for " the start of the comment. synID() is slow, a linear search would take " too long on a long line. if synIDattr(synID(a:lnum, line_len, 1), "name") =~? 'Comment\|Todo' let min = 1 let max = line_len while min < max let col = (min + max) / 2 if synIDattr(synID(a:lnum, col, 1), "name") =~? 'Comment\|Todo' let max = col else let min = col + 1 endif endwhile let line = strpart(line, 0, min - 1) endif return substitute(line, "\s*$", "", "") else " Sorry, this is not complete, nor fully correct (e.g. string "//"). " Such is life. return substitute(line, "\s*//.*$", "", "") endif endfunction function! s:is_string_comment(lnum, col) if has('syntax_items') for id in synstack(a:lnum, a:col) let synname = synIDattr(id, "name") if synname ==# "rustString" || synname =~# "^rustComment" return 1 endif endfor else " without syntax, let's not even try return 0 endif endfunction if exists('*shiftwidth') function! s:shiftwidth() return shiftwidth() endfunc else function! s:shiftwidth() return &shiftwidth endfunc endif function GetRustIndent(lnum) " Starting assumption: cindent (called at the end) will do it right " normally. We just want to fix up a few cases. let line = getline(a:lnum) if has('syntax_items') let synname = synIDattr(synID(a:lnum, 1, 1), "name") if synname ==# "rustString" " If the start of the line is in a string, don't change the indent return -1 elseif synname =~? '\(Comment\|Todo\)' \ && line !~# '^\s*/\*' " not /* opening line if synname =~? "CommentML" " multi-line if line !~# '^\s*\*' && getline(a:lnum - 1) =~# '^\s*/\*' " This is (hopefully) the line after a /*, and it has no " leader, so the correct indentation is that of the " previous line. return GetRustIndent(a:lnum - 1) endif endif " If it's in a comment, let cindent take care of it now. This is " for cases like "/*" where the next line should start " * ", not " "* " as the code below would otherwise cause for module scope " Fun fact: " /*\n*\n*/" takes two calls to get right! return cindent(a:lnum) endif endif " cindent gets second and subsequent match patterns/struct members wrong, " as it treats the comma as indicating an unfinished statement:: " " match a { " b => c, " d => e, " f => g, " }; " Search backwards for the previous non-empty line. let prevlinenum = prevnonblank(a:lnum - 1) let prevline = s:get_line_trimmed(prevlinenum) while prevlinenum > 1 && prevline !~# '[^[:blank:]]' let prevlinenum = prevnonblank(prevlinenum - 1) let prevline = s:get_line_trimmed(prevlinenum) endwhile " A standalone '{', '}', or 'where' let l:standalone_open = line =~# '\V\^\s\*{\s\*\$' let l:standalone_close = line =~# '\V\^\s\*}\s\*\$' let l:standalone_where = line =~# '\V\^\s\*where\s\*\$' if l:standalone_open || l:standalone_close || l:standalone_where " ToDo: we can search for more items than 'fn' and 'if'. let [l:found_line, l:col, l:submatch] = \ searchpos('\<\(fn\)\|\(if\)\>', 'bnWp') if l:found_line !=# 0 " Now we count the number of '{' and '}' in between the match " locations and the current line (there is probably a better " way to compute this). let l:i = l:found_line let l:search_line = strpart(getline(l:i), l:col - 1) let l:opens = 0 let l:closes = 0 while l:i < a:lnum let l:search_line2 = substitute(l:search_line, '\V{', '', 'g') let l:opens += strlen(l:search_line) - strlen(l:search_line2) let l:search_line3 = substitute(l:search_line2, '\V}', '', 'g') let l:closes += strlen(l:search_line2) - strlen(l:search_line3) let l:i += 1 let l:search_line = getline(l:i) endwhile if l:standalone_open || l:standalone_where if l:opens ==# l:closes return indent(l:found_line) endif else " Expect to find just one more close than an open if l:opens ==# l:closes + 1 return indent(l:found_line) endif endif endif endif " A standalone 'where' adds a shift. let l:standalone_prevline_where = prevline =~# '\V\^\s\*where\s\*\$' if l:standalone_prevline_where return indent(prevlinenum) + 4 endif " Handle where clauses nicely: subsequent values should line up nicely. if prevline[len(prevline) - 1] ==# "," \ && prevline =~# '^\s*where\s' return indent(prevlinenum) + 6 endif let l:last_prevline_character = prevline[len(prevline) - 1] " A line that ends with '.<expr>;' is probably an end of a long list " of method operations. if prevline =~# '\V\^\s\*.' && l:last_prevline_character ==# ';' call cursor(a:lnum - 1, 1) let l:scope_start = searchpair('{\|(', '', '}\|)', 'nbW', \ 's:is_string_comment(line("."), col("."))') if l:scope_start != 0 && l:scope_start < a:lnum return indent(l:scope_start) + 4 endif endif if l:last_prevline_character ==# "," \ && s:get_line_trimmed(a:lnum) !~# '^\s*[\[\]{})]' \ && prevline !~# '^\s*fn\s' \ && prevline !~# '([^()]\+,$' \ && s:get_line_trimmed(a:lnum) !~# '^\s*\S\+\s*=>' " Oh ho! The previous line ended in a comma! I bet cindent will try to " take this too far... For now, let's normally use the previous line's " indent. " One case where this doesn't work out is where *this* line contains " square or curly brackets; then we normally *do* want to be indenting " further. " " Another case where we don't want to is one like a function " definition with arguments spread over multiple lines: " " fn foo(baz: Baz, " baz: Baz) // <-- cindent gets this right by itself " " Another case is similar to the previous, except calling a function " instead of defining it, or any conditional expression that leaves " an open paren: " " foo(baz, " baz); " " if baz && (foo || " bar) { " " Another case is when the current line is a new match arm. " " There are probably other cases where we don't want to do this as " well. Add them as needed. return indent(prevlinenum) endif if !has("patch-7.4.355") " cindent before 7.4.355 doesn't do the module scope well at all; e.g.:: " " static FOO : &'static [bool] = [ " true, " false, " false, " true, " ]; " " uh oh, next statement is indented further! " Note that this does *not* apply the line continuation pattern properly; " that's too hard to do correctly for my liking at present, so I'll just " start with these two main cases (square brackets and not returning to " column zero) call cursor(a:lnum, 1) if searchpair('{\|(', '', '}\|)', 'nbW', \ 's:is_string_comment(line("."), col("."))') == 0 if searchpair('\[', '', '\]', 'nbW', \ 's:is_string_comment(line("."), col("."))') == 0 " Global scope, should be zero return 0 else " At the module scope, inside square brackets only "if getline(a:lnum)[0] == ']' || search('\[', '', '\]', 'nW') == a:lnum if line =~# "^\\s*]" " It's the closing line, dedent it return 0 else return &shiftwidth endif endif endif endif " Fall back on cindent, which does it mostly right return cindent(a:lnum) endfunction " vint: -ProhibitAbbreviationOption let &cpo = s:save_cpo unlet s:save_cpo " vint: +ProhibitAbbreviationOption " vim: set et sw=4 sts=4 ts=8: