259 lines
13 KiB
Markdown
259 lines
13 KiB
Markdown
# vimlistsyntax
|
|
|
|
Bash script which lists all available syntax hightlight styles for Vim in a nice column format with paging.
|
|
|
|
This is extremely useful when you want to use syntax-highlighted code-fencing using [vim-markdown](https://github.com/preservim/vim-markdown) and subsequently viewing Markdown documents with [vimpager](https://github.com/rkitover/vimpager).
|
|
|
|
|
|
## Requirements
|
|
|
|
Vim and less
|
|
|
|
|
|
## Installation
|
|
|
|
Copy `vimlistsyntax` to a chosen direcory in $PATH such as `$HOME/bin` or `/usr/local/bin`
|
|
|
|
|
|
## Usage
|
|
```bash
|
|
vimlistsyntax
|
|
```
|
|
|
|
## Sample output
|
|
```text
|
|
2html 8th a2ps
|
|
a65 aap abap
|
|
abaqus abc abel
|
|
acedb ada aflex
|
|
ahdl aidl alsaconf
|
|
amiga aml ampl
|
|
ansible ansible_hosts ant
|
|
antlr apache apachestyle
|
|
aptconf arch arduino
|
|
art asciidoc asm
|
|
asm68k asmh8300 asn
|
|
aspperl aspvbs asterisk
|
|
asteriskvm atlas autodoc
|
|
autohotkey autoit automake
|
|
ave avra awk
|
|
ayacc b baan
|
|
bash basic bc
|
|
bdf bib bindzone
|
|
bitbake blank bsdl
|
|
bst btm bzl
|
|
bzr c cabal
|
|
cabalconfig cabalproject calendar
|
|
catalog cdl cdrdaoconf
|
|
cdrtoc cf cfg
|
|
ch chaiscript change
|
|
changelog chaskell chatito
|
|
cheetah chicken chill
|
|
chordpro cisco cl
|
|
clean clipper clojure
|
|
cmake cmod cmusrc
|
|
cobol coco colortemplate
|
|
colortemplate-info colortest conaryrecipe
|
|
conf config confini
|
|
context cpp crm
|
|
crontab cs csc
|
|
csdl csh csp
|
|
css cterm ctrlh
|
|
cucumber cuda cupl
|
|
cuplsim cvs cvsrc
|
|
cweb cynlib cynpp
|
|
d dart datascript
|
|
dcd dcl debchangelog
|
|
debcontrol debcopyright debsources
|
|
def denyhosts dep3patch
|
|
desc desktop dictconf
|
|
dictdconf diff dircolors
|
|
dirpager diva django
|
|
dns dnsmasq docbk
|
|
docbksgml docbkxml dockerfile
|
|
dosbatch dosini dot
|
|
doxygen dracula dsl
|
|
dtd dtml dtrace
|
|
dts dune dylan
|
|
dylanintr dylanlid ecd
|
|
edif editorconfig eiffel
|
|
elf elinks elm
|
|
elmfilt erlang eruby
|
|
esmtprc esqlc esterel
|
|
eterm euphoria3 euphoria4
|
|
eviews exim expect
|
|
exports falcon fan
|
|
fasm fdcc fetchmail
|
|
fgl fish flexwiki
|
|
flow focexec form
|
|
forth fortran foxpro
|
|
fpcmake framescript freebasic
|
|
fstab fugitive fugitiveblame
|
|
fvwm fvwm2m4 gdb
|
|
gdmo gdresource gdscript
|
|
gdshader gedcom gemtext
|
|
gift git gitattributes
|
|
gitcommit gitconfig gitignore
|
|
gitolite gitrebase gitsendemail
|
|
gkrellmrc gnash gnuplot
|
|
go godoc gp
|
|
gpg gprof grads
|
|
gretl groff groovy
|
|
group grub gsp
|
|
gtkrc gvpr gyp
|
|
haml hamster hare
|
|
haskell haste hastepreproc
|
|
hb hcl help
|
|
help_ru hercules hex
|
|
hgcommit hitest hlsplaylist
|
|
hog hollywood hostconf
|
|
hostsaccess html htmlcheetah
|
|
htmldjango htmlm4 htmlos
|
|
i3config ia64 ibasic
|
|
icemenu icon idl
|
|
idlang indent inform
|
|
initex initng inittab
|
|
ipfilter ishd iss
|
|
ist j jal
|
|
jam jargon java
|
|
javacc javascript javascriptreact
|
|
jess jgraph jinja2
|
|
jovial jproperties json
|
|
jsonc jsp jsx
|
|
jsx_pretty julia kconfig
|
|
kivy kix kotlin
|
|
krl kscript kwt
|
|
lace latte lc
|
|
ld ldapconf ldif
|
|
less lex lftp
|
|
lhaskell libao lifelines
|
|
lilo limits liquid
|
|
lisp lite litestep
|
|
loginaccess logindefs logtalk
|
|
lotos lout lpc
|
|
lprolog lscript lsl
|
|
lss lua lynx
|
|
lyrics m3build m3quake
|
|
m4 mail mailaliases
|
|
mailcap make mallard
|
|
man manconf manual
|
|
maple markdown masm
|
|
mason master matlab
|
|
maxima mel mermaid
|
|
meson messages mf
|
|
mgl mgp mib
|
|
mix mma mmix
|
|
mmp modconf model
|
|
modsim3 modula2 modula3
|
|
monk moo mp
|
|
mplayerconf mrxvtrc msidl
|
|
msmessages msql mupad
|
|
murphi mush muttrc
|
|
mysql n1ql named
|
|
nanorc nasm nastran
|
|
natural ncf neomuttrc
|
|
netrc netrw nftables
|
|
nginx ninja nix
|
|
nosyntax nqc nroff
|
|
nsis obj objc
|
|
objcpp obse ocaml
|
|
occam omnimark opam
|
|
openroad openscad openvpn
|
|
opl ora pamconf
|
|
pamenv papp pascal
|
|
passwd pbtxt pcap
|
|
pccts pdf perl
|
|
pf pfmain pfmaster
|
|
pgsql php phtml
|
|
pic pike pilrc
|
|
pine pinfo plaintex
|
|
pli plm plp
|
|
plsql po pod
|
|
poefilter poke postscr
|
|
pov povini ppd
|
|
ppwiz prescribe privoxy
|
|
procmail progress prolog
|
|
promela proto protocols
|
|
ps1 ps1xml psf
|
|
psl ptcap purifylog
|
|
pyrex python python2
|
|
qb64 qf quake
|
|
quarto r racc
|
|
racket radiance raku
|
|
raml ratpoison rc
|
|
rcs rcslog readline
|
|
rebol redif redis
|
|
registry rego remind
|
|
resolv reva rexx
|
|
rhelp rib rmd
|
|
rnc rng rnoweb
|
|
robots routeros rpcgen
|
|
rpl rrst rsc
|
|
rst rtf ruby
|
|
rust samba sas
|
|
sass sather sbt
|
|
scala scdoc scheme
|
|
scilab screen scss
|
|
sd sdc sdl
|
|
sed sendpr sensors
|
|
services setserial sexplib
|
|
sgml sgmldecl sgmllnx
|
|
sh sicad sieve
|
|
sil simula sinda
|
|
sindacmp sindaout sisu
|
|
skill sl slang
|
|
slice slpconf slpreg
|
|
slpspi slrnrc slrnsc
|
|
sm smarty smcl
|
|
smil smith sml
|
|
snnsnet snnspat snnsres
|
|
snobol4 solidity spec
|
|
specman spice splint
|
|
spup spyce sql
|
|
sqlanywhere sqlforms sqlhana
|
|
sqlinformix sqlj sqloracle
|
|
sqr squid squirrel
|
|
srec srt ssa
|
|
sshconfig sshdconfig st
|
|
stata stp strace
|
|
structurizr sudoers svg
|
|
svn swayconfig swift
|
|
swiftgyb syncolor synload
|
|
syntax sysctl systemd
|
|
systemverilog tads tags
|
|
tak takcmp takout
|
|
tap tar taskdata
|
|
taskedit tasm tcl
|
|
tcsh template teraterm
|
|
terminfo terraform tex
|
|
texinfo texmf tf
|
|
tidy tilde tli
|
|
tmux toml tpp
|
|
trasys treetop trustees
|
|
tsalt tsscl tssgm
|
|
tssop tsx tt2
|
|
tt2html tt2js typescript
|
|
typescriptreact uc udevconf
|
|
udevperm udevrules uil
|
|
updatedb upstart upstreamdat
|
|
upstreaminstalllog upstreamlog upstreamrpt
|
|
usserverlog usw2kagtlog valgrind
|
|
vb vdf vera
|
|
verilog verilogams vgrindefs
|
|
vhdl vim viminfo
|
|
virata vmasm voscm
|
|
vrml vroom vsejcl
|
|
vue wast wdiff
|
|
wdl web webmacro
|
|
wget wget2 whitespace
|
|
winbatch wml wsh
|
|
wsml wvdial xbl
|
|
xdefaults xf86conf xhtml
|
|
xinetd xkb xmath
|
|
xml xmodmap xpm
|
|
xpm2 xquery xs
|
|
xsd xslt xxd
|
|
yacc yaml z8a
|
|
zig zimbu zir
|
|
zsh
|
|
```
|