Linux ubuntu 6.8.0-106-generic #106-Ubuntu SMP PREEMPT_DYNAMIC Fri Mar 6 07:58:08 UTC 2026 x86_64
nginx/1.24.0
: 67.217.245.49 | : 216.73.216.153
Cant Read [ /etc/named.conf ]
8.3.6
www-data
Bypass.pw
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
Backdoor Scanner
Backdoor Create
Alfa Webshell
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
share /
vim /
vim91 /
syntax /
[ HOME SHELL ]
Name
Size
Permission
Action
modula2
[ DIR ]
drwxr-xr-x
shared
[ DIR ]
drwxr-xr-x
2html.vim
77.09
KB
-rw-r--r--
8th.vim
40.42
KB
-rw-r--r--
a2ps.vim
2.37
KB
-rw-r--r--
a65.vim
6.24
KB
-rw-r--r--
aap.vim
5.63
KB
-rw-r--r--
abap.vim
8.94
KB
-rw-r--r--
abaqus.vim
1.07
KB
-rw-r--r--
abc.vim
1.8
KB
-rw-r--r--
abel.vim
4.99
KB
-rw-r--r--
acedb.vim
4.76
KB
-rw-r--r--
ada.vim
12.75
KB
-rw-r--r--
aflex.vim
4.27
KB
-rw-r--r--
ahdl.vim
2.71
KB
-rw-r--r--
aidl.vim
629
B
-rw-r--r--
alsaconf.vim
1.51
KB
-rw-r--r--
amiga.vim
2.9
KB
-rw-r--r--
aml.vim
23.57
KB
-rw-r--r--
ampl.vim
4.01
KB
-rw-r--r--
ant.vim
5.68
KB
-rw-r--r--
antlr.vim
1.75
KB
-rw-r--r--
apache.vim
15.11
KB
-rw-r--r--
apachestyle.vim
1.38
KB
-rw-r--r--
aptconf.vim
21.92
KB
-rw-r--r--
arch.vim
1.12
KB
-rw-r--r--
arduino.vim
3.88
KB
-rw-r--r--
art.vim
1.27
KB
-rw-r--r--
asciidoc.vim
10.88
KB
-rw-r--r--
asm.vim
5.9
KB
-rw-r--r--
asm68k.vim
13.95
KB
-rw-r--r--
asmh8300.vim
1.68
KB
-rw-r--r--
asn.vim
2.52
KB
-rw-r--r--
aspperl.vim
811
B
-rw-r--r--
aspvbs.vim
8.88
KB
-rw-r--r--
asterisk.vim
5.5
KB
-rw-r--r--
asteriskvm.vim
2.28
KB
-rw-r--r--
atlas.vim
2.54
KB
-rw-r--r--
autodoc.vim
3.64
KB
-rw-r--r--
autohotkey.vim
11.79
KB
-rw-r--r--
autoit.vim
46.92
KB
-rw-r--r--
automake.vim
3.84
KB
-rw-r--r--
ave.vim
1.86
KB
-rw-r--r--
avra.vim
2.62
KB
-rw-r--r--
awk.vim
8
KB
-rw-r--r--
ayacc.vim
2.52
KB
-rw-r--r--
b.vim
4.79
KB
-rw-r--r--
baan.vim
71.87
KB
-rw-r--r--
bash.vim
411
B
-rw-r--r--
basic.vim
9.19
KB
-rw-r--r--
bc.vim
1.75
KB
-rw-r--r--
bdf.vim
3.75
KB
-rw-r--r--
bib.vim
5.86
KB
-rw-r--r--
bindzone.vim
4.82
KB
-rw-r--r--
bitbake.vim
5.79
KB
-rw-r--r--
blank.vim
794
B
-rw-r--r--
bsdl.vim
377
B
-rw-r--r--
bst.vim
2.76
KB
-rw-r--r--
btm.vim
9.07
KB
-rw-r--r--
bzl.vim
374
B
-rw-r--r--
bzr.vim
1.52
KB
-rw-r--r--
c.vim
27.51
KB
-rw-r--r--
cabal.vim
7.6
KB
-rw-r--r--
cabalconfig.vim
1.15
KB
-rw-r--r--
cabalproject.vim
944
B
-rw-r--r--
calendar.vim
4.92
KB
-rw-r--r--
catalog.vim
921
B
-rw-r--r--
cdl.vim
3.02
KB
-rw-r--r--
cdrdaoconf.vim
3.56
KB
-rw-r--r--
cdrtoc.vim
22.22
KB
-rw-r--r--
cf.vim
18.21
KB
-rw-r--r--
cfg.vim
1.32
KB
-rw-r--r--
ch.vim
922
B
-rw-r--r--
chaiscript.vim
2.82
KB
-rw-r--r--
change.vim
901
B
-rw-r--r--
changelog.vim
2.05
KB
-rw-r--r--
chaskell.vim
333
B
-rw-r--r--
chatito.vim
1.81
KB
-rw-r--r--
cheetah.vim
1.71
KB
-rw-r--r--
chicken.vim
3.18
KB
-rw-r--r--
chill.vim
7.84
KB
-rw-r--r--
chordpro.vim
6.36
KB
-rw-r--r--
cl.vim
3.81
KB
-rw-r--r--
clean.vim
3.08
KB
-rw-r--r--
clipper.vim
5.45
KB
-rw-r--r--
clojure.vim
46.58
KB
-rw-r--r--
cmake.vim
161.33
KB
-rw-r--r--
cmod.vim
6.12
KB
-rw-r--r--
cmusrc.vim
12.62
KB
-rw-r--r--
cobol.vim
13.27
KB
-rw-r--r--
coco.vim
1.3
KB
-rw-r--r--
colortest.vim
3.19
KB
-rw-r--r--
conaryrecipe.vim
7.85
KB
-rw-r--r--
conf.vim
879
B
-rw-r--r--
config.vim
2.03
KB
-rw-r--r--
confini.vim
230
B
-rw-r--r--
context.vim
6.25
KB
-rw-r--r--
cpp.vim
5.86
KB
-rw-r--r--
crm.vim
1.17
KB
-rw-r--r--
crontab.vim
2.2
KB
-rw-r--r--
cs.vim
14.14
KB
-rw-r--r--
csc.vim
8.25
KB
-rw-r--r--
csdl.vim
23.2
KB
-rw-r--r--
csh.vim
6.31
KB
-rw-r--r--
csp.vim
6.98
KB
-rw-r--r--
css.vim
33.07
KB
-rw-r--r--
cterm.vim
6.26
KB
-rw-r--r--
ctrlh.vim
754
B
-rw-r--r--
cucumber.vim
51.37
KB
-rw-r--r--
cuda.vim
2.63
KB
-rw-r--r--
cupl.vim
3.78
KB
-rw-r--r--
cuplsim.vim
1.87
KB
-rw-r--r--
cvs.vim
882
B
-rw-r--r--
cvsrc.vim
1.22
KB
-rw-r--r--
cweb.vim
2.82
KB
-rw-r--r--
cynlib.vim
2.49
KB
-rw-r--r--
cynpp.vim
1.23
KB
-rw-r--r--
d.vim
27.96
KB
-rw-r--r--
dart.vim
3.21
KB
-rw-r--r--
datascript.vim
3.72
KB
-rw-r--r--
dcd.vim
1.76
KB
-rw-r--r--
dcl.vim
6.23
KB
-rw-r--r--
deb822sources.vim
3.16
KB
-rw-r--r--
debchangelog.vim
2.78
KB
-rw-r--r--
debcontrol.vim
8.58
KB
-rw-r--r--
debcopyright.vim
1.11
KB
-rw-r--r--
debsources.vim
1.93
KB
-rw-r--r--
def.vim
1.07
KB
-rw-r--r--
denyhosts.vim
7.19
KB
-rw-r--r--
dep3patch.vim
2.93
KB
-rw-r--r--
desc.vim
3
KB
-rw-r--r--
desktop.vim
9.16
KB
-rw-r--r--
dictconf.vim
3.04
KB
-rw-r--r--
dictdconf.vim
6.31
KB
-rw-r--r--
diff.vim
17.06
KB
-rw-r--r--
dircolors.vim
6.78
KB
-rw-r--r--
dirpager.vim
1.75
KB
-rw-r--r--
diva.vim
4.63
KB
-rw-r--r--
django.vim
3.92
KB
-rw-r--r--
dns.vim
132
B
-rw-r--r--
dnsmasq.vim
9.83
KB
-rw-r--r--
docbk.vim
10.08
KB
-rw-r--r--
docbksgml.vim
193
B
-rw-r--r--
docbkxml.vim
191
B
-rw-r--r--
dockerfile.vim
2.42
KB
-rw-r--r--
dosbatch.vim
6.25
KB
-rw-r--r--
dosini.vim
1.5
KB
-rw-r--r--
dot.vim
4.39
KB
-rw-r--r--
doxygen.vim
38.17
KB
-rw-r--r--
dracula.vim
2.61
KB
-rw-r--r--
dsl.vim
1.28
KB
-rw-r--r--
dtd.vim
4.87
KB
-rw-r--r--
dtml.vim
16.22
KB
-rw-r--r--
dtrace.vim
6.29
KB
-rw-r--r--
dts.vim
5.15
KB
-rw-r--r--
dune.vim
1.9
KB
-rw-r--r--
dylan.vim
3.33
KB
-rw-r--r--
dylanintr.vim
1.05
KB
-rw-r--r--
dylanlid.vim
664
B
-rw-r--r--
ecd.vim
1.2
KB
-rw-r--r--
edif.vim
1.25
KB
-rw-r--r--
editorconfig.vim
613
B
-rw-r--r--
eiffel.vim
6.76
KB
-rw-r--r--
elf.vim
2.29
KB
-rw-r--r--
elinks.vim
10.25
KB
-rw-r--r--
elm.vim
3.57
KB
-rw-r--r--
elmfilt.vim
2.83
KB
-rw-r--r--
erlang.vim
11.13
KB
-rw-r--r--
eruby.vim
3.06
KB
-rw-r--r--
esmtprc.vim
938
B
-rw-r--r--
esqlc.vim
2.04
KB
-rw-r--r--
esterel.vim
2.98
KB
-rw-r--r--
eterm.vim
18.72
KB
-rw-r--r--
euphoria3.vim
5.96
KB
-rw-r--r--
euphoria4.vim
14.2
KB
-rw-r--r--
eviews.vim
4.89
KB
-rw-r--r--
exim.vim
17.66
KB
-rw-r--r--
expect.vim
3.65
KB
-rw-r--r--
exports.vim
1.71
KB
-rw-r--r--
falcon.vim
11.73
KB
-rw-r--r--
fan.vim
5.32
KB
-rw-r--r--
fasm.vim
8.55
KB
-rw-r--r--
fdcc.vim
5.52
KB
-rw-r--r--
fetchmail.vim
2.93
KB
-rw-r--r--
fgl.vim
7.1
KB
-rw-r--r--
fish.vim
9.21
KB
-rw-r--r--
flexwiki.vim
5.31
KB
-rw-r--r--
focexec.vim
3.44
KB
-rw-r--r--
form.vim
6.24
KB
-rw-r--r--
forth.vim
16.24
KB
-rw-r--r--
fortran.vim
33.3
KB
-rw-r--r--
foxpro.vim
32.09
KB
-rw-r--r--
fpcmake.vim
2
KB
-rw-r--r--
framescript.vim
11.41
KB
-rw-r--r--
freebasic.vim
26
KB
-rw-r--r--
fstab.vim
29.05
KB
-rw-r--r--
fvwm.vim
24.44
KB
-rw-r--r--
fvwm2m4.vim
711
B
-rw-r--r--
gdb.vim
4.31
KB
-rw-r--r--
gdmo.vim
3.22
KB
-rw-r--r--
gdresource.vim
2.24
KB
-rw-r--r--
gdscript.vim
3.79
KB
-rw-r--r--
gdshader.vim
1.97
KB
-rw-r--r--
gedcom.vim
2.22
KB
-rw-r--r--
gemtext.vim
682
B
-rw-r--r--
gift.vim
10
KB
-rw-r--r--
git.vim
7.29
KB
-rw-r--r--
gitattributes.vim
2.38
KB
-rw-r--r--
gitcommit.vim
6.46
KB
-rw-r--r--
gitconfig.vim
1.56
KB
-rw-r--r--
gitignore.vim
905
B
-rw-r--r--
gitolite.vim
4.35
KB
-rw-r--r--
gitrebase.vim
3.13
KB
-rw-r--r--
gitsendemail.vim
580
B
-rw-r--r--
gkrellmrc.vim
4.02
KB
-rw-r--r--
gnash.vim
3.38
KB
-rw-r--r--
gnuplot.vim
23.27
KB
-rw-r--r--
go.vim
24.21
KB
-rw-r--r--
godoc.vim
352
B
-rw-r--r--
gp.vim
3.3
KB
-rw-r--r--
gpg.vim
7.92
KB
-rw-r--r--
gprof.vim
2.09
KB
-rw-r--r--
grads.vim
1.7
KB
-rw-r--r--
gretl.vim
3.64
KB
-rw-r--r--
groff.vim
321
B
-rw-r--r--
groovy.vim
21.96
KB
-rw-r--r--
group.vim
1.68
KB
-rw-r--r--
grub.vim
3.8
KB
-rw-r--r--
gsp.vim
1.98
KB
-rw-r--r--
gtkrc.vim
9.1
KB
-rw-r--r--
gvpr.vim
3.3
KB
-rw-r--r--
gyp.vim
1.62
KB
-rw-r--r--
haml.vim
6.91
KB
-rw-r--r--
hamster.vim
13.52
KB
-rw-r--r--
hare.vim
4.19
KB
-rw-r--r--
haskell.vim
9.08
KB
-rw-r--r--
haste.vim
4.88
KB
-rw-r--r--
hastepreproc.vim
1.39
KB
-rw-r--r--
hb.vim
3.08
KB
-rw-r--r--
help.vim
8.75
KB
-rw-r--r--
help_ru.vim
3.44
KB
-rw-r--r--
hercules.vim
5.59
KB
-rw-r--r--
hex.vim
3.92
KB
-rw-r--r--
hgcommit.vim
1.38
KB
-rw-r--r--
hitest.vim
275
B
-rw-r--r--
hlsplaylist.vim
7.44
KB
-rw-r--r--
hog.vim
11.83
KB
-rw-r--r--
hollywood.vim
48.99
KB
-rw-r--r--
hostconf.vim
3.78
KB
-rw-r--r--
hostsaccess.vim
549
B
-rw-r--r--
html.vim
19.04
KB
-rw-r--r--
htmlcheetah.vim
488
B
-rw-r--r--
htmldjango.vim
1011
B
-rw-r--r--
htmlm4.vim
670
B
-rw-r--r--
htmlos.vim
8.12
KB
-rw-r--r--
i3config.vim
21.81
KB
-rw-r--r--
ia64.vim
10.23
KB
-rw-r--r--
ibasic.vim
6.87
KB
-rw-r--r--
icemenu.vim
824
B
-rw-r--r--
icon.vim
8.72
KB
-rw-r--r--
idl.vim
19.43
KB
-rw-r--r--
idlang.vim
13.15
KB
-rw-r--r--
indent.vim
7.03
KB
-rw-r--r--
inform.vim
19.03
KB
-rw-r--r--
initex.vim
18.77
KB
-rw-r--r--
initng.vim
3.3
KB
-rw-r--r--
inittab.vim
2.48
KB
-rw-r--r--
ipfilter.vim
1.62
KB
-rw-r--r--
ishd.vim
26.42
KB
-rw-r--r--
iss.vim
4.89
KB
-rw-r--r--
ist.vim
1.95
KB
-rw-r--r--
j.vim
9.22
KB
-rw-r--r--
jal.vim
8.75
KB
-rw-r--r--
jam.vim
26.08
KB
-rw-r--r--
jargon.vim
740
B
-rw-r--r--
java.vim
18.96
KB
-rw-r--r--
javacc.vim
2.2
KB
-rw-r--r--
javascript.vim
6.15
KB
-rw-r--r--
javascriptreact.vim
133
B
-rw-r--r--
jess.vim
6.08
KB
-rw-r--r--
jgraph.vim
1.18
KB
-rw-r--r--
jovial.vim
4.01
KB
-rw-r--r--
jproperties.vim
5.37
KB
-rw-r--r--
json.vim
6.11
KB
-rw-r--r--
json5.vim
2.5
KB
-rw-r--r--
jsonc.vim
1.69
KB
-rw-r--r--
jsp.vim
2.62
KB
-rw-r--r--
julia.vim
37.02
KB
-rw-r--r--
kconfig.vim
35.45
KB
-rw-r--r--
kivy.vim
986
B
-rw-r--r--
kix.vim
6.18
KB
-rw-r--r--
kotlin.vim
9.21
KB
-rw-r--r--
krl.vim
18.01
KB
-rw-r--r--
kscript.vim
1.94
KB
-rw-r--r--
kwt.vim
2.4
KB
-rw-r--r--
lace.vim
3.98
KB
-rw-r--r--
latte.vim
3.43
KB
-rw-r--r--
lc.vim
724
B
-rw-r--r--
ld.vim
2.88
KB
-rw-r--r--
ldapconf.vim
12.99
KB
-rw-r--r--
ldif.vim
1014
B
-rw-r--r--
less.vim
4.1
KB
-rw-r--r--
lex.vim
8.45
KB
-rw-r--r--
lftp.vim
7.3
KB
-rw-r--r--
lhaskell.vim
4.82
KB
-rw-r--r--
libao.vim
636
B
-rw-r--r--
lifelines.vim
6.48
KB
-rw-r--r--
lilo.vim
10.18
KB
-rw-r--r--
limits.vim
1.29
KB
-rw-r--r--
liquid.vim
6.31
KB
-rw-r--r--
lisp.vim
35.18
KB
-rw-r--r--
lite.vim
4.73
KB
-rw-r--r--
litestep.vim
6.52
KB
-rw-r--r--
livebook.vim
154
B
-rw-r--r--
loginaccess.vim
4.1
KB
-rw-r--r--
logindefs.vim
7.36
KB
-rw-r--r--
logtalk.vim
16.67
KB
-rw-r--r--
lotos.vim
2.31
KB
-rw-r--r--
lout.vim
4.22
KB
-rw-r--r--
lpc.vim
22.6
KB
-rw-r--r--
lprolog.vim
3.89
KB
-rw-r--r--
lscript.vim
11.82
KB
-rw-r--r--
lsl.vim
15.43
KB
-rw-r--r--
lss.vim
4.75
KB
-rw-r--r--
lua.vim
15.64
KB
-rw-r--r--
luau.vim
252
B
-rw-r--r--
lynx.vim
7.06
KB
-rw-r--r--
lyrics.vim
1.14
KB
-rw-r--r--
m3build.vim
5.64
KB
-rw-r--r--
m3quake.vim
2.57
KB
-rw-r--r--
m4.vim
2.66
KB
-rw-r--r--
mail.vim
5.93
KB
-rw-r--r--
mailaliases.vim
2.7
KB
-rw-r--r--
mailcap.vim
1.11
KB
-rw-r--r--
make.vim
6.08
KB
-rw-r--r--
mallard.vim
1.69
KB
-rw-r--r--
man.vim
1.76
KB
-rw-r--r--
manconf.vim
4.24
KB
-rw-r--r--
manual.vim
975
B
-rw-r--r--
maple.vim
27.9
KB
-rw-r--r--
markdown.vim
10.34
KB
-rw-r--r--
masm.vim
27.96
KB
-rw-r--r--
mason.vim
3.8
KB
-rw-r--r--
master.vim
1022
B
-rw-r--r--
matlab.vim
4.21
KB
-rw-r--r--
maxima.vim
18.36
KB
-rw-r--r--
mel.vim
3.33
KB
-rw-r--r--
mermaid.vim
2.8
KB
-rw-r--r--
meson.vim
3.96
KB
-rw-r--r--
messages.vim
2.65
KB
-rw-r--r--
mf.vim
15.56
KB
-rw-r--r--
mgl.vim
3.64
KB
-rw-r--r--
mgp.vim
1.95
KB
-rw-r--r--
mib.vim
2.63
KB
-rw-r--r--
mix.vim
2.87
KB
-rw-r--r--
mma.vim
11.52
KB
-rw-r--r--
mmix.vim
4.85
KB
-rw-r--r--
mmp.vim
1.45
KB
-rw-r--r--
modconf.vim
1.39
KB
-rw-r--r--
model.vim
1.49
KB
-rw-r--r--
modsim3.vim
3.54
KB
-rw-r--r--
modula2.vim
383
B
-rw-r--r--
modula3.vim
4.43
KB
-rw-r--r--
mojo.vim
12.35
KB
-rw-r--r--
monk.vim
9.98
KB
-rw-r--r--
moo.vim
9.02
KB
-rw-r--r--
mp.vim
12.21
KB
-rw-r--r--
mplayerconf.vim
7.31
KB
-rw-r--r--
mrxvtrc.vim
9.38
KB
-rw-r--r--
msidl.vim
3.38
KB
-rw-r--r--
msmessages.vim
6.17
KB
-rw-r--r--
msql.vim
2.33
KB
-rw-r--r--
mupad.vim
15.14
KB
-rw-r--r--
murphi.vim
4.47
KB
-rw-r--r--
mush.vim
12.88
KB
-rw-r--r--
muttrc.vim
67.86
KB
-rw-r--r--
mysql.vim
17.2
KB
-rw-r--r--
n1ql.vim
12.6
KB
-rw-r--r--
named.vim
9.77
KB
-rw-r--r--
nanorc.vim
10.37
KB
-rw-r--r--
nasm.vim
29.64
KB
-rw-r--r--
nastran.vim
8.3
KB
-rw-r--r--
natural.vim
6.81
KB
-rw-r--r--
ncf.vim
13.1
KB
-rw-r--r--
neomuttrc.vim
66.12
KB
-rw-r--r--
netrc.vim
2
KB
-rw-r--r--
netrw.vim
7.03
KB
-rw-r--r--
nginx.vim
115.45
KB
-rw-r--r--
ninja.vim
2.82
KB
-rw-r--r--
nix.vim
11.55
KB
-rw-r--r--
nosyntax.vim
821
B
-rw-r--r--
nqc.vim
13.74
KB
-rw-r--r--
nroff.vim
7.61
KB
-rw-r--r--
nsis.vim
36.49
KB
-rw-r--r--
obj.vim
2.72
KB
-rw-r--r--
objc.vim
40.79
KB
-rw-r--r--
objcpp.vim
600
B
-rw-r--r--
obse.vim
84.45
KB
-rw-r--r--
ocaml.vim
16.56
KB
-rw-r--r--
occam.vim
4.21
KB
-rw-r--r--
omnimark.vim
6.23
KB
-rw-r--r--
opam.vim
1.37
KB
-rw-r--r--
openroad.vim
13.65
KB
-rw-r--r--
openscad.vim
4.82
KB
-rw-r--r--
openvpn.vim
2.25
KB
-rw-r--r--
opl.vim
4.03
KB
-rw-r--r--
ora.vim
26.5
KB
-rw-r--r--
pacmanlog.vim
1.83
KB
-rw-r--r--
pamconf.vim
5.81
KB
-rw-r--r--
pamenv.vim
1.11
KB
-rw-r--r--
papp.vim
3.7
KB
-rw-r--r--
pascal.vim
15.61
KB
-rw-r--r--
passwd.vim
2.39
KB
-rw-r--r--
pbtxt.vim
1.34
KB
-rw-r--r--
pcap.vim
1.46
KB
-rw-r--r--
pccts.vim
4
KB
-rw-r--r--
pdf.vim
3.46
KB
-rw-r--r--
perl.vim
44.09
KB
-rw-r--r--
pf.vim
10.13
KB
-rw-r--r--
pfmain.vim
90.56
KB
-rw-r--r--
php.vim
111.88
KB
-rw-r--r--
phtml.vim
151
B
-rw-r--r--
pic.vim
3.25
KB
-rw-r--r--
pike.vim
21.3
KB
-rw-r--r--
pilrc.vim
5.19
KB
-rw-r--r--
pine.vim
15.05
KB
-rw-r--r--
pinfo.vim
5.17
KB
-rw-r--r--
plaintex.vim
10.06
KB
-rw-r--r--
pli.vim
12.91
KB
-rw-r--r--
plm.vim
5.24
KB
-rw-r--r--
plp.vim
1.24
KB
-rw-r--r--
plsql.vim
61.42
KB
-rw-r--r--
po.vim
6.24
KB
-rw-r--r--
pod.vim
10.6
KB
-rw-r--r--
poefilter.vim
5.65
KB
-rw-r--r--
poke.vim
5.07
KB
-rw-r--r--
postscr.vim
45.05
KB
-rw-r--r--
pov.vim
8.84
KB
-rw-r--r--
povini.vim
3.41
KB
-rw-r--r--
ppd.vim
870
B
-rw-r--r--
ppwiz.vim
2.71
KB
-rw-r--r--
prescribe.vim
2.33
KB
-rw-r--r--
privoxy.vim
3.5
KB
-rw-r--r--
procmail.vim
1.97
KB
-rw-r--r--
progress.vim
31
KB
-rw-r--r--
prolog.vim
4.39
KB
-rw-r--r--
promela.vim
1.69
KB
-rw-r--r--
proto.vim
3.46
KB
-rw-r--r--
protocols.vim
1.4
KB
-rw-r--r--
ps1.vim
7.33
KB
-rw-r--r--
ps1xml.vim
1.25
KB
-rw-r--r--
psf.vim
4.19
KB
-rw-r--r--
psl.vim
2.47
KB
-rw-r--r--
ptcap.vim
4.03
KB
-rw-r--r--
purifylog.vim
3.28
KB
-rw-r--r--
pymanifest.vim
1.05
KB
-rw-r--r--
pyrex.vim
1.62
KB
-rw-r--r--
python.vim
13.61
KB
-rw-r--r--
python2.vim
14.36
KB
-rw-r--r--
qb64.vim
7.78
KB
-rw-r--r--
qf.vim
662
B
-rw-r--r--
qml.vim
52.41
KB
-rw-r--r--
quake.vim
8.35
KB
-rw-r--r--
quarto.vim
742
B
-rw-r--r--
r.vim
14.62
KB
-rw-r--r--
racc.vim
5.49
KB
-rw-r--r--
racket.vim
33.78
KB
-rw-r--r--
radiance.vim
6.99
KB
-rw-r--r--
raku.vim
73.89
KB
-rw-r--r--
raml.vim
4.35
KB
-rw-r--r--
rapid.vim
45.54
KB
-rw-r--r--
ratpoison.vim
17.61
KB
-rw-r--r--
rc.vim
9.79
KB
-rw-r--r--
rcs.vim
2.08
KB
-rw-r--r--
rcslog.vim
557
B
-rw-r--r--
readline.vim
17.08
KB
-rw-r--r--
rebol.vim
7
KB
-rw-r--r--
redif.vim
85.88
KB
-rw-r--r--
registry.vim
3.28
KB
-rw-r--r--
rego.vim
5.55
KB
-rw-r--r--
remind.vim
2.65
KB
-rw-r--r--
resolv.vim
6.21
KB
-rw-r--r--
reva.vim
7.41
KB
-rw-r--r--
rexx.vim
14.97
KB
-rw-r--r--
rhelp.vim
11.85
KB
-rw-r--r--
rib.vim
2.14
KB
-rw-r--r--
rmd.vim
10.51
KB
-rw-r--r--
rnc.vim
2.21
KB
-rw-r--r--
rng.vim
817
B
-rw-r--r--
rnoweb.vim
1.87
KB
-rw-r--r--
robots.vim
1.49
KB
-rw-r--r--
routeros.vim
3.28
KB
-rw-r--r--
rpcgen.vim
1.63
KB
-rw-r--r--
rpl.vim
25.1
KB
-rw-r--r--
rrst.vim
1.28
KB
-rw-r--r--
rst.vim
11.5
KB
-rw-r--r--
rtf.vim
2.28
KB
-rw-r--r--
ruby.vim
40.92
KB
-rw-r--r--
rust.vim
22.25
KB
-rw-r--r--
samba.vim
5.99
KB
-rw-r--r--
sas.vim
33.29
KB
-rw-r--r--
sass.vim
6.26
KB
-rw-r--r--
sather.vim
3.41
KB
-rw-r--r--
sbt.vim
880
B
-rw-r--r--
scala.vim
11.41
KB
-rw-r--r--
scdoc.vim
2.68
KB
-rw-r--r--
scheme.vim
18.98
KB
-rw-r--r--
scilab.vim
3.13
KB
-rw-r--r--
screen.vim
8.89
KB
-rw-r--r--
scss.vim
526
B
-rw-r--r--
sd.vim
2.17
KB
-rw-r--r--
sdc.vim
1.36
KB
-rw-r--r--
sdl.vim
6.41
KB
-rw-r--r--
sed.vim
5.27
KB
-rw-r--r--
sendpr.vim
938
B
-rw-r--r--
sensors.vim
1.48
KB
-rw-r--r--
services.vim
1.78
KB
-rw-r--r--
setserial.vim
5.11
KB
-rw-r--r--
sexplib.vim
3.6
KB
-rw-r--r--
sgml.vim
8.66
KB
-rw-r--r--
sgmldecl.vim
1.99
KB
-rw-r--r--
sgmllnx.vim
1.81
KB
-rw-r--r--
sh.vim
45.2
KB
-rw-r--r--
sicad.vim
18.04
KB
-rw-r--r--
sieve.vim
1.63
KB
-rw-r--r--
sil.vim
8.34
KB
-rw-r--r--
simula.vim
3.29
KB
-rw-r--r--
sinda.vim
3.58
KB
-rw-r--r--
sindacmp.vim
1.24
KB
-rw-r--r--
sindaout.vim
1.92
KB
-rw-r--r--
sisu.vim
21.66
KB
-rw-r--r--
skill.vim
25.17
KB
-rw-r--r--
sl.vim
3.99
KB
-rw-r--r--
slang.vim
3.22
KB
-rw-r--r--
slice.vim
2.86
KB
-rw-r--r--
slpconf.vim
11.51
KB
-rw-r--r--
slpreg.vim
5.22
KB
-rw-r--r--
slpspi.vim
1.15
KB
-rw-r--r--
slrnrc.vim
12.51
KB
-rw-r--r--
slrnsc.vim
3.03
KB
-rw-r--r--
sm.vim
2.78
KB
-rw-r--r--
smarty.vim
2.82
KB
-rw-r--r--
smcl.vim
11.76
KB
-rw-r--r--
smil.vim
5.48
KB
-rw-r--r--
smith.vim
793
B
-rw-r--r--
sml.vim
9.25
KB
-rw-r--r--
snnsnet.vim
2.42
KB
-rw-r--r--
snnspat.vim
2.18
KB
-rw-r--r--
snnsres.vim
1.89
KB
-rw-r--r--
snobol4.vim
5.21
KB
-rw-r--r--
solidity.vim
21.55
KB
-rw-r--r--
spec.vim
12.41
KB
-rw-r--r--
specman.vim
7.17
KB
-rw-r--r--
spice.vim
2.19
KB
-rw-r--r--
splint.vim
15.42
KB
-rw-r--r--
spup.vim
13.6
KB
-rw-r--r--
spyce.vim
4.35
KB
-rw-r--r--
sql.vim
1.09
KB
-rw-r--r--
sqlanywhere.vim
40.95
KB
-rw-r--r--
sqlforms.vim
6.58
KB
-rw-r--r--
sqlhana.vim
10.77
KB
-rw-r--r--
sqlinformix.vim
5.76
KB
-rw-r--r--
sqlj.vim
2.9
KB
-rw-r--r--
sqloracle.vim
7.47
KB
-rw-r--r--
sqr.vim
12.71
KB
-rw-r--r--
squid.vim
6.77
KB
-rw-r--r--
squirrel.vim
1.46
KB
-rw-r--r--
srec.vim
3.73
KB
-rw-r--r--
srt.vim
2.09
KB
-rw-r--r--
ssa.vim
2.15
KB
-rw-r--r--
sshconfig.vim
12.19
KB
-rw-r--r--
sshdconfig.vim
13.05
KB
-rw-r--r--
st.vim
2.69
KB
-rw-r--r--
stata.vim
26.42
KB
-rw-r--r--
stp.vim
5.3
KB
-rw-r--r--
strace.vim
1.85
KB
-rw-r--r--
structurizr.vim
2.3
KB
-rw-r--r--
sudoers.vim
23.96
KB
-rw-r--r--
svg.vim
436
B
-rw-r--r--
svn.vim
1.81
KB
-rw-r--r--
swayconfig.vim
12.24
KB
-rw-r--r--
swift.vim
8.62
KB
-rw-r--r--
swiftgyb.vim
822
B
-rw-r--r--
swig.vim
4.41
KB
-rw-r--r--
syncolor.vim
4.69
KB
-rw-r--r--
synload.vim
2.06
KB
-rw-r--r--
syntax.vim
1.34
KB
-rw-r--r--
sysctl.vim
1.13
KB
-rw-r--r--
systemd.vim
184
B
-rw-r--r--
systemverilog.vim
3.46
KB
-rw-r--r--
tads.vim
6.7
KB
-rw-r--r--
tags.vim
1.13
KB
-rw-r--r--
tak.vim
2.85
KB
-rw-r--r--
takcmp.vim
1.56
KB
-rw-r--r--
takout.vim
1.95
KB
-rw-r--r--
tap.vim
4.04
KB
-rw-r--r--
tar.vim
403
B
-rw-r--r--
taskdata.vim
1.18
KB
-rw-r--r--
taskedit.vim
1.1
KB
-rw-r--r--
tasm.vim
5.56
KB
-rw-r--r--
tcl.vim
16.87
KB
-rw-r--r--
tcsh.vim
13.36
KB
-rw-r--r--
template.vim
515
B
-rw-r--r--
teraterm.vim
4.86
KB
-rw-r--r--
terminfo.vim
4.69
KB
-rw-r--r--
tex.vim
65.84
KB
-rw-r--r--
texinfo.vim
1.55
KB
-rw-r--r--
texmf.vim
2.23
KB
-rw-r--r--
tf.vim
6.74
KB
-rw-r--r--
tidy.vim
13.24
KB
-rw-r--r--
tilde.vim
1.5
KB
-rw-r--r--
tli.vim
1.62
KB
-rw-r--r--
tmux.vim
9.36
KB
-rw-r--r--
toml.vim
3.02
KB
-rw-r--r--
tpp.vim
3.34
KB
-rw-r--r--
trasys.vim
4.92
KB
-rw-r--r--
treetop.vim
3.58
KB
-rw-r--r--
trustees.vim
1.54
KB
-rw-r--r--
tsalt.vim
8.13
KB
-rw-r--r--
tsscl.vim
5
KB
-rw-r--r--
tssgm.vim
2.72
KB
-rw-r--r--
tssop.vim
1.74
KB
-rw-r--r--
tt2.vim
7.74
KB
-rw-r--r--
tt2html.vim
586
B
-rw-r--r--
tt2js.vim
592
B
-rw-r--r--
typescript.vim
1.38
KB
-rw-r--r--
typescriptreact.vim
3.87
KB
-rw-r--r--
uc.vim
6.48
KB
-rw-r--r--
udevconf.vim
1.2
KB
-rw-r--r--
udevperm.vim
2.35
KB
-rw-r--r--
udevrules.vim
6.8
KB
-rw-r--r--
uil.vim
2.75
KB
-rw-r--r--
unison.vim
5.6
KB
-rw-r--r--
updatedb.vim
1.19
KB
-rw-r--r--
upstart.vim
3.08
KB
-rw-r--r--
upstreamdat.vim
13.72
KB
-rw-r--r--
upstreaminstalllog.vim
971
B
-rw-r--r--
upstreamlog.vim
2.56
KB
-rw-r--r--
upstreamrpt.vim
13.86
KB
-rw-r--r--
urlshortcut.vim
348
B
-rw-r--r--
usserverlog.vim
3.04
KB
-rw-r--r--
usw2kagtlog.vim
2.64
KB
-rw-r--r--
valgrind.vim
3.14
KB
-rw-r--r--
vb.vim
20.63
KB
-rw-r--r--
vdf.vim
1.37
KB
-rw-r--r--
vera.vim
19.09
KB
-rw-r--r--
verilog.vim
4.94
KB
-rw-r--r--
verilogams.vim
5.94
KB
-rw-r--r--
vgrindefs.vim
1.25
KB
-rw-r--r--
vhdl.vim
9.43
KB
-rw-r--r--
vim.vim
78.81
KB
-rw-r--r--
viminfo.vim
1.28
KB
-rw-r--r--
virata.vim
11.34
KB
-rw-r--r--
vmasm.vim
8.31
KB
-rw-r--r--
voscm.vim
6.81
KB
-rw-r--r--
vrml.vim
12.49
KB
-rw-r--r--
vroom.vim
3.41
KB
-rw-r--r--
vsejcl.vim
1004
B
-rw-r--r--
vue.vim
433
B
-rw-r--r--
wat.vim
4.75
KB
-rw-r--r--
wdiff.vim
716
B
-rw-r--r--
wdl.vim
1.61
KB
-rw-r--r--
web.vim
1.09
KB
-rw-r--r--
webmacro.vim
3.01
KB
-rw-r--r--
wget.vim
4.13
KB
-rw-r--r--
wget2.vim
4.34
KB
-rw-r--r--
whitespace.vim
357
B
-rw-r--r--
winbatch.vim
11.87
KB
-rw-r--r--
wml.vim
5.6
KB
-rw-r--r--
wsh.vim
1.21
KB
-rw-r--r--
wsml.vim
5.27
KB
-rw-r--r--
wvdial.vim
1.07
KB
-rw-r--r--
xbl.vim
568
B
-rw-r--r--
xcompose.vim
1.25
KB
-rw-r--r--
xdefaults.vim
5.75
KB
-rw-r--r--
xf86conf.vim
14.66
KB
-rw-r--r--
xhtml.vim
186
B
-rw-r--r--
xinetd.vim
13.88
KB
-rw-r--r--
xkb.vim
3.24
KB
-rw-r--r--
xmath.vim
10.58
KB
-rw-r--r--
xml.vim
9.12
KB
-rw-r--r--
xmodmap.vim
45.42
KB
-rw-r--r--
xpm.vim
4.8
KB
-rw-r--r--
xpm2.vim
4.59
KB
-rw-r--r--
xquery.vim
7.02
KB
-rw-r--r--
xs.vim
241.13
KB
-rw-r--r--
xsd.vim
2.08
KB
-rw-r--r--
xslt.vim
2.59
KB
-rw-r--r--
xxd.vim
767
B
-rw-r--r--
yacc.vim
5.52
KB
-rw-r--r--
yaml.vim
12.57
KB
-rw-r--r--
z8a.vim
2.83
KB
-rw-r--r--
zig.vim
10.77
KB
-rw-r--r--
zimbu.vim
6.36
KB
-rw-r--r--
zir.vim
1.57
KB
-rw-r--r--
zserio.vim
4.29
KB
-rw-r--r--
zsh.vim
22.96
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : go.vim
" Copyright 2009 The Go Authors. All rights reserved. " Use of this source code is governed by a BSD-style " license that can be found in the LICENSE file. " " go.vim: Vim syntax file for Go. " Language: Go " Maintainer: Billie Cleek <bhcleek@gmail.com> " Latest Revision: 2023-08-21 " License: BSD-style. See LICENSE file in source repository. " Repository: https://github.com/fatih/vim-go " Quit when a (custom) syntax file was already loaded if exists("b:current_syntax") finish endif let s:keepcpo = &cpo set cpo&vim function! s:FoldEnable(...) abort if a:0 > 0 return index(s:FoldEnable(), a:1) > -1 endif return get(g:, 'go_fold_enable', ['block', 'import', 'varconst', 'package_comment']) endfunction function! s:HighlightArrayWhitespaceError() abort return get(g:, 'go_highlight_array_whitespace_error', 0) endfunction function! s:HighlightChanWhitespaceError() abort return get(g:, 'go_highlight_chan_whitespace_error', 0) endfunction function! s:HighlightExtraTypes() abort return get(g:, 'go_highlight_extra_types', 0) endfunction function! s:HighlightSpaceTabError() abort return get(g:, 'go_highlight_space_tab_error', 0) endfunction function! s:HighlightTrailingWhitespaceError() abort return get(g:, 'go_highlight_trailing_whitespace_error', 0) endfunction function! s:HighlightOperators() abort return get(g:, 'go_highlight_operators', 0) endfunction function! s:HighlightFunctions() abort return get(g:, 'go_highlight_functions', 0) endfunction function! s:HighlightFunctionParameters() abort return get(g:, 'go_highlight_function_parameters', 0) endfunction function! s:HighlightFunctionCalls() abort return get(g:, 'go_highlight_function_calls', 0) endfunction function! s:HighlightFields() abort return get(g:, 'go_highlight_fields', 0) endfunction function! s:HighlightTypes() abort return get(g:, 'go_highlight_types', 0) endfunction function! s:HighlightBuildConstraints() abort return get(g:, 'go_highlight_build_constraints', 0) endfunction function! s:HighlightStringSpellcheck() abort return get(g:, 'go_highlight_string_spellcheck', 1) endfunction function! s:HighlightFormatStrings() abort return get(g:, 'go_highlight_format_strings', 1) endfunction function! s:HighlightGenerateTags() abort return get(g:, 'go_highlight_generate_tags', 0) endfunction function! s:HighlightVariableAssignments() abort return get(g:, 'go_highlight_variable_assignments', 0) endfunction function! s:HighlightVariableDeclarations() abort return get(g:, 'go_highlight_variable_declarations', 0) endfunction syn case match syn keyword goPackage package syn keyword goImport import contained syn keyword goVar var contained syn keyword goConst const contained hi def link goPackage Statement hi def link goImport Statement hi def link goVar Keyword hi def link goConst Keyword hi def link goDeclaration Keyword " Keywords within functions syn keyword goStatement defer go goto return break continue fallthrough syn keyword goConditional if else switch select syn keyword goLabel case default syn keyword goRepeat for range hi def link goStatement Statement hi def link goConditional Conditional hi def link goLabel Label hi def link goRepeat Repeat " Predefined types syn keyword goType chan map bool string error any comparable syn keyword goSignedInts int int8 int16 int32 int64 rune syn keyword goUnsignedInts byte uint uint8 uint16 uint32 uint64 uintptr syn keyword goFloats float32 float64 syn keyword goComplexes complex64 complex128 hi def link goType Type hi def link goSignedInts Type hi def link goUnsignedInts Type hi def link goFloats Type hi def link goComplexes Type " Predefined functions and values syn keyword goBuiltins append cap clear close complex copy delete imag len syn keyword goBuiltins make max min new panic print println real recover syn keyword goBoolean true false syn keyword goPredefinedIdentifiers nil iota hi def link goBuiltins Identifier hi def link goPredefinedIdentifiers Constant " Boolean links to Constant by default by vim: goBoolean and goPredefinedIdentifiers " will be highlighted the same, but having the separate groups allows users to " have separate highlighting for them if they desire. hi def link goBoolean Boolean " Comments; their contents syn keyword goTodo contained TODO FIXME XXX BUG syn cluster goCommentGroup contains=goTodo syn region goComment start="//" end="$" contains=goGenerate,@goCommentGroup,@Spell if s:FoldEnable('comment') syn region goComment start="/\*" end="\*/" contains=@goCommentGroup,@Spell fold syn match goComment "\v(^\s*//.*\n)+" contains=goGenerate,@goCommentGroup,@Spell fold else syn region goComment start="/\*" end="\*/" contains=@goCommentGroup,@Spell endif hi def link goComment Comment hi def link goTodo Todo if s:HighlightGenerateTags() syn match goGenerateVariables contained /\%(\$GOARCH\|\$GOOS\|\$GOFILE\|\$GOLINE\|\$GOPACKAGE\|\$DOLLAR\)\>/ syn region goGenerate start="^\s*//go:generate" end="$" contains=goGenerateVariables hi def link goGenerate PreProc hi def link goGenerateVariables Special endif " Go escapes syn match goEscapeOctal display contained "\\[0-7]\{3}" syn match goEscapeC display contained +\\[abfnrtv\\'"]+ syn match goEscapeX display contained "\\x\x\{2}" syn match goEscapeU display contained "\\u\x\{4}" syn match goEscapeBigU display contained "\\U\x\{8}" syn match goEscapeError display contained +\\[^0-7xuUabfnrtv\\'"]+ hi def link goEscapeOctal goSpecialString hi def link goEscapeC goSpecialString hi def link goEscapeX goSpecialString hi def link goEscapeU goSpecialString hi def link goEscapeBigU goSpecialString hi def link goSpecialString Special hi def link goEscapeError Error " Strings and their contents syn cluster goStringGroup contains=goEscapeOctal,goEscapeC,goEscapeX,goEscapeU,goEscapeBigU,goEscapeError if s:HighlightStringSpellcheck() syn region goString start=+"+ skip=+\\\\\|\\"+ end=+"+ contains=@goStringGroup,@Spell syn region goRawString start=+`+ end=+`+ contains=@Spell else syn region goString start=+"+ skip=+\\\\\|\\"+ end=+"+ contains=@goStringGroup syn region goRawString start=+`+ end=+`+ endif syn match goImportString /^\%(\s\+\|import \)\(\h\w* \)\?\zs"[^"]\+"$/ contained containedin=goImport if s:HighlightFormatStrings() " [n] notation is valid for specifying explicit argument indexes " 1. Match a literal % not preceded by a %. " 2. Match any number of -, #, 0, space, or + " 3. Match * or [n]* or any number or nothing before a . " 4. Match * or [n]* or any number or nothing after a . " 5. Match [n] or nothing before a verb " 6. Match a formatting verb syn match goFormatSpecifier /\ \%([^%]\%(%%\)*\)\ \@<=%[-#0 +]*\ \%(\%(\%(\[\d\+\]\)\=\*\)\|\d\+\)\=\ \%(\.\%(\%(\%(\[\d\+\]\)\=\*\)\|\d\+\)\=\)\=\ \%(\[\d\+\]\)\=[vTtbcdoqxXUeEfFgGspw]/ contained containedin=goString,goRawString hi def link goFormatSpecifier goSpecialString endif hi def link goImportString String hi def link goString String hi def link goRawString String " Characters; their contents syn cluster goCharacterGroup contains=goEscapeOctal,goEscapeC,goEscapeX,goEscapeU,goEscapeBigU syn region goCharacter start=+'+ skip=+\\\\\|\\'+ end=+'+ contains=@goCharacterGroup hi def link goCharacter Character " Regions syn region goParen start='(' end=')' transparent if s:FoldEnable('block') syn region goBlock start="{" end="}" transparent fold else syn region goBlock start="{" end="}" transparent endif " import if s:FoldEnable('import') syn region goImport start='import (' end=')' transparent fold contains=goImport,goImportString,goComment else syn region goImport start='import (' end=')' transparent contains=goImport,goImportString,goComment endif " var, const if s:FoldEnable('varconst') syn region goVar start='var (' end='^\s*)$' transparent fold \ contains=ALLBUT,goParen,goBlock,goFunction,goTypeName,goReceiverType,goReceiverVar,goParamName,goParamType,goSimpleParams,goPointerOperator syn region goConst start='const (' end='^\s*)$' transparent fold \ contains=ALLBUT,goParen,goBlock,goFunction,goTypeName,goReceiverType,goReceiverVar,goParamName,goParamType,goSimpleParams,goPointerOperator else syn region goVar start='var (' end='^\s*)$' transparent \ contains=ALLBUT,goParen,goBlock,goFunction,goTypeName,goReceiverType,goReceiverVar,goParamName,goParamType,goSimpleParams,goPointerOperator syn region goConst start='const (' end='^\s*)$' transparent \ contains=ALLBUT,goParen,goBlock,goFunction,goTypeName,goReceiverType,goReceiverVar,goParamName,goParamType,goSimpleParams,goPointerOperator endif " Single-line var, const, and import. syn match goSingleDecl /\%(import\|var\|const\) [^(]\@=/ contains=goImport,goVar,goConst " Integers syn match goDecimalInt "\<-\=\%(0\|\%(\d\|\d_\d\)\+\)\>" syn match goHexadecimalInt "\<-\=0[xX]_\?\%(\x\|\x_\x\)\+\>" syn match goOctalInt "\<-\=0[oO]\?_\?\%(\o\|\o_\o\)\+\>" syn match goBinaryInt "\<-\=0[bB]_\?\%([01]\|[01]_[01]\)\+\>" hi def link goDecimalInt Integer hi def link goDecimalError Error hi def link goHexadecimalInt Integer hi def link goHexadecimalError Error hi def link goOctalInt Integer hi def link goOctalError Error hi def link goBinaryInt Integer hi def link goBinaryError Error hi def link Integer Number " Floating point "float_lit = decimal_float_lit | hex_float_lit . " "decimal_float_lit = decimal_digits "." [ decimal_digits ] [ decimal_exponent ] | " decimal_digits decimal_exponent | " "." decimal_digits [ decimal_exponent ] . "decimal_exponent = ( "e" | "E" ) [ "+" | "-" ] decimal_digits . " "hex_float_lit = "0" ( "x" | "X" ) hex_mantissa hex_exponent . "hex_mantissa = [ "_" ] hex_digits "." [ hex_digits ] | " [ "_" ] hex_digits | " "." hex_digits . "hex_exponent = ( "p" | "P" ) [ "+" | "-" ] decimal_digits . " decimal floats with a decimal point syn match goFloat "\<-\=\%(0\|\%(\d\|\d_\d\)\+\)\.\%(\%(\%(\d\|\d_\d\)\+\)\=\%([Ee][-+]\=\%(\d\|\d_\d\)\+\)\=\>\)\=" syn match goFloat "\s\zs-\=\.\%(\d\|\d_\d\)\+\%(\%([Ee][-+]\=\%(\d\|\d_\d\)\+\)\>\)\=" " decimal floats without a decimal point syn match goFloat "\<-\=\%(0\|\%(\d\|\d_\d\)\+\)[Ee][-+]\=\%(\d\|\d_\d\)\+\>" " hexadecimal floats with a decimal point syn match goHexadecimalFloat "\<-\=0[xX]\%(_\x\|\x\)\+\.\%(\%(\x\|\x_\x\)\+\)\=\%([Pp][-+]\=\%(\d\|\d_\d\)\+\)\=\>" syn match goHexadecimalFloat "\<-\=0[xX]\.\%(\x\|\x_\x\)\+\%([Pp][-+]\=\%(\d\|\d_\d\)\+\)\=\>" " hexadecimal floats without a decimal point syn match goHexadecimalFloat "\<-\=0[xX]\%(_\x\|\x\)\+[Pp][-+]\=\%(\d\|\d_\d\)\+\>" hi def link goFloat Float hi def link goHexadecimalFloat Float " Imaginary literals syn match goImaginaryDecimal "\<-\=\%(0\|\%(\d\|\d_\d\)\+\)i\>" syn match goImaginaryHexadecimal "\<-\=0[xX]_\?\%(\x\|\x_\x\)\+i\>" syn match goImaginaryOctal "\<-\=0[oO]\?_\?\%(\o\|\o_\o\)\+i\>" syn match goImaginaryBinary "\<-\=0[bB]_\?\%([01]\|[01]_[01]\)\+i\>" " imaginary decimal floats with a decimal point syn match goImaginaryFloat "\<-\=\%(0\|\%(\d\|\d_\d\)\+\)\.\%(\%(\%(\d\|\d_\d\)\+\)\=\%([Ee][-+]\=\%(\d\|\d_\d\)\+\)\=\)\=i\>" syn match goImaginaryFloat "\s\zs-\=\.\%(\d\|\d_\d\)\+\%([Ee][-+]\=\%(\d\|\d_\d\)\+\)\=i\>" " imaginary decimal floats without a decimal point syn match goImaginaryFloat "\<-\=\%(0\|\%(\d\|\d_\d\)\+\)[Ee][-+]\=\%(\d\|\d_\d\)\+i\>" " imaginary hexadecimal floats with a decimal point syn match goImaginaryHexadecimalFloat "\<-\=0[xX]\%(_\x\|\x\)\+\.\%(\%(\x\|\x_\x\)\+\)\=\%([Pp][-+]\=\%(\d\|\d_\d\)\+\)\=i\>" syn match goImaginaryHexadecimalFloat "\<-\=0[xX]\.\%(\x\|\x_\x\)\+\%([Pp][-+]\=\%(\d\|\d_\d\)\+\)\=i\>" " imaginary hexadecimal floats without a decimal point syn match goImaginaryHexadecimalFloat "\<-\=0[xX]\%(_\x\|\x\)\+[Pp][-+]\=\%(\d\|\d_\d\)\+i\>" hi def link goImaginaryDecimal Number hi def link goImaginaryHexadecimal Number hi def link goImaginaryOctal Number hi def link goImaginaryBinary Number hi def link goImaginaryFloat Float hi def link goImaginaryHexadecimalFloat Float " Spaces after "[]" if s:HighlightArrayWhitespaceError() syn match goSpaceError display "\%(\[\]\)\@<=\s\+" endif " Spacing errors around the 'chan' keyword if s:HighlightChanWhitespaceError() " receive-only annotation on chan type " " \(\<chan\>\)\@<!<- (only pick arrow when it doesn't come after a chan) " this prevents picking up 'chan<- chan<-' but not '<- chan' syn match goSpaceError display "\%(\%(\<chan\>\)\@<!<-\)\@<=\s\+\%(\<chan\>\)\@=" " send-only annotation on chan type " " \(<-\)\@<!\<chan\> (only pick chan when it doesn't come after an arrow) " this prevents picking up '<-chan <-chan' but not 'chan <-' syn match goSpaceError display "\%(\%(<-\)\@<!\<chan\>\)\@<=\s\+\%(<-\)\@=" " value-ignoring receives in a few contexts syn match goSpaceError display "\%(\%(^\|[={(,;]\)\s*<-\)\@<=\s\+" endif " Extra types commonly seen if s:HighlightExtraTypes() syn match goExtraType /\<bytes\.\%(Buffer\)\>/ syn match goExtraType /\<context\.\%(Context\)\>/ syn match goExtraType /\<io\.\%(Reader\|ReadSeeker\|ReadWriter\|ReadCloser\|ReadWriteCloser\|Writer\|WriteCloser\|Seeker\)\>/ syn match goExtraType /\<reflect\.\%(Kind\|Type\|Value\)\>/ syn match goExtraType /\<unsafe\.Pointer\>/ endif " Space-tab error if s:HighlightSpaceTabError() syn match goSpaceError display " \+\t"me=e-1 endif " Trailing white space error if s:HighlightTrailingWhitespaceError() syn match goSpaceError display excludenl "\s\+$" endif hi def link goExtraType Type hi def link goSpaceError Error " included from: https://github.com/athom/more-colorful.vim/blob/master/after/syntax/go.vim " " Comments; their contents syn keyword goTodo contained NOTE hi def link goTodo Todo syn match goVarArgs /\.\.\./ " Operators; if s:HighlightOperators() " match single-char operators: - + % < > ! & | ^ * = " and corresponding two-char operators: -= += %= <= >= != &= |= ^= *= == syn match goOperator /[-+%<>!&|^*=]=\?/ " match / and /= syn match goOperator /\/\%(=\|\ze[^/*]\)/ " match two-char operators: << >> &^ " and corresponding three-char operators: <<= >>= &^= syn match goOperator /\%(<<\|>>\|&^\)=\?/ " match remaining two-char operators: := && || <- ++ -- syn match goOperator /:=\|||\|<-\|++\|--/ " match ~ syn match goOperator /\~/ " match ... hi def link goPointerOperator goOperator hi def link goVarArgs goOperator endif hi def link goOperator Operator " -> type constraint opening bracket " |-> start non-counting group " || -> any word character " || | -> at least one, as many as possible " || | | -> start non-counting group " || | | | -> match ~ " || | | | | -> at most once " || | | | | | -> allow a slice type " || | | | | | | -> any word character " || | | | | | | | -> start a non-counting group " || | | | | | | | | -> that matches word characters and | " || | | | | | | | | | -> close the non-counting group " || | | | | | | | | | | -> close the non-counting group " || | | | | | | | | | | |-> any number of matches " || | | | | | | | | | | || -> start a non-counting group " || | | | | | | | | | | || | -> a comma and whitespace " || | | | | | | | | | | || | | -> at most once " || | | | | | | | | | | || | | | -> close the non-counting group " || | | | | | | | | | | || | | | | -> at least one of those non-counting groups, as many as possible " || | | | | | -------- | | | | || | | | | | -> type constraint closing bracket " || | | | | || | | | | | || | | | | | | syn match goTypeParams /\[\%(\w\+\s\+\%(\~\?\%(\[]\)\?\w\%(\w\||\)\)*\%(,\s*\)\?\)\+\]/ nextgroup=goSimpleParams,goDeclType contained " Functions; if s:HighlightFunctions() || s:HighlightFunctionParameters() syn match goDeclaration /\<func\>/ nextgroup=goReceiver,goFunction,goSimpleParams skipwhite skipnl syn match goReceiverDecl /(\s*\zs\%(\%(\w\+\s\+\)\?\*\?\w\+\%(\[\%(\%(\[\]\)\?\w\+\%(,\s*\)\?\)\+\]\)\?\)\ze\s*)/ contained contains=goReceiverVar,goReceiverType,goPointerOperator syn match goReceiverVar /\w\+\ze\s\+\%(\w\|\*\)/ nextgroup=goPointerOperator,goReceiverType skipwhite skipnl contained syn match goPointerOperator /\*/ nextgroup=goReceiverType contained skipwhite skipnl syn match goFunction /\w\+/ nextgroup=goSimpleParams,goTypeParams contained skipwhite skipnl syn match goReceiverType /\w\+\%(\[\%(\%(\[\]\)\?\w\+\%(,\s*\)\?\)\+\]\)\?\ze\s*)/ contained if s:HighlightFunctionParameters() syn match goSimpleParams /(\%(\w\|\_s\|[*\.\[\],\{\}<>-]\)*)/ contained contains=goParamName,goType nextgroup=goFunctionReturn skipwhite skipnl syn match goFunctionReturn /(\%(\w\|\_s\|[*\.\[\],\{\}<>-]\)*)/ contained contains=goParamName,goType skipwhite skipnl syn match goParamName /\w\+\%(\s*,\s*\w\+\)*\ze\s\+\%(\w\|\.\|\*\|\[\)/ contained nextgroup=goParamType skipwhite skipnl syn match goParamType /\%([^,)]\|\_s\)\+,\?/ contained nextgroup=goParamName skipwhite skipnl \ contains=goVarArgs,goType,goSignedInts,goUnsignedInts,goFloats,goComplexes,goDeclType,goBlock hi def link goReceiverVar goParamName hi def link goParamName Identifier endif syn match goReceiver /(\s*\%(\w\+\s\+\)\?\*\?\s*\w\+\%(\[\%(\%(\[\]\)\?\w\+\%(,\s*\)\?\)\+\]\)\?\s*)\ze\s*\w/ contained nextgroup=goFunction contains=goReceiverDecl skipwhite skipnl else syn keyword goDeclaration func endif hi def link goFunction Function " Function calls; if s:HighlightFunctionCalls() syn match goFunctionCall /\w\+\ze\%(\[\%(\%(\[]\)\?\w\+\(,\s*\)\?\)\+\]\)\?(/ contains=goBuiltins,goDeclaration endif hi def link goFunctionCall Type " Fields; if s:HighlightFields() " 1. Match a sequence of word characters coming after a '.' " 2. Require the following but dont match it: ( \@= see :h E59) " - The symbols: / - + * % OR " - The symbols: [] {} <> ) OR " - The symbols: \n \r space OR " - The symbols: , : . " 3. Have the start of highlight (hs) be the start of matched " pattern (s) offsetted one to the right (+1) (see :h E401) syn match goField /\.\w\+\ \%(\%([\/\-\+*%]\)\|\ \%([\[\]{}<\>\)]\)\|\ \%([\!=\^|&]\)\|\ \%([\n\r\ ]\)\|\ \%([,\:.]\)\)\@=/hs=s+1 endif hi def link goField Identifier " Structs & Interfaces; if s:HighlightTypes() syn match goTypeConstructor /\<\w\+{\@=/ syn match goTypeDecl /\<type\>/ nextgroup=goTypeName skipwhite skipnl syn match goTypeName /\w\+/ contained nextgroup=goDeclType,goTypeParams skipwhite skipnl syn match goDeclType /\<\%(interface\|struct\)\>/ skipwhite skipnl hi def link goReceiverType Type else syn keyword goDeclType struct interface syn keyword goDeclaration type endif hi def link goTypeConstructor Type hi def link goTypeName Type hi def link goTypeDecl Keyword hi def link goDeclType Keyword " Variable Assignments if s:HighlightVariableAssignments() syn match goVarAssign /\v[_.[:alnum:]]+(,\s*[_.[:alnum:]]+)*\ze(\s*([-^+|^\/%&]|\*|\<\<|\>\>|\&\^)?\=[^=])/ hi def link goVarAssign Special endif " Variable Declarations if s:HighlightVariableDeclarations() syn match goVarDefs /\v\w+(,\s*\w+)*\ze(\s*:\=)/ hi def link goVarDefs Special endif " Build Constraints if s:HighlightBuildConstraints() syn match goBuildKeyword display contained "+build\|go:build" " Highlight the known values of GOOS, GOARCH, and other +build options. syn keyword goBuildDirectives contained \ android darwin dragonfly freebsd linux nacl netbsd openbsd plan9 \ solaris windows 386 amd64 amd64p32 arm armbe arm64 arm64be ppc64 \ ppc64le mips mipsle mips64 mips64le mips64p32 mips64p32le ppc \ s390 s390x sparc sparc64 cgo ignore race " Other words in the build directive are build tags not listed above, so " avoid highlighting them as comments by using a matchgroup just for the " start of the comment. " The rs=s+2 option lets the \s*+build portion be part of the inner region " instead of the matchgroup so it will be highlighted as a goBuildKeyword. syn region goBuildComment matchgroup=goBuildCommentStart \ start="//\(\s*+build\s\|go:build\)"rs=s+2 end="$" \ contains=goBuildKeyword,goBuildDirectives hi def link goBuildCommentStart Comment hi def link goBuildDirectives Type hi def link goBuildKeyword PreProc endif if s:HighlightBuildConstraints() || s:FoldEnable('package_comment') " One or more line comments that are followed immediately by a "package" " declaration are treated like package documentation, so these must be " matched as comments to avoid looking like working build constraints. " The he, me, and re options let the "package" itself be highlighted by " the usual rules. exe 'syn region goPackageComment start=/\v(\/\/.*\n)+\s*package/' \ . ' end=/\v\n\s*package/he=e-7,me=e-7,re=e-7' \ . ' contains=@goCommentGroup,@Spell' \ . (s:FoldEnable('package_comment') ? ' fold' : '') exe 'syn region goPackageComment start=/\v^\s*\/\*.*\n(.*\n)*\s*\*\/\npackage/' \ . ' end=/\v\*\/\n\s*package/he=e-7,me=e-7,re=e-7' \ . ' contains=@goCommentGroup,@Spell' \ . (s:FoldEnable('package_comment') ? ' fold' : '') hi def link goPackageComment Comment endif " :GoCoverage commands hi def link goCoverageNormalText Comment " Search backwards for a global declaration to start processing the syntax. "syn sync match goSync grouphere NONE /^\(const\|var\|type\|func\)\>/ " There's a bug in the implementation of grouphere. For now, use the " following as a more expensive/less precise workaround. syn sync minlines=500 let b:current_syntax = "go" let &cpo = s:keepcpo unlet s:keepcpo " vim: sw=2 sts=2 et
Close