@@ -54,7 +54,7 @@ endfunc
54
54
au BufNewFile ,BufRead $VIMRUNTIME/doc/*.txt setf help
55
55
56
56
" Abaqus or Trasys
57
- au BufNewFile ,BufRead *.inp call dist #ft#Check_inp ()
57
+ au BufNewFile ,BufRead *.inp call polyglot #ft#Check_inp ()
58
58
59
59
" 8th (Firth-derivative)
60
60
au BufNewFile ,BufRead *.8th setf 8th
@@ -160,7 +160,7 @@ au BufNewFile,BufRead */boot/grub/menu.lst,*/boot/grub/grub.conf,*/etc/grub.conf
160
160
161
161
" Assembly (all kinds)
162
162
" *.lst is not pure assembly, it has two extra columns (address, byte codes)
163
- au BufNewFile ,BufRead *.asm,*.[sS],*.[aA],*.mac,*.lst call dist #ft#FTasm ()
163
+ au BufNewFile ,BufRead *.asm,*.[sS],*.[aA],*.mac,*.lst call polyglot #ft#FTasm ()
164
164
165
165
" Macro (VAX)
166
166
au BufNewFile ,BufRead *.mar setf vmasm
@@ -190,7 +190,7 @@ au BufNewFile,BufRead *.awk,*.gawk setf awk
190
190
au BufNewFile ,BufRead *.mch,*.ref,*.imp setf b
191
191
192
192
" BASIC or Visual Basic
193
- au BufNewFile ,BufRead *.bas call dist #ft#FTVB (" basic" )
193
+ au BufNewFile ,BufRead *.bas call polyglot #ft#FTVB (" basic" )
194
194
195
195
" Visual Basic Script (close to Visual Basic) or Visual Basic .NET
196
196
au BufNewFile ,BufRead *.vb,*.vbs,*.dsm,*.ctl setf vb
@@ -208,7 +208,7 @@ au BufNewFile,BufRead *.cmd
208
208
\ if getline (1 ) = ~ ' ^/\*' | setf rexx | else | setf dosbatch | endif
209
209
210
210
" Batch file for 4DOS
211
- au BufNewFile ,BufRead *.btm call dist #ft#FTbtm ()
211
+ au BufNewFile ,BufRead *.btm call polyglot #ft#FTbtm ()
212
212
213
213
" BC calculator
214
214
au BufNewFile ,BufRead *.bc setf bc
@@ -228,7 +228,7 @@ au BufNewFile,BufRead named*.conf,rndc*.conf,rndc*.key setf named
228
228
229
229
" BIND zone
230
230
au BufNewFile ,BufRead named.root setf bindzone
231
- au BufNewFile ,BufRead *.db call dist #ft#BindzoneCheck (' ' )
231
+ au BufNewFile ,BufRead *.db call polyglot #ft#BindzoneCheck (' ' )
232
232
233
233
" Blank
234
234
au BufNewFile ,BufRead *.bl setf blank
@@ -247,7 +247,7 @@ if has("fname_case")
247
247
endif
248
248
249
249
" C or lpc
250
- au BufNewFile ,BufRead *.c call dist #ft#FTlpc ()
250
+ au BufNewFile ,BufRead *.c call polyglot #ft#FTlpc ()
251
251
au BufNewFile ,BufRead *.lpc,*.ulpc setf lpc
252
252
253
253
" Calendar
@@ -302,7 +302,7 @@ endif
302
302
" .h files can be C, Ch C++, ObjC or ObjC++.
303
303
" Set c_syntax_for_h if you want C, ch_syntax_for_h if you want Ch. ObjC is
304
304
" detected automatically.
305
- au BufNewFile ,BufRead *.h call dist #ft#FTheader ()
305
+ au BufNewFile ,BufRead *.h call polyglot #ft#FTheader ()
306
306
307
307
" Ch (CHscript)
308
308
au BufNewFile ,BufRead *.chf setf ch
@@ -336,7 +336,7 @@ au BufNewFile,BufRead NEWS
336
336
au BufNewFile ,BufRead *..ch setf chill
337
337
338
338
" Changes for WEB and CWEB or CHILL
339
- au BufNewFile ,BufRead *.ch call dist #ft#FTchange ()
339
+ au BufNewFile ,BufRead *.ch call polyglot #ft#FTchange ()
340
340
341
341
" ChordPro
342
342
au BufNewFile ,BufRead *.chopro,*.crd,*.cho,*.crdpro,*.chordpro setf chordpro
@@ -348,7 +348,7 @@ au BufNewFile,BufRead *.dcl,*.icl setf clean
348
348
au BufNewFile ,BufRead *.eni setf cl
349
349
350
350
" Clever or dtd
351
- au BufNewFile ,BufRead *.ent call dist #ft#FTent ()
351
+ au BufNewFile ,BufRead *.ent call polyglot #ft#FTent ()
352
352
353
353
" Clipper (or FoxPro; could also be eviews)
354
354
au BufNewFile ,BufRead *.prg
@@ -403,9 +403,9 @@ au BufNewFile,BufRead *enlightenment/*.cfg setf c
403
403
au BufNewFile ,BufRead *Eterm/*.cfg setf eterm
404
404
405
405
" Euphoria 3 or 4
406
- au BufNewFile ,BufRead *.eu,*.ew,*.ex,*.exu,*.exw call dist #ft#EuphoriaCheck ()
406
+ au BufNewFile ,BufRead *.eu,*.ew,*.ex,*.exu,*.exw call polyglot #ft#EuphoriaCheck ()
407
407
if has (" fname_case" )
408
- au BufNewFile ,BufRead *.EU,*.EW,*.EX,*.EXU,*.EXW call dist #ft#EuphoriaCheck ()
408
+ au BufNewFile ,BufRead *.EU,*.EW,*.EX,*.EXU,*.EXW call polyglot #ft#EuphoriaCheck ()
409
409
endif
410
410
411
411
" Lynx config files
@@ -462,7 +462,7 @@ au BufNewFile,BufRead */etc/dnsmasq.conf setf dnsmasq
462
462
au BufNewFile ,BufRead *.desc setf desc
463
463
464
464
" the D language or dtrace
465
- au BufNewFile ,BufRead *.d call dist #ft#DtraceCheck ()
465
+ au BufNewFile ,BufRead *.d call polyglot #ft#DtraceCheck ()
466
466
467
467
" Desktop files
468
468
au BufNewFile ,BufRead *.desktop,*.directory setf desktop
@@ -494,7 +494,7 @@ au BufNewFile,BufRead *.rul
494
494
\ endif
495
495
496
496
" DCL (Digital Command Language - vms) or DNS zone file
497
- au BufNewFile ,BufRead *.com call dist #ft#BindzoneCheck (' dcl' )
497
+ au BufNewFile ,BufRead *.com call polyglot #ft#BindzoneCheck (' dcl' )
498
498
499
499
" DOT
500
500
au BufNewFile ,BufRead *.dot,*.gv setf dot
@@ -542,7 +542,7 @@ au BufNewFile,BufRead .editorconfig setf dosini
542
542
au BufNewFile ,BufRead *.ecd setf ecd
543
543
544
544
" Eiffel or Specman or Euphoria
545
- au BufNewFile ,BufRead *.e,*.E call dist #ft#FTe ()
545
+ au BufNewFile ,BufRead *.e,*.E call polyglot #ft#FTe ()
546
546
547
547
" Elinks configuration
548
548
au BufNewFile ,BufRead elinks.conf setf elinks
@@ -720,7 +720,7 @@ au BufRead,BufNewFile *.hws setf hollywood
720
720
au BufNewFile ,BufRead *.t.html setf tilde
721
721
722
722
" HTML (.shtml and .stm for server side)
723
- au BufNewFile ,BufRead *.html,*.htm,*.shtml,*.stm call dist #ft#FThtml ()
723
+ au BufNewFile ,BufRead *.html,*.htm,*.shtml,*.stm call polyglot #ft#FThtml ()
724
724
725
725
" HTML with Ruby - eRuby
726
726
au BufNewFile ,BufRead *.erb,*.rhtml setf eruby
@@ -747,7 +747,7 @@ au BufNewFile,BufRead *.htt,*.htb setf httest
747
747
au BufNewFile ,BufRead *.icn setf icon
748
748
749
749
" IDL (Interface Description Language)
750
- au BufNewFile ,BufRead *.idl call dist #ft#FTidl ()
750
+ au BufNewFile ,BufRead *.idl call polyglot #ft#FTidl ()
751
751
752
752
" Microsoft IDL (Interface Description Language) Also *.idl
753
753
" MOF = WMI (Windows Management Instrumentation) Managed Object Format
@@ -758,10 +758,10 @@ au BufNewFile,BufRead */.icewm/menu setf icemenu
758
758
759
759
" Indent profile (must come before IDL *.pro!)
760
760
au BufNewFile ,BufRead .indent.pro setf indent
761
- au BufNewFile ,BufRead indent.pro call dist #ft#ProtoCheck (' indent' )
761
+ au BufNewFile ,BufRead indent.pro call polyglot #ft#ProtoCheck (' indent' )
762
762
763
763
" IDL (Interactive Data Language)
764
- au BufNewFile ,BufRead *.pro call dist #ft#ProtoCheck (' idlang' )
764
+ au BufNewFile ,BufRead *.pro call polyglot #ft#ProtoCheck (' idlang' )
765
765
766
766
" Indent RC
767
767
au BufNewFile ,BufRead indentrc setf indent
@@ -981,7 +981,7 @@ au BufNewFile,BufRead *.markdown,*.mdown,*.mkd,*.mkdn,*.mdwn,*.md setf markdown
981
981
au BufNewFile ,BufRead *.mason,*.mhtml,*.comp setf mason
982
982
983
983
" Mathematica, Matlab, Murphi or Objective C
984
- au BufNewFile ,BufRead *.m call dist #ft#FTm ()
984
+ au BufNewFile ,BufRead *.m call polyglot #ft#FTm ()
985
985
986
986
" Mathematica notebook
987
987
au BufNewFile ,BufRead *.nb setf mma
@@ -1014,7 +1014,7 @@ au BufNewFile,BufRead *.mgl setf mgl
1014
1014
au BufNewFile ,BufRead *.mix,*.mixal setf mix
1015
1015
1016
1016
" MMIX or VMS makefile
1017
- au BufNewFile ,BufRead *.mms call dist #ft#FTmms ()
1017
+ au BufNewFile ,BufRead *.mms call polyglot #ft#FTmms ()
1018
1018
1019
1019
" Symbian meta-makefile definition (MMP)
1020
1020
au BufNewFile ,BufRead *.mmp setf mmp
@@ -1105,10 +1105,10 @@ au BufNewFile,BufRead *.me
1105
1105
\ setf nroff |
1106
1106
\ endif
1107
1107
au BufNewFile ,BufRead *.tr,*.nr,*.roff,*.tmac,*.mom setf nroff
1108
- au BufNewFile ,BufRead *.[1-9] call dist #ft#FTnroff ()
1108
+ au BufNewFile ,BufRead *.[1-9] call polyglot #ft#FTnroff ()
1109
1109
1110
1110
" Nroff or Objective C++
1111
- au BufNewFile ,BufRead *.mm call dist #ft#FTmm ()
1111
+ au BufNewFile ,BufRead *.mm call polyglot #ft#FTmm ()
1112
1112
1113
1113
" Not Quite C
1114
1114
au BufNewFile ,BufRead *.nqc setf nqc
@@ -1175,9 +1175,9 @@ au BufNewFile,BufRead *.pcmk setf pcmk
1175
1175
1176
1176
" Perl
1177
1177
if has (" fname_case" )
1178
- au BufNewFile ,BufRead *.pl,*.PL call dist #ft#FTpl ()
1178
+ au BufNewFile ,BufRead *.pl,*.PL call polyglot #ft#FTpl ()
1179
1179
else
1180
- au BufNewFile ,BufRead *.pl call dist #ft#FTpl ()
1180
+ au BufNewFile ,BufRead *.pl call polyglot #ft#FTpl ()
1181
1181
endif
1182
1182
au BufNewFile ,BufRead *.plx,*.al,*.psgi setf perl
1183
1183
au BufNewFile ,BufRead *.p6,*.pm6,*.pl6 setf perl6
@@ -1253,7 +1253,7 @@ au BufNewFile,BufRead *.pov setf pov
1253
1253
au BufNewFile ,BufRead .povrayrc setf povini
1254
1254
1255
1255
" Povray, PHP or assembly
1256
- au BufNewFile ,BufRead *.inc call dist #ft#FTinc ()
1256
+ au BufNewFile ,BufRead *.inc call polyglot #ft#FTinc ()
1257
1257
1258
1258
" Printcap and Termcap
1259
1259
au BufNewFile ,BufRead *printcap
@@ -1282,13 +1282,13 @@ au BufNewFile,BufRead *.action setf privoxy
1282
1282
au BufNewFile ,BufRead .procmail,.procmailrc setf procmail
1283
1283
1284
1284
" Progress or CWEB
1285
- au BufNewFile ,BufRead *.w call dist #ft#FTprogress_cweb ()
1285
+ au BufNewFile ,BufRead *.w call polyglot #ft#FTprogress_cweb ()
1286
1286
1287
1287
" Progress or assembly
1288
- au BufNewFile ,BufRead *.i call dist #ft#FTprogress_asm ()
1288
+ au BufNewFile ,BufRead *.i call polyglot #ft#FTprogress_asm ()
1289
1289
1290
1290
" Progress or Pascal
1291
- au BufNewFile ,BufRead *.p call dist #ft#FTprogress_pascal ()
1291
+ au BufNewFile ,BufRead *.p call polyglot #ft#FTprogress_pascal ()
1292
1292
1293
1293
" Software Distributor Product Specification File (POSIX 1387.2-1995)
1294
1294
au BufNewFile ,BufRead *.psf setf psf
@@ -1371,7 +1371,7 @@ else
1371
1371
endif
1372
1372
1373
1373
" Rexx, Rebol or R
1374
- au BufNewFile ,BufRead *.r,*.R call dist #ft#FTr ()
1374
+ au BufNewFile ,BufRead *.r,*.R call polyglot #ft#FTr ()
1375
1375
1376
1376
" Remind
1377
1377
au BufNewFile ,BufRead .reminders,*.remind,*.rem setf remind
@@ -1467,7 +1467,7 @@ au BufNewFile,BufRead *.siv,*.sieve setf sieve
1467
1467
au BufNewFile ,BufRead sendmail.cf setf sm
1468
1468
1469
1469
" Sendmail .mc files are actually m4. Could also be MS Message text file.
1470
- au BufNewFile ,BufRead *.mc call dist #ft#McSetf ()
1470
+ au BufNewFile ,BufRead *.mc call polyglot #ft#McSetf ()
1471
1471
1472
1472
" Services
1473
1473
au BufNewFile ,BufRead */etc/services setf services
@@ -1508,25 +1508,25 @@ au BufNewFile,BufRead catalog setf catalog
1508
1508
" Shell scripts (sh, ksh, bash, bash2, csh); Allow .profile_foo etc.
1509
1509
" Gentoo ebuilds and Arch Linux PKGBUILDs are actually bash scripts
1510
1510
" NOTE: Patterns ending in a star are further down, these have lower priority.
1511
- au BufNewFile ,BufRead .bashrc,bashrc,bash.bashrc,.bash[_-]profile,.bash[_-]logout,.bash[_-]aliases,bash-fc[-.],*.bash,*/{,.}bash[_-]completion{,.d,.sh}{,/*},*.ebuild,*.eclass,PKGBUILD call dist #ft#SetFileTypeSH (" bash" )
1512
- au BufNewFile ,BufRead .kshrc,*.ksh call dist #ft#SetFileTypeSH (" ksh" )
1513
- au BufNewFile ,BufRead */etc/profile,.profile,*.sh,*.env call dist #ft#SetFileTypeSH (getline (1 ))
1511
+ au BufNewFile ,BufRead .bashrc,bashrc,bash.bashrc,.bash[_-]profile,.bash[_-]logout,.bash[_-]aliases,bash-fc[-.],*.bash,*/{,.}bash[_-]completion{,.d,.sh}{,/*},*.ebuild,*.eclass,PKGBUILD call polyglot #ft#SetFileTypeSH (" bash" )
1512
+ au BufNewFile ,BufRead .kshrc,*.ksh call polyglot #ft#SetFileTypeSH (" ksh" )
1513
+ au BufNewFile ,BufRead */etc/profile,.profile,*.sh,*.env call polyglot #ft#SetFileTypeSH (getline (1 ))
1514
1514
1515
1515
1516
1516
" Shell script (Arch Linux) or PHP file (Drupal)
1517
1517
au BufNewFile ,BufRead *.install
1518
1518
\ if getline (1 ) = ~ ' <?php' |
1519
1519
\ setf php |
1520
1520
\ else |
1521
- \ call dist #ft#SetFileTypeSH (" bash" ) |
1521
+ \ call polyglot #ft#SetFileTypeSH (" bash" ) |
1522
1522
\ endif
1523
1523
1524
1524
" tcsh scripts (patterns ending in a star further below)
1525
- au BufNewFile ,BufRead .tcshrc,*.tcsh,tcsh.tcshrc,tcsh.login call dist #ft#SetFileTypeShell (" tcsh" )
1525
+ au BufNewFile ,BufRead .tcshrc,*.tcsh,tcsh.tcshrc,tcsh.login call polyglot #ft#SetFileTypeShell (" tcsh" )
1526
1526
1527
1527
" csh scripts, but might also be tcsh scripts (on some systems csh is tcsh)
1528
1528
" (patterns ending in a start further below)
1529
- au BufNewFile ,BufRead .login,.cshrc,csh.cshrc,csh.login,csh.logout,*.csh,.alias call dist #ft#CSH ()
1529
+ au BufNewFile ,BufRead .login,.cshrc,csh.cshrc,csh.login,csh.logout,*.csh,.alias call polyglot #ft#CSH ()
1530
1530
1531
1531
" Z-Shell script (patterns ending in a star further below)
1532
1532
au BufNewFile ,BufRead .zprofile,*/etc/zprofile,.zfbfmarks setf zsh
@@ -1597,7 +1597,7 @@ au BufNewFile,BufRead *.mib,*.my setf mib
1597
1597
1598
1598
" Snort Configuration
1599
1599
au BufNewFile ,BufRead *.hog,snort.conf,vision.conf setf hog
1600
- au BufNewFile ,BufRead *.rules call dist #ft#FTRules ()
1600
+ au BufNewFile ,BufRead *.rules call polyglot #ft#FTRules ()
1601
1601
1602
1602
" Spec (Linux RPM)
1603
1603
au BufNewFile ,BufRead *.spec setf spec
@@ -1621,7 +1621,7 @@ au BufNewFile,BufRead squid.conf setf squid
1621
1621
au BufNewFile ,BufRead *.tyb,*.typ,*.tyc,*.pkb,*.pks setf sql
1622
1622
1623
1623
" SQL
1624
- au BufNewFile ,BufRead *.sql call dist #ft#SQL ()
1624
+ au BufNewFile ,BufRead *.sql call polyglot #ft#SQL ()
1625
1625
1626
1626
" SQLJ
1627
1627
au BufNewFile ,BufRead *.sqlj setf sqlj
@@ -1688,7 +1688,7 @@ au BufNewFile,BufRead *.svg setf svg
1688
1688
1689
1689
" Tads (or Nroff or Perl test file)
1690
1690
au BufNewFile ,BufRead *.t
1691
- \ if ! dist #ft#FTnroff () && ! dist #ft#FTperl () | setf tads | endif
1691
+ \ if ! polyglot #ft#FTnroff () && ! polyglot #ft#FTperl () | setf tads | endif
1692
1692
1693
1693
" Tags
1694
1694
au BufNewFile ,BufRead tags setf tags
@@ -1717,7 +1717,7 @@ au BufNewFile,BufRead *.ti setf terminfo
1717
1717
1718
1718
" TeX
1719
1719
au BufNewFile ,BufRead *.latex,*.sty,*.dtx,*.ltx,*.bbl setf tex
1720
- au BufNewFile ,BufRead *.tex call dist #ft#FTtex ()
1720
+ au BufNewFile ,BufRead *.tex call polyglot #ft#FTtex ()
1721
1721
1722
1722
" ConTeXt
1723
1723
au BufNewFile ,BufRead *.mkii,*.mkiv,*.mkvi setf context
@@ -1820,7 +1820,7 @@ au BufRead,BufNewFile *.hw,*.module,*.pkg
1820
1820
\ endif
1821
1821
1822
1822
" Visual Basic (also uses *.bas) or FORM
1823
- au BufNewFile ,BufRead *.frm call dist #ft#FTVB (" form" )
1823
+ au BufNewFile ,BufRead *.frm call polyglot #ft#FTVB (" form" )
1824
1824
1825
1825
" SaxBasic is close to Visual Basic
1826
1826
au BufNewFile ,BufRead *.sba setf vb
@@ -1916,10 +1916,10 @@ au BufNewFile,BufRead .Xdefaults,.Xpdefaults,.Xresources,xdm-config,*.ad setf xd
1916
1916
" Xmath
1917
1917
au BufNewFile ,BufRead *.msc,*.msf setf xmath
1918
1918
au BufNewFile ,BufRead *.ms
1919
- \ if ! dist #ft#FTnroff () | setf xmath | endif
1919
+ \ if ! polyglot #ft#FTnroff () | setf xmath | endif
1920
1920
1921
1921
" XML specific variants: docbk and xbl
1922
- au BufNewFile ,BufRead *.xml call dist #ft#FTxml ()
1922
+ au BufNewFile ,BufRead *.xml call polyglot #ft#FTxml ()
1923
1923
1924
1924
" XMI (holding UML models) is also XML
1925
1925
au BufNewFile ,BufRead *.xmi setf xml
@@ -1966,7 +1966,7 @@ au BufNewFile,BufRead *.xsl,*.xslt setf xslt
1966
1966
au BufNewFile ,BufRead *.yy,*.yxx,*.y++ setf yacc
1967
1967
1968
1968
" Yacc or racc
1969
- au BufNewFile ,BufRead *.y call dist #ft#FTy ()
1969
+ au BufNewFile ,BufRead *.y call polyglot #ft#FTy ()
1970
1970
1971
1971
" Yaml
1972
1972
au BufNewFile ,BufRead *.yaml,*.yml setf yaml
@@ -1985,9 +1985,9 @@ au BufNewFile,BufRead *.zut setf zimbutempl
1985
1985
" Zope
1986
1986
" dtml (zope dynamic template markup language), pt (zope page template),
1987
1987
" cpt (zope form controller page template)
1988
- au BufNewFile ,BufRead *.dtml,*.pt,*.cpt call dist #ft#FThtml ()
1988
+ au BufNewFile ,BufRead *.dtml,*.pt,*.cpt call polyglot #ft#FThtml ()
1989
1989
" zsql (zope sql method)
1990
- au BufNewFile ,BufRead *.zsql call dist #ft#SQL ()
1990
+ au BufNewFile ,BufRead *.zsql call polyglot #ft#SQL ()
1991
1991
1992
1992
" Z80 assembler asz80
1993
1993
au BufNewFile ,BufRead *.z8a setf z8a
@@ -2152,7 +2152,7 @@ au BufNewFile,BufRead *termcap*
2152
2152
2153
2153
" ReDIF
2154
2154
" Only used when the .rdf file was not detected to be XML.
2155
- au BufRead ,BufNewFile *.rdf call dist #ft#Redif ()
2155
+ au BufRead ,BufNewFile *.rdf call polyglot #ft#Redif ()
2156
2156
2157
2157
" Remind
2158
2158
au BufNewFile ,BufRead .reminders* call s: StarSetf (' remind' )
@@ -2161,15 +2161,15 @@ au BufNewFile,BufRead .reminders* call s:StarSetf('remind')
2161
2161
au BufNewFile ,BufRead sgml.catalog* call s: StarSetf (' catalog' )
2162
2162
2163
2163
" Shell scripts ending in a star
2164
- au BufNewFile ,BufRead .bashrc*,.bash[_-]profile*,.bash[_-]logout*,.bash[_-]aliases*,bash-fc[-.]*,,PKGBUILD* call dist #ft#SetFileTypeSH (" bash" )
2165
- au BufNewFile ,BufRead .kshrc* call dist #ft#SetFileTypeSH (" ksh" )
2166
- au BufNewFile ,BufRead .profile* call dist #ft#SetFileTypeSH (getline (1 ))
2164
+ au BufNewFile ,BufRead .bashrc*,.bash[_-]profile*,.bash[_-]logout*,.bash[_-]aliases*,bash-fc[-.]*,,PKGBUILD* call polyglot #ft#SetFileTypeSH (" bash" )
2165
+ au BufNewFile ,BufRead .kshrc* call polyglot #ft#SetFileTypeSH (" ksh" )
2166
+ au BufNewFile ,BufRead .profile* call polyglot #ft#SetFileTypeSH (getline (1 ))
2167
2167
2168
2168
" tcsh scripts ending in a star
2169
- au BufNewFile ,BufRead .tcshrc* call dist #ft#SetFileTypeShell (" tcsh" )
2169
+ au BufNewFile ,BufRead .tcshrc* call polyglot #ft#SetFileTypeShell (" tcsh" )
2170
2170
2171
2171
" csh scripts ending in a star
2172
- au BufNewFile ,BufRead .login*,.cshrc* call dist #ft#CSH ()
2172
+ au BufNewFile ,BufRead .login*,.cshrc* call polyglot #ft#CSH ()
2173
2173
2174
2174
" VHDL
2175
2175
au BufNewFile ,BufRead *.vhdl_[0-9]* call s: StarSetf (' vhdl' )
0 commit comments