Linux webserver 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 17:42:15 UTC 2 x86_64
Apache/2.4.52 (Ubuntu)
Server IP : 192.168.1.1 & Your IP : 3.15.26.108
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
vim /
vim82 /
indent /
Delete
Unzip
Name
Size
Permission
Date
Action
aap.vim
265
B
-rw-r--r--
2025-04-02 12:39
ada.vim
10.97
KB
-rw-r--r--
2025-04-02 12:39
ant.vim
290
B
-rw-r--r--
2025-04-02 12:39
automake.vim
243
B
-rw-r--r--
2025-04-02 12:39
awk.vim
7.59
KB
-rw-r--r--
2025-04-02 12:39
bash.vim
350
B
-rw-r--r--
2025-04-02 12:39
bib.vim
346
B
-rw-r--r--
2025-04-02 12:39
bst.vim
1.89
KB
-rw-r--r--
2025-04-02 12:39
bzl.vim
2.86
KB
-rw-r--r--
2025-04-02 12:39
c.vim
325
B
-rw-r--r--
2025-04-02 12:39
cdl.vim
4.24
KB
-rw-r--r--
2025-04-02 12:39
ch.vim
470
B
-rw-r--r--
2025-04-02 12:39
chaiscript.vim
1.11
KB
-rw-r--r--
2025-04-02 12:39
changelog.vim
264
B
-rw-r--r--
2025-04-02 12:39
clojure.vim
11.29
KB
-rw-r--r--
2025-04-02 12:39
cmake.vim
2.62
KB
-rw-r--r--
2025-04-02 12:39
cobol.vim
8.63
KB
-rw-r--r--
2025-04-02 12:39
config.vim
2.17
KB
-rw-r--r--
2025-04-02 12:39
context.vim
752
B
-rw-r--r--
2025-04-02 12:39
cpp.vim
329
B
-rw-r--r--
2025-04-02 12:39
cs.vim
1.71
KB
-rw-r--r--
2025-04-02 12:39
css.vim
1.77
KB
-rw-r--r--
2025-04-02 12:39
cucumber.vim
2.62
KB
-rw-r--r--
2025-04-02 12:39
cuda.vim
305
B
-rw-r--r--
2025-04-02 12:39
d.vim
572
B
-rw-r--r--
2025-04-02 12:39
dictconf.vim
337
B
-rw-r--r--
2025-04-02 12:39
dictdconf.vim
338
B
-rw-r--r--
2025-04-02 12:39
docbk.vim
336
B
-rw-r--r--
2025-04-02 12:39
dosbatch.vim
1.35
KB
-rw-r--r--
2025-04-02 12:39
dtd.vim
11.67
KB
-rw-r--r--
2025-04-02 12:39
dtrace.vim
451
B
-rw-r--r--
2025-04-02 12:39
dune.vim
332
B
-rw-r--r--
2025-04-02 12:39
dylan.vim
2.71
KB
-rw-r--r--
2025-04-02 12:39
eiffel.vim
3.24
KB
-rw-r--r--
2025-04-02 12:39
elm.vim
3.2
KB
-rw-r--r--
2025-04-02 12:39
erlang.vim
48.89
KB
-rw-r--r--
2025-04-02 12:39
eruby.vim
2.95
KB
-rw-r--r--
2025-04-02 12:39
eterm.vim
743
B
-rw-r--r--
2025-04-02 12:39
falcon.vim
13.75
KB
-rw-r--r--
2025-04-02 12:39
fortran.vim
7.48
KB
-rw-r--r--
2025-04-02 12:39
framescript.vim
891
B
-rw-r--r--
2025-04-02 12:39
gitconfig.vim
841
B
-rw-r--r--
2025-04-02 12:39
gitolite.vim
1.25
KB
-rw-r--r--
2025-04-02 12:39
go.vim
1.63
KB
-rw-r--r--
2025-04-02 12:39
haml.vim
2.15
KB
-rw-r--r--
2025-04-02 12:39
hamster.vim
1.65
KB
-rw-r--r--
2025-04-02 12:39
hog.vim
1.85
KB
-rw-r--r--
2025-04-02 12:39
html.vim
32.86
KB
-rw-r--r--
2025-04-02 12:39
htmldjango.vim
273
B
-rw-r--r--
2025-04-02 12:39
idlang.vim
1.64
KB
-rw-r--r--
2025-04-02 12:39
ishd.vim
1.83
KB
-rw-r--r--
2025-04-02 12:39
j.vim
1.77
KB
-rw-r--r--
2025-04-02 12:39
java.vim
4.19
KB
-rw-r--r--
2025-04-02 12:39
javascript.vim
15
KB
-rw-r--r--
2025-04-02 12:39
javascriptreact.vim
109
B
-rw-r--r--
2025-04-02 12:39
json.vim
4.42
KB
-rw-r--r--
2025-04-02 12:39
jsonc.vim
4.62
KB
-rw-r--r--
2025-04-02 12:39
jsp.vim
462
B
-rw-r--r--
2025-04-02 12:39
julia.vim
15.09
KB
-rw-r--r--
2025-04-02 12:39
ld.vim
1.82
KB
-rw-r--r--
2025-04-02 12:39
less.vim
243
B
-rw-r--r--
2025-04-02 12:39
lifelines.vim
638
B
-rw-r--r--
2025-04-02 12:39
liquid.vim
1.85
KB
-rw-r--r--
2025-04-02 12:39
lisp.vim
353
B
-rw-r--r--
2025-04-02 12:39
logtalk.vim
1.82
KB
-rw-r--r--
2025-04-02 12:39
lua.vim
1.88
KB
-rw-r--r--
2025-04-02 12:39
mail.vim
355
B
-rw-r--r--
2025-04-02 12:39
make.vim
3.48
KB
-rw-r--r--
2025-04-02 12:39
matlab.vim
4.81
KB
-rw-r--r--
2025-04-02 12:39
meson.vim
5.19
KB
-rw-r--r--
2025-04-02 12:39
mf.vim
156
B
-rw-r--r--
2025-04-02 12:39
mma.vim
2.22
KB
-rw-r--r--
2025-04-02 12:39
mp.vim
11.06
KB
-rw-r--r--
2025-04-02 12:39
nginx.vim
362
B
-rw-r--r--
2025-04-02 12:39
nsis.vim
3.23
KB
-rw-r--r--
2025-04-02 12:39
objc.vim
1.61
KB
-rw-r--r--
2025-04-02 12:39
ocaml.vim
8.98
KB
-rw-r--r--
2025-04-02 12:39
occam.vim
4.59
KB
-rw-r--r--
2025-04-02 12:39
pascal.vim
5.66
KB
-rw-r--r--
2025-04-02 12:39
perl.vim
5.77
KB
-rw-r--r--
2025-04-02 12:39
php.vim
25.29
KB
-rw-r--r--
2025-04-02 12:39
postscr.vim
1.67
KB
-rw-r--r--
2025-04-02 12:39
pov.vim
2.6
KB
-rw-r--r--
2025-04-02 12:39
prolog.vim
1.82
KB
-rw-r--r--
2025-04-02 12:39
ps1.vim
410
B
-rw-r--r--
2025-04-02 12:39
pyrex.vim
326
B
-rw-r--r--
2025-04-02 12:39
python.vim
6.82
KB
-rw-r--r--
2025-04-02 12:39
r.vim
13.71
KB
-rw-r--r--
2025-04-02 12:39
raku.vim
3.34
KB
-rw-r--r--
2025-04-02 12:39
raml.vim
285
B
-rw-r--r--
2025-04-02 12:39
readline.vim
786
B
-rw-r--r--
2025-04-02 12:39
rhelp.vim
2.77
KB
-rw-r--r--
2025-04-02 12:39
rmd.vim
2.14
KB
-rw-r--r--
2025-04-02 12:39
rnoweb.vim
1.06
KB
-rw-r--r--
2025-04-02 12:39
rpl.vim
1.82
KB
-rw-r--r--
2025-04-02 12:39
rrst.vim
1.17
KB
-rw-r--r--
2025-04-02 12:39
rst.vim
1.78
KB
-rw-r--r--
2025-04-02 12:39
ruby.vim
29.44
KB
-rw-r--r--
2025-04-02 12:39
rust.vim
6.35
KB
-rw-r--r--
2025-04-02 12:39
sas.vim
5.15
KB
-rw-r--r--
2025-04-02 12:39
sass.vim
950
B
-rw-r--r--
2025-04-02 12:39
scala.vim
19.2
KB
-rw-r--r--
2025-04-02 12:39
scheme.vim
372
B
-rw-r--r--
2025-04-02 12:39
scss.vim
191
B
-rw-r--r--
2025-04-02 12:39
sdl.vim
2.76
KB
-rw-r--r--
2025-04-02 12:39
sh.vim
9.04
KB
-rw-r--r--
2025-04-02 12:39
sml.vim
6.33
KB
-rw-r--r--
2025-04-02 12:39
sql.vim
1.18
KB
-rw-r--r--
2025-04-02 12:39
sqlanywhere.vim
12.96
KB
-rw-r--r--
2025-04-02 12:39
sshconfig.vim
796
B
-rw-r--r--
2025-04-02 12:39
systemd.vim
205
B
-rw-r--r--
2025-04-02 12:39
systemverilog.vim
8.43
KB
-rw-r--r--
2025-04-02 12:39
tcl.vim
2.48
KB
-rw-r--r--
2025-04-02 12:39
tcsh.vim
1.35
KB
-rw-r--r--
2025-04-02 12:39
teraterm.vim
1.38
KB
-rw-r--r--
2025-04-02 12:39
tex.vim
13.37
KB
-rw-r--r--
2025-04-02 12:39
tf.vim
1.51
KB
-rw-r--r--
2025-04-02 12:39
tilde.vim
1013
B
-rw-r--r--
2025-04-02 12:39
treetop.vim
708
B
-rw-r--r--
2025-04-02 12:39
typescript.vim
14.14
KB
-rw-r--r--
2025-04-02 12:39
vb.vim
2.04
KB
-rw-r--r--
2025-04-02 12:39
verilog.vim
7.98
KB
-rw-r--r--
2025-04-02 12:39
vhdl.vim
14.32
KB
-rw-r--r--
2025-04-02 12:39
vim.vim
5.63
KB
-rw-r--r--
2025-04-02 12:39
vroom.vim
379
B
-rw-r--r--
2025-04-02 12:39
wast.vim
458
B
-rw-r--r--
2025-04-02 12:39
xf86conf.vim
709
B
-rw-r--r--
2025-04-02 12:39
xhtml.vim
269
B
-rw-r--r--
2025-04-02 12:39
xinetd.vim
1.2
KB
-rw-r--r--
2025-04-02 12:39
xml.vim
7.6
KB
-rw-r--r--
2025-04-02 12:39
xsd.vim
253
B
-rw-r--r--
2025-04-02 12:39
xslt.vim
297
B
-rw-r--r--
2025-04-02 12:39
yacc.vim
781
B
-rw-r--r--
2025-04-02 12:39
yaml.vim
5.34
KB
-rw-r--r--
2025-04-02 12:39
zimbu.vim
3.85
KB
-rw-r--r--
2025-04-02 12:39
zsh.vim
411
B
-rw-r--r--
2025-04-02 12:39
Save
Rename
"------------------------------------------------------------------------------ " Description: Vim Ada indent file " Language: Ada (2005) " $Id: ada.vim 887 2008-07-08 14:29:01Z krischik $ " Copyright: Copyright (C) 2006 Martin Krischik " Maintainer: Martin Krischik <krischik@users.sourceforge.net> " Neil Bird <neil@fnxweb.com> " Ned Okie <nokie@radford.edu> " $Author: krischik $ " $Date: 2008-07-08 16:29:01 +0200 (Di, 08 Jul 2008) $ " Version: 4.6 " $Revision: 887 $ " $HeadURL: https://gnuada.svn.sourceforge.net/svnroot/gnuada/trunk/tools/vim/indent/ada.vim $ " History: 24.05.2006 MK Unified Headers " 16.07.2006 MK Ada-Mode as vim-ball " 15.10.2006 MK Bram's suggestion for runtime integration " 05.11.2006 MK Bram suggested to save on spaces " 19.09.2007 NO g: missing before ada#Comment " Help Page: ft-vim-indent "------------------------------------------------------------------------------ " ToDo: " Verify handling of multi-line exprs. and recovery upon the final ';'. " Correctly find comments given '"' and "" ==> " syntax. " Combine the two large block-indent functions into one? "------------------------------------------------------------------------------ " Only load this indent file when no other was loaded. if exists("b:did_indent") || version < 700 finish endif let b:did_indent = 45 setlocal indentexpr=GetAdaIndent() setlocal indentkeys-=0{,0} setlocal indentkeys+=0=~then,0=~end,0=~elsif,0=~when,0=~exception,0=~begin,0=~is,0=~record " Only define the functions once. if exists("*GetAdaIndent") finish endif let s:keepcpo= &cpo set cpo&vim if exists("g:ada_with_gnat_project_files") let s:AdaBlockStart = '^\s*\(if\>\|while\>\|else\>\|elsif\>\|loop\>\|for\>.*\<\(loop\|use\)\>\|declare\>\|begin\>\|type\>.*\<is\>[^;]*$\|\(type\>.*\)\=\<record\>\|procedure\>\|function\>\|accept\>\|do\>\|task\>\|package\>\|project\>\|then\>\|when\>\|is\>\)' else let s:AdaBlockStart = '^\s*\(if\>\|while\>\|else\>\|elsif\>\|loop\>\|for\>.*\<\(loop\|use\)\>\|declare\>\|begin\>\|type\>.*\<is\>[^;]*$\|\(type\>.*\)\=\<record\>\|procedure\>\|function\>\|accept\>\|do\>\|task\>\|package\>\|then\>\|when\>\|is\>\)' endif " Section: s:MainBlockIndent {{{1 " " Try to find indent of the block we're in " prev_indent = the previous line's indent " prev_lnum = previous line (to start looking on) " blockstart = expr. that indicates a possible start of this block " stop_at = if non-null, if a matching line is found, gives up! " No recursive previous block analysis: simply look for a valid line " with a lesser or equal indent than we currently (on prev_lnum) have. " This shouldn't work as well as it appears to with lines that are currently " nowhere near the correct indent (e.g., start of line)! " Seems to work OK as it 'starts' with the indent of the /previous/ line. function s:MainBlockIndent (prev_indent, prev_lnum, blockstart, stop_at) let lnum = a:prev_lnum let line = substitute( getline(lnum), g:ada#Comment, '', '' ) while lnum > 1 if a:stop_at != '' && line =~ '^\s*' . a:stop_at && indent(lnum) < a:prev_indent return a:prev_indent elseif line =~ '^\s*' . a:blockstart let ind = indent(lnum) if ind < a:prev_indent return ind endif endif let lnum = prevnonblank(lnum - 1) " Get previous non-blank/non-comment-only line while 1 let line = substitute( getline(lnum), g:ada#Comment, '', '' ) if line !~ '^\s*$' && line !~ '^\s*#' break endif let lnum = prevnonblank(lnum - 1) if lnum <= 0 return a:prev_indent endif endwhile endwhile " Fallback - just move back one return a:prev_indent - shiftwidth() endfunction MainBlockIndent " Section: s:EndBlockIndent {{{1 " " Try to find indent of the block we're in (and about to complete), " including handling of nested blocks. Works on the 'end' of a block. " prev_indent = the previous line's indent " prev_lnum = previous line (to start looking on) " blockstart = expr. that indicates a possible start of this block " blockend = expr. that indicates a possible end of this block function s:EndBlockIndent( prev_indent, prev_lnum, blockstart, blockend ) let lnum = a:prev_lnum let line = getline(lnum) let ends = 0 while lnum > 1 if getline(lnum) =~ '^\s*' . a:blockstart let ind = indent(lnum) if ends <= 0 if ind < a:prev_indent return ind endif else let ends = ends - 1 endif elseif getline(lnum) =~ '^\s*' . a:blockend let ends = ends + 1 endif let lnum = prevnonblank(lnum - 1) " Get previous non-blank/non-comment-only line while 1 let line = getline(lnum) let line = substitute( line, g:ada#Comment, '', '' ) if line !~ '^\s*$' break endif let lnum = prevnonblank(lnum - 1) if lnum <= 0 return a:prev_indent endif endwhile endwhile " Fallback - just move back one return a:prev_indent - shiftwidth() endfunction EndBlockIndent " Section: s:StatementIndent {{{1 " " Return indent of previous statement-start " (after we've indented due to multi-line statements). " This time, we start searching on the line *before* the one given (which is " the end of a statement - we want the previous beginning). function s:StatementIndent( current_indent, prev_lnum ) let lnum = a:prev_lnum while lnum > 0 let prev_lnum = lnum let lnum = prevnonblank(lnum - 1) " Get previous non-blank/non-comment-only line while 1 let line = substitute( getline(lnum), g:ada#Comment, '', '' ) if line !~ '^\s*$' && line !~ '^\s*#' break endif let lnum = prevnonblank(lnum - 1) if lnum <= 0 return a:current_indent endif endwhile " Leave indent alone if our ';' line is part of a ';'-delineated " aggregate (e.g., procedure args.) or first line after a block start. if line =~ s:AdaBlockStart || line =~ '(\s*$' return a:current_indent endif if line !~ '[.=(]\s*$' let ind = indent(prev_lnum) if ind < a:current_indent return ind endif endif endwhile " Fallback - just use current one return a:current_indent endfunction StatementIndent " Section: GetAdaIndent {{{1 " " Find correct indent of a new line based upon what went before " function GetAdaIndent() " Find a non-blank line above the current line. let lnum = prevnonblank(v:lnum - 1) let ind = indent(lnum) let package_line = 0 " Get previous non-blank/non-comment-only/non-cpp line while 1 let line = substitute( getline(lnum), g:ada#Comment, '', '' ) if line !~ '^\s*$' && line !~ '^\s*#' break endif let lnum = prevnonblank(lnum - 1) if lnum <= 0 return ind endif endwhile " Get default indent (from prev. line) let ind = indent(lnum) let initind = ind " Now check what's on the previous line if line =~ s:AdaBlockStart || line =~ '(\s*$' " Check for false matches to AdaBlockStart let false_match = 0 if line =~ '^\s*\(procedure\|function\|package\)\>.*\<is\s*new\>' " Generic instantiation let false_match = 1 elseif line =~ ')\s*;\s*$' || line =~ '^\([^(]*([^)]*)\)*[^(]*;\s*$' " forward declaration let false_match = 1 endif " Move indent in if ! false_match let ind = ind + shiftwidth() endif elseif line =~ '^\s*\(case\|exception\)\>' " Move indent in twice (next 'when' will move back) let ind = ind + 2 * shiftwidth() elseif line =~ '^\s*end\s*record\>' " Move indent back to tallying 'type' preceding the 'record'. " Allow indent to be equal to 'end record's. let ind = s:MainBlockIndent( ind+shiftwidth(), lnum, 'type\>', '' ) elseif line =~ '\(^\s*new\>.*\)\@<!)\s*[;,]\s*$' " Revert to indent of line that started this parenthesis pair exe lnum exe 'normal! $F)%' if getline('.') =~ '^\s*(' " Dire layout - use previous indent (could check for g:ada#Comment here) let ind = indent( prevnonblank( line('.')-1 ) ) else let ind = indent('.') endif exe v:lnum elseif line =~ '[.=(]\s*$' " A statement continuation - move in one let ind = ind + shiftwidth() elseif line =~ '^\s*new\>' " Multiple line generic instantiation ('package blah is\nnew thingy') let ind = s:StatementIndent( ind - shiftwidth(), lnum ) elseif line =~ ';\s*$' " Statement end (but not 'end' ) - try to find current statement-start indent let ind = s:StatementIndent( ind, lnum ) endif " Check for potential argument list on next line let continuation = (line =~ '[A-Za-z0-9_]\s*$') " Check current line; search for simplistic matching start-of-block let line = getline(v:lnum) if line =~ '^\s*#' " Start of line for ada-pp let ind = 0 elseif continuation && line =~ '^\s*(' " Don't do this if we've already indented due to the previous line if ind == initind let ind = ind + shiftwidth() endif elseif line =~ '^\s*\(begin\|is\)\>' let ind = s:MainBlockIndent( ind, lnum, '\(procedure\|function\|declare\|package\|task\)\>', 'begin\>' ) elseif line =~ '^\s*record\>' let ind = s:MainBlockIndent( ind, lnum, 'type\>\|for\>.*\<use\>', '' ) + shiftwidth() elseif line =~ '^\s*\(else\|elsif\)\>' let ind = s:MainBlockIndent( ind, lnum, 'if\>', '' ) elseif line =~ '^\s*when\>' " Align 'when' one /in/ from matching block start let ind = s:MainBlockIndent( ind, lnum, '\(case\|exception\)\>', '' ) + shiftwidth() elseif line =~ '^\s*end\>\s*\<if\>' " End of if statements let ind = s:EndBlockIndent( ind, lnum, 'if\>', 'end\>\s*\<if\>' ) elseif line =~ '^\s*end\>\s*\<loop\>' " End of loops let ind = s:EndBlockIndent( ind, lnum, '\(\(while\|for\)\>.*\)\?\<loop\>', 'end\>\s*\<loop\>' ) elseif line =~ '^\s*end\>\s*\<record\>' " End of records let ind = s:EndBlockIndent( ind, lnum, '\(type\>.*\)\=\<record\>', 'end\>\s*\<record\>' ) elseif line =~ '^\s*end\>\s*\<procedure\>' " End of procedures let ind = s:EndBlockIndent( ind, lnum, 'procedure\>.*\<is\>', 'end\>\s*\<procedure\>' ) elseif line =~ '^\s*end\>\s*\<case\>' " End of case statement let ind = s:EndBlockIndent( ind, lnum, 'case\>.*\<is\>', 'end\>\s*\<case\>' ) elseif line =~ '^\s*end\>' " General case for end let ind = s:MainBlockIndent( ind, lnum, '\(if\|while\|for\|loop\|accept\|begin\|record\|case\|exception\|package\)\>', '' ) elseif line =~ '^\s*exception\>' let ind = s:MainBlockIndent( ind, lnum, 'begin\>', '' ) elseif line =~ '^\s*then\>' let ind = s:MainBlockIndent( ind, lnum, 'if\>', '' ) endif return ind endfunction GetAdaIndent let &cpo = s:keepcpo unlet s:keepcpo finish " 1}}} "------------------------------------------------------------------------------ " Copyright (C) 2006 Martin Krischik " " Vim is Charityware - see ":help license" or uganda.txt for licence details. "------------------------------------------------------------------------------ " vim: textwidth=78 wrap tabstop=8 shiftwidth=3 softtabstop=3 noexpandtab " vim: foldmethod=marker