-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvimStartupListing.txt
9366 lines (9246 loc) · 429 KB
/
vimStartupListing.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
chdir(/usr/share/vim)
fchdir() to previous dir
could not source "$VIM/vimrc"
chdir(/home/you)
fchdir() to previous dir
could not source "$HOME/.vimrc"
chdir(/home/you/.vim)
fchdir() to previous dir
sourcing "~/.vim/vimrc"
line 1:
line 2: " --- include guard: don't source this file twice
line 3: if exists('g:haveLoadedMyVimrc')
line 4: ^I"
line 5: ^I"Currently 2019-08-19 Mon, /etc/vim/vimrc is a link to ~/.vim/vimrc, so
line 6: ^I"can be read twice.
line 7: ^I" echo "re-reading my vimrc"
line 8: ^I" sleep 10
line 9: ^Ifinish
line 10: endif
line 11: let g:haveLoadedMyVimrc = 1
line 12:
line 13:
line 14: if has("unix")
line 15: ^Iruntime! debian.vim
Searching for "debian.vim" in "/home/you/.vim,/etc/vim,/usr/share/vim/vimfiles,/usr/share/vim/vim81,/usr/share/vim/vimfiles/after,/etc/vim/after,/home/you/.vim/after"
Searching for "/home/you/.vim/debian.vim"
Searching for "/etc/vim/debian.vim"
Searching for "/usr/share/vim/vimfiles/debian.vim"
Searching for "/usr/share/vim/vim81/debian.vim"
chdir(/usr/share/vim/vim81)
fchdir() to previous dir
line 15: sourcing "/usr/share/vim/vim81/debian.vim"
line 1: " Debian system-wide default configuration Vim
line 2:
line 3: set runtimepath=~/.vim,/var/lib/vim/addons,/usr/share/vim/vimfiles,/usr/share/vim/vim81,/usr/share/vim/vimfiles/after,/var/lib/vim/addons/after,~/.vim/after
line 4:
line 5: " Normally we use vim-extensions. If you want true vi-compatibility
line 6: " remove change the following statements
line 7: set nocompatible^I" Use Vim defaults instead of 100% vi compatibility
line 8: set backspace=indent,eol,start^I" more powerful backspacing
line 9:
line 10: " Now we set some defaults for the editor
line 11: set history=50^I^I" keep 50 lines of command line history
line 12: set ruler^I^I" show the cursor position all the time
line 13:
line 14: " modelines have historically been a source of security/resource
line 15: " vulnerabilities -- disable by default, even when 'nocompatible' is set
line 16: set nomodeline
line 17:
line 18: " Suffixes that get lower priority when doing tab completion for filenames.
line 19: " These are files we are not likely to want to edit or read.
line 20: set suffixes=.bak,~,.swp,.o,.info,.aux,.log,.dvi,.bbl,.blg,.brf,.cb,.ind,.idx,.ilg,.inx,.out,.toc
line 21:
line 22: " We know xterm-debian is a color terminal
line 23: if &term =~ "xterm-debian" || &term =~ "xterm-xfree86"
line 24: set t_Co=16
line 25: set t_Sf=^[[3%dm
line 26: set t_Sb=^[[4%dm
line 27: endif
line 28:
line 29: " Some Debian-specific things
line 30: if has('gui')
line 31: " Must define this within the :if so it does not cause problems with
line 32: " vim-tiny (which does not have +eval)
line 33: function! <SID>MapExists(name, modes)
line 41:
line 42: " Make shift-insert work like in Xterm
line 43: autocmd GUIEnter * if !<SID>MapExists("<S-Insert>", "nvso") | execute "map <S-Insert> <MiddleMouse>" | endif
line 44: autocmd GUIEnter * if !<SID>MapExists("<S-Insert>", "ic") | execute "map! <S-Insert> <MiddleMouse>" | endif
line 45: endif
line 46:
line 47: " Set paper size from /etc/papersize if available (Debian-specific)
line 48: if filereadable("/etc/papersize")
line 49: let s:papersize = matchstr(readfile('/etc/papersize', '', 1), '\p*')
line 50: if strlen(s:papersize)
line 51: exe "set printoptions+=paper:" . s:papersize
line 51: set printoptions+=paper:a4
line 52: endif
line 53: endif
line 54:
finished sourcing /usr/share/vim/vim81/debian.vim
continuing in /home/you/.vim/vimrc
Searching for "/usr/share/vim/vimfiles/after/debian.vim"
Searching for "/etc/vim/after/debian.vim"
Searching for "/home/you/.vim/after/debian.vim"
line 16: ^Isource /usr/share/vim/vimcurrent/debian.vim
chdir(/usr/share/vim/vimcurrent)
fchdir() to previous dir
line 16: sourcing "/usr/share/vim/vimcurrent/debian.vim"
line 1: " Debian system-wide default configuration Vim
line 2:
line 3: set runtimepath=~/.vim,/var/lib/vim/addons,/usr/share/vim/vimfiles,/usr/share/vim/vim81,/usr/share/vim/vimfiles/after,/var/lib/vim/addons/after,~/.vim/after
line 4:
line 5: " Normally we use vim-extensions. If you want true vi-compatibility
line 6: " remove change the following statements
line 7: set nocompatible^I" Use Vim defaults instead of 100% vi compatibility
line 8: set backspace=indent,eol,start^I" more powerful backspacing
line 9:
line 10: " Now we set some defaults for the editor
line 11: set history=50^I^I" keep 50 lines of command line history
line 12: set ruler^I^I" show the cursor position all the time
line 13:
line 14: " modelines have historically been a source of security/resource
line 15: " vulnerabilities -- disable by default, even when 'nocompatible' is set
line 16: set nomodeline
line 17:
line 18: " Suffixes that get lower priority when doing tab completion for filenames.
line 19: " These are files we are not likely to want to edit or read.
line 20: set suffixes=.bak,~,.swp,.o,.info,.aux,.log,.dvi,.bbl,.blg,.brf,.cb,.ind,.idx,.ilg,.inx,.out,.toc
line 21:
line 22: " We know xterm-debian is a color terminal
line 23: if &term =~ "xterm-debian" || &term =~ "xterm-xfree86"
line 24: set t_Co=16
line 25: set t_Sf=^[[3%dm
line 26: set t_Sb=^[[4%dm
line 27: endif
line 28:
line 29: " Some Debian-specific things
line 30: if has('gui')
line 31: " Must define this within the :if so it does not cause problems with
line 32: " vim-tiny (which does not have +eval)
line 33: function! <SID>MapExists(name, modes)
line 41:
line 42: " Make shift-insert work like in Xterm
line 43: autocmd GUIEnter * if !<SID>MapExists("<S-Insert>", "nvso") | execute "map <S-Insert> <MiddleMouse>" | endif
line 44: autocmd GUIEnter * if !<SID>MapExists("<S-Insert>", "ic") | execute "map! <S-Insert> <MiddleMouse>" | endif
line 45: endif
line 46:
line 47: " Set paper size from /etc/papersize if available (Debian-specific)
line 48: if filereadable("/etc/papersize")
line 49: let s:papersize = matchstr(readfile('/etc/papersize', '', 1), '\p*')
line 50: if strlen(s:papersize)
line 51: exe "set printoptions+=paper:" . s:papersize
line 51: set printoptions+=paper:a4
line 52: endif
line 53: endif
line 54:
finished sourcing /usr/share/vim/vimcurrent/debian.vim
continuing in /home/you/.vim/vimrc
line 17: ^Ilet &rtp .= ','.expand('/usr/share/vim-scripts')^I^I" for colorschemes and others
line 18: endif
line 19:
line 20: set nocompatible
line 21: syntax enable
line 21: so $VIMRUNTIME/syntax/syntax.vim
chdir(/usr/share/vim/vim81/syntax)
fchdir() to previous dir
line 21: sourcing "/usr/share/vim/vim81/syntax/syntax.vim"
line 1: " Vim syntax support file
line 2: " Maintainer:^IBram Moolenaar <[email protected]>
line 3: " Last Change:^I2001 Sep 04
line 4:
line 5: " This file is used for ":syntax on".
line 6: " It installs the autocommands and starts highlighting for all buffers.
line 7:
line 8: if !has("syntax")
line 9: finish
line 10: endif
line 11:
line 12: " If Syntax highlighting appears to be on already, turn it off first, so that
line 13: " any leftovers are cleared.
line 14: if exists("syntax_on") || exists("syntax_manual")
line 15: so <sfile>:p:h/nosyntax.vim
line 16: endif
line 17:
line 18: " Load the Syntax autocommands and set the default methods for highlighting.
line 19: runtime syntax/synload.vim
Searching for "syntax/synload.vim" in "/home/you/.vim,/var/lib/vim/addons,/usr/share/vim/vimfiles,/usr/share/vim/vim81,/usr/share/vim/vimfiles/after,/var/lib/vim/addons/after,/home/you/.vim/after,/usr/share/vim-scripts"
Searching for "/home/you/.vim/syntax/synload.vim"
Searching for "/var/lib/vim/addons/syntax/synload.vim"
Searching for "/usr/share/vim/vimfiles/syntax/synload.vim"
Searching for "/usr/share/vim/vim81/syntax/synload.vim"
chdir(/usr/share/vim/vim81/syntax)
fchdir() to previous dir
line 19: sourcing "/usr/share/vim/vim81/syntax/synload.vim"
line 1: " Vim syntax support file
line 2: " Maintainer:^IBram Moolenaar <[email protected]>
line 3: " Last Change:^I2016 Nov 04
line 4:
line 5: " This file sets up for syntax highlighting.
line 6: " It is loaded from "syntax.vim" and "manual.vim".
line 7: " 1. Set the default highlight groups.
line 8: " 2. Install Syntax autocommands for all the available syntax files.
line 9:
line 10: if !has("syntax")
line 11: finish
line 12: endif
line 13:
line 14: " let others know that syntax has been switched on
line 15: let syntax_on = 1
line 16:
line 17: " Set the default highlighting colors. Use a color scheme if specified.
line 18: if exists("colors_name")
line 19: exe "colors " . colors_name
line 20: else
line 21: runtime! syntax/syncolor.vim
Searching for "syntax/syncolor.vim" in "/home/you/.vim,/var/lib/vim/addons,/usr/share/vim/vimfiles,/usr/share/vim/vim81,/usr/share/vim/vimfiles/after,/var/lib/vim/addons/after,/home/you/.vim/after,/usr/share/vim-scripts"
Searching for "/home/you/.vim/syntax/syncolor.vim"
Searching for "/var/lib/vim/addons/syntax/syncolor.vim"
Searching for "/usr/share/vim/vimfiles/syntax/syncolor.vim"
Searching for "/usr/share/vim/vim81/syntax/syncolor.vim"
chdir(/usr/share/vim/vim81/syntax)
fchdir() to previous dir
line 21: sourcing "/usr/share/vim/vim81/syntax/syncolor.vim"
line 1: " Vim syntax support file
line 2: " Maintainer:^IBram Moolenaar <[email protected]>
line 3: " Last Change:^I2001 Sep 12
line 4:
line 5: " This file sets up the default methods for highlighting.
line 6: " It is loaded from "synload.vim" and from Vim for ":syntax reset".
line 7: " Also used from init_highlight().
line 8:
line 9: if !exists("syntax_cmd") || syntax_cmd == "on"
line 10: " ":syntax on" works like in Vim 5.7: set colors but keep links
line 11: command -nargs=* SynColor hi <args>
line 12: command -nargs=* SynLink hi link <args>
line 13: else
line 14: if syntax_cmd == "enable"
line 15: " ":syntax enable" keeps any existing colors
line 16: command -nargs=* SynColor hi def <args>
line 17: command -nargs=* SynLink hi def link <args>
line 18: elseif syntax_cmd == "reset"
line 19: " ":syntax reset" resets all colors to the default
line 20: command -nargs=* SynColor hi <args>
line 21: command -nargs=* SynLink hi! link <args>
line 22: else
line 23: " User defined syncolor file has already set the colors.
line 24: finish
line 25: endif
line 26: endif
line 27:
line 28: " Many terminals can only use six different colors (plus black and white).
line 29: " Therefore the number of colors used is kept low. It doesn't look nice with
line 30: " too many colors anyway.
line 31: " Careful with "cterm=bold", it changes the color to bright for some terminals.
line 32: " There are two sets of defaults: for a dark and a light background.
line 33: if &background == "dark"
line 34: SynColor Comment^Iterm=bold cterm=NONE ctermfg=Cyan ctermbg=NONE gui=NONE guifg=#80a0ff guibg=NONE
line 34: hi def Comment^Iterm=bold cterm=NONE ctermfg=Cyan ctermbg=NONE gui=NONE guifg=#80a0ff guibg=NONE
line 35: SynColor Constant^Iterm=underline cterm=NONE ctermfg=Magenta ctermbg=NONE gui=NONE guifg=#ffa0a0 guibg=NONE
line 35: hi def Constant^Iterm=underline cterm=NONE ctermfg=Magenta ctermbg=NONE gui=NONE guifg=#ffa0a0 guibg=NONE
line 36: SynColor Special^Iterm=bold cterm=NONE ctermfg=LightRed ctermbg=NONE gui=NONE guifg=Orange guibg=NONE
line 36: hi def Special^Iterm=bold cterm=NONE ctermfg=LightRed ctermbg=NONE gui=NONE guifg=Orange guibg=NONE
line 37: SynColor Identifier^Iterm=underline cterm=bold ctermfg=Cyan ctermbg=NONE gui=NONE guifg=#40ffff guibg=NONE
line 37: hi def Identifier^Iterm=underline cterm=bold ctermfg=Cyan ctermbg=NONE gui=NONE guifg=#40ffff guibg=NONE
line 38: SynColor Statement^Iterm=bold cterm=NONE ctermfg=Yellow ctermbg=NONE gui=bold guifg=#ffff60 guibg=NONE
line 38: hi def Statement^Iterm=bold cterm=NONE ctermfg=Yellow ctermbg=NONE gui=bold guifg=#ffff60 guibg=NONE
line 39: SynColor PreProc^Iterm=underline cterm=NONE ctermfg=LightBlue ctermbg=NONE gui=NONE guifg=#ff80ff guibg=NONE
line 39: hi def PreProc^Iterm=underline cterm=NONE ctermfg=LightBlue ctermbg=NONE gui=NONE guifg=#ff80ff guibg=NONE
line 40: SynColor Type^I^Iterm=underline cterm=NONE ctermfg=LightGreen ctermbg=NONE gui=bold guifg=#60ff60 guibg=NONE
line 40: hi def Type^I^Iterm=underline cterm=NONE ctermfg=LightGreen ctermbg=NONE gui=bold guifg=#60ff60 guibg=NONE
line 41: SynColor Underlined^Iterm=underline cterm=underline ctermfg=LightBlue gui=underline guifg=#80a0ff
line 41: hi def Underlined^Iterm=underline cterm=underline ctermfg=LightBlue gui=underline guifg=#80a0ff
line 42: SynColor Ignore^Iterm=NONE cterm=NONE ctermfg=black ctermbg=NONE gui=NONE guifg=bg guibg=NONE
line 42: hi def Ignore^Iterm=NONE cterm=NONE ctermfg=black ctermbg=NONE gui=NONE guifg=bg guibg=NONE
line 43: else
line 44: SynColor Comment^Iterm=bold cterm=NONE ctermfg=DarkBlue ctermbg=NONE gui=NONE guifg=Blue guibg=NONE
line 45: SynColor Constant^Iterm=underline cterm=NONE ctermfg=DarkRed ctermbg=NONE gui=NONE guifg=Magenta guibg=NONE
line 46: SynColor Special^Iterm=bold cterm=NONE ctermfg=DarkMagenta ctermbg=NONE gui=NONE guifg=SlateBlue guibg=NONE
line 47: SynColor Identifier^Iterm=underline cterm=NONE ctermfg=DarkCyan ctermbg=NONE gui=NONE guifg=DarkCyan guibg=NONE
line 48: SynColor Statement^Iterm=bold cterm=NONE ctermfg=Brown ctermbg=NONE gui=bold guifg=Brown guibg=NONE
line 49: SynColor PreProc^Iterm=underline cterm=NONE ctermfg=DarkMagenta ctermbg=NONE gui=NONE guifg=Purple guibg=NONE
line 50: SynColor Type^I^Iterm=underline cterm=NONE ctermfg=DarkGreen ctermbg=NONE gui=bold guifg=SeaGreen guibg=NONE
line 51: SynColor Underlined^Iterm=underline cterm=underline ctermfg=DarkMagenta gui=underline guifg=SlateBlue
line 52: SynColor Ignore^Iterm=NONE cterm=NONE ctermfg=white ctermbg=NONE gui=NONE guifg=bg guibg=NONE
line 53: endif
line 54: SynColor Error^I^Iterm=reverse cterm=NONE ctermfg=White ctermbg=Red gui=NONE guifg=White guibg=Red
line 54: hi def Error^I^Iterm=reverse cterm=NONE ctermfg=White ctermbg=Red gui=NONE guifg=White guibg=Red
line 55: SynColor Todo^I^Iterm=standout cterm=NONE ctermfg=Black ctermbg=Yellow gui=NONE guifg=Blue guibg=Yellow
line 55: hi def Todo^I^Iterm=standout cterm=NONE ctermfg=Black ctermbg=Yellow gui=NONE guifg=Blue guibg=Yellow
line 56:
line 57: " Common groups that link to default highlighting.
line 58: " You can specify other highlighting easily.
line 59: SynLink String^I^IConstant
line 59: hi def link String^I^IConstant
line 60: SynLink Character^IConstant
line 60: hi def link Character^IConstant
line 61: SynLink Number^I^IConstant
line 61: hi def link Number^I^IConstant
line 62: SynLink Boolean^I^IConstant
line 62: hi def link Boolean^I^IConstant
line 63: SynLink Float^I^INumber
line 63: hi def link Float^I^INumber
line 64: SynLink Function^IIdentifier
line 64: hi def link Function^IIdentifier
line 65: SynLink Conditional^IStatement
line 65: hi def link Conditional^IStatement
line 66: SynLink Repeat^I^IStatement
line 66: hi def link Repeat^I^IStatement
line 67: SynLink Label^I^IStatement
line 67: hi def link Label^I^IStatement
line 68: SynLink Operator^IStatement
line 68: hi def link Operator^IStatement
line 69: SynLink Keyword^I^IStatement
line 69: hi def link Keyword^I^IStatement
line 70: SynLink Exception^IStatement
line 70: hi def link Exception^IStatement
line 71: SynLink Include^I^IPreProc
line 71: hi def link Include^I^IPreProc
line 72: SynLink Define^I^IPreProc
line 72: hi def link Define^I^IPreProc
line 73: SynLink Macro^I^IPreProc
line 73: hi def link Macro^I^IPreProc
line 74: SynLink PreCondit^IPreProc
line 74: hi def link PreCondit^IPreProc
line 75: SynLink StorageClass^IType
line 75: hi def link StorageClass^IType
line 76: SynLink Structure^IType
line 76: hi def link Structure^IType
line 77: SynLink Typedef^I^IType
line 77: hi def link Typedef^I^IType
line 78: SynLink Tag^I^ISpecial
line 78: hi def link Tag^I^ISpecial
line 79: SynLink SpecialChar^ISpecial
line 79: hi def link SpecialChar^ISpecial
line 80: SynLink Delimiter^ISpecial
line 80: hi def link Delimiter^ISpecial
line 81: SynLink SpecialComment^ISpecial
line 81: hi def link SpecialComment^ISpecial
line 82: SynLink Debug^I^ISpecial
line 82: hi def link Debug^I^ISpecial
line 83:
line 84: delcommand SynColor
line 85: delcommand SynLink
finished sourcing /usr/share/vim/vim81/syntax/syncolor.vim
continuing in /usr/share/vim/vim81/syntax/synload.vim
Searching for "/usr/share/vim/vimfiles/after/syntax/syncolor.vim"
Searching for "/var/lib/vim/addons/after/syntax/syncolor.vim"
Searching for "/home/you/.vim/after/syntax/syncolor.vim"
Searching for "/usr/share/vim-scripts/syntax/syncolor.vim"
line 22: endif
line 23:
line 24: " Line continuation is used here, remove 'C' from 'cpoptions'
line 25: let s:cpo_save = &cpo
line 26: set cpo&vim
line 27:
line 28: " First remove all old syntax autocommands.
line 29: au! Syntax
line 30:
line 31: au Syntax *^I^Icall s:SynSet()
line 32:
line 33: fun! s:SynSet()
line 61:
line 62:
line 63: " Handle adding doxygen to other languages (C, C++, C#, IDL, java, php, DataScript)
line 68: au Syntax c,cpp,cs,idl,java,php,datascript if (exists('b:load_doxygen_syntax') && b:load_doxygen_syntax)^I|| (exists('g:load_doxygen_syntax') && g:load_doxygen_syntax) | runtime! syntax/doxygen.vim | endif
line 69:
line 70:
line 71: " Source the user-specified syntax highlighting file
line 72: if exists("mysyntaxfile")
line 73: let s:fname = expand(mysyntaxfile)
line 74: if filereadable(s:fname)
line 75: execute "source " . fnameescape(s:fname)
line 76: endif
line 77: endif
line 78:
line 79: " Restore 'cpoptions'
line 80: let &cpo = s:cpo_save
line 81: unlet s:cpo_save
finished sourcing /usr/share/vim/vim81/syntax/synload.vim
continuing in /usr/share/vim/vim81/syntax/syntax.vim
line 20:
line 21: " Load the FileType autocommands if not done yet.
line 22: if exists("did_load_filetypes")
line 23: let s:did_ft = 1
line 24: else
line 25: filetype on
Searching for "filetype.vim" in "/home/you/.vim,/var/lib/vim/addons,/usr/share/vim/vimfiles,/usr/share/vim/vim81,/usr/share/vim/vimfiles/after,/var/lib/vim/addons/after,/home/you/.vim/after,/usr/share/vim-scripts"
Searching for "/home/you/.vim/filetype.vim"
Searching for "/var/lib/vim/addons/filetype.vim"
Searching for "/usr/share/vim/vimfiles/filetype.vim"
Searching for "/usr/share/vim/vim81/filetype.vim"
chdir(/usr/share/vim/vim81)
fchdir() to previous dir
line 25: sourcing "/usr/share/vim/vim81/filetype.vim"
line 1: " Vim support file to detect file types
line 2: "
line 3: " Maintainer:^IBram Moolenaar <[email protected]>
line 4: " Last Change:^I2019 Jan 28
line 5:
line 6: " Listen very carefully, I will say this only once
line 7: if exists("did_load_filetypes")
line 8: finish
line 9: endif
line 10: let did_load_filetypes = 1
line 11:
line 12: " Line continuation is used here, remove 'C' from 'cpoptions'
line 13: let s:cpo_save = &cpo
line 14: set cpo&vim
line 15:
line 16: augroup filetypedetect
line 17:
line 18: " Ignored extensions
line 19: if exists("*fnameescape")
line 21: au BufNewFile,BufRead ?\+.orig,?\+.bak,?\+.old,?\+.new,?\+.dpkg-dist,?\+.dpkg-old,?\+.dpkg-new,?\+.dpkg-bak,?\+.rpmsave,?\+.rpmnew,?\+.pacsave,?\+.pacnew exe "doau filetypedetect BufRead " . fnameescape(expand("<afile>:r"))
line 28: au BufNewFile,BufRead *~ let s:name = expand("<afile>") | let s:short = substitute(s:name, '\~$', '', '') | if s:name != s:short && s:short != "" | exe "doau filetypedetect BufRead " . fnameescape(s:short) | endif | unlet! s:name s:short
line 32: au BufNewFile,BufRead ?\+.in if expand("<afile>:t") != "configure.in" | exe "doau filetypedetect BufRead " . fnameescape(expand("<afile>:r")) | endif
line 33: elseif &verbose > 0
line 34: echomsg "Warning: some filetypes will not be recognized because this version of Vim does not have fnameescape()"
line 35: endif
line 36:
line 37: " Pattern used to match file names which should not be inspected.
line 38: " Currently finds compressed files.
line 39: if !exists("g:ft_ignore_pat")
line 40: let g:ft_ignore_pat = '\.\(Z\|gz\|bz2\|zip\|tgz\)$'
line 41: endif
line 42:
line 43: " Function used for patterns that end in a star: don't set the filetype if the
line 44: " file name matches ft_ignore_pat.
line 45: func! s:StarSetf(ft)
line 50:
line 51: " Vim help file
line 52: au BufNewFile,BufRead $VIMRUNTIME/doc/*.txt^Isetf help
line 53:
line 54: " Abaqus or Trasys
line 55: au BufNewFile,BufRead *.inp^I^I^Icall dist#ft#Check_inp()
line 56:
line 57: " A-A-P recipe
line 58: au BufNewFile,BufRead *.aap^I^I^Isetf aap
line 59:
line 60: " A2ps printing utility
line 61: au BufNewFile,BufRead */etc/a2ps.cfg,*/etc/a2ps/*.cfg,a2psrc,.a2psrc setf a2ps
line 62:
line 63: " ABAB/4
line 64: au BufNewFile,BufRead *.abap^I^I^Isetf abap
line 65:
line 66: " ABC music notation
line 67: au BufNewFile,BufRead *.abc^I^I^Isetf abc
line 68:
line 69: " ABEL
line 70: au BufNewFile,BufRead *.abl^I^I^Isetf abel
line 71:
line 72: " AceDB
line 73: au BufNewFile,BufRead *.wrm^I^I^Isetf acedb
line 74:
line 75: " Ada (83, 9X, 95)
line 76: au BufNewFile,BufRead *.adb,*.ads,*.ada^I^Isetf ada
line 77: if has("vms")
line 78: au BufNewFile,BufRead *.gpr,*.ada_m,*.adc^Isetf ada
line 79: else
line 80: au BufNewFile,BufRead *.gpr^I^I^Isetf ada
line 81: endif
line 82:
line 83: " AHDL
line 84: au BufNewFile,BufRead *.tdf^I^I^Isetf ahdl
line 85:
line 86: " AMPL
line 87: au BufNewFile,BufRead *.run^I^I^Isetf ampl
line 88:
line 89: " Ant
line 90: au BufNewFile,BufRead build.xml^I^I^Isetf ant
line 91:
line 92: " Arduino
line 93: au BufNewFile,BufRead *.ino,*.pde^I^Isetf arduino
line 94:
line 95: " Apache style config file
line 96: au BufNewFile,BufRead proftpd.conf*^I^Icall s:StarSetf('apachestyle')
line 97:
line 98: " Apache config file
line 99: au BufNewFile,BufRead .htaccess,*/etc/httpd/*.conf^I^Isetf apache
line 100: au BufNewFile,BufRead */etc/apache2/sites-*/*.com^I^Isetf apache
line 101:
line 102: " XA65 MOS6510 cross assembler
line 103: au BufNewFile,BufRead *.a65^I^I^Isetf a65
line 104:
line 105: " Applescript
line 106: au BufNewFile,BufRead *.scpt^I^I^Isetf applescript
line 107:
line 108: " Applix ELF
line 110: au BufNewFile,BufRead *.am if expand("<afile>") !~? 'Makefile.am\>' | setf elf | endif
line 111:
line 112: " ALSA configuration
line 113: au BufNewFile,BufRead .asoundrc,*/usr/share/alsa/alsa.conf,*/etc/asound.conf setf alsaconf
line 114:
line 115: " Arc Macro Language
line 116: au BufNewFile,BufRead *.aml^I^I^Isetf aml
line 117:
line 118: " APT config file
line 119: au BufNewFile,BufRead apt.conf^I^I setf aptconf
line 120: au BufNewFile,BufRead */.aptitude/config setf aptconf
line 121: au BufNewFile,BufRead */etc/apt/apt.conf.d/{[-_[:alnum:]]\+,[-_.[:alnum:]]\+.conf} setf aptconf
line 122:
line 123: " Arch Inventory file
line 124: au BufNewFile,BufRead .arch-inventory,=tagging-method^Isetf arch
line 125:
line 126: " ART*Enterprise (formerly ART-IM)
line 127: au BufNewFile,BufRead *.art^I^I^Isetf art
line 128:
line 129: " AsciiDoc
line 130: au BufNewFile,BufRead *.asciidoc,*.adoc^I^Isetf asciidoc
line 131:
line 132: " ASN.1
line 133: au BufNewFile,BufRead *.asn,*.asn1^I^Isetf asn
line 134:
line 135: " Active Server Pages (with Visual Basic Script)
line 141: au BufNewFile,BufRead *.asa if exists("g:filetype_asa") | exe "setf " . g:filetype_asa | else | setf aspvbs | endif
line 142:
line 143: " Active Server Pages (with Perl or Visual Basic Script)
line 151: au BufNewFile,BufRead *.asp if exists("g:filetype_asp") | exe "setf " . g:filetype_asp | elseif getline(1) . getline(2) . getline(3) =~? "perlscript" | setf aspperl | else | setf aspvbs | endif
line 152:
line 153: " Grub (must be before catch *.lst)
line 154: au BufNewFile,BufRead */boot/grub/menu.lst,*/boot/grub/grub.conf,*/etc/grub.conf setf grub
line 155:
line 156: " Assembly (all kinds)
line 157: " *.lst is not pure assembly, it has two extra columns (address, byte codes)
line 158: au BufNewFile,BufRead *.asm,*.[sS],*.[aA],*.mac,*.lst^Icall dist#ft#FTasm()
line 159:
line 160: " Macro (VAX)
line 161: au BufNewFile,BufRead *.mar^I^I^Isetf vmasm
line 162:
line 163: " Atlas
line 164: au BufNewFile,BufRead *.atl,*.as^I^Isetf atlas
line 165:
line 166: " Autoit v3
line 167: au BufNewFile,BufRead *.au3^I^I^Isetf autoit
line 168:
line 169: " Autohotkey
line 170: au BufNewFile,BufRead *.ahk^I^I^Isetf autohotkey
line 171:
line 172: " Automake
line 173: au BufNewFile,BufRead [mM]akefile.am,GNUmakefile.am^Isetf automake
line 174:
line 175: " Autotest .at files are actually m4
line 176: au BufNewFile,BufRead *.at^I^I^Isetf m4
line 177:
line 178: " Avenue
line 179: au BufNewFile,BufRead *.ave^I^I^Isetf ave
line 180:
line 181: " Awk
line 182: au BufNewFile,BufRead *.awk^I^I^Isetf awk
line 183:
line 184: " B
line 185: au BufNewFile,BufRead *.mch,*.ref,*.imp^I^Isetf b
line 186:
line 187: " BASIC or Visual Basic
line 188: au BufNewFile,BufRead *.bas^I^I^Icall dist#ft#FTVB("basic")
line 189:
line 190: " Visual Basic Script (close to Visual Basic) or Visual Basic .NET
line 191: au BufNewFile,BufRead *.vb,*.vbs,*.dsm,*.ctl^Isetf vb
line 192:
line 193: " IBasic file (similar to QBasic)
line 194: au BufNewFile,BufRead *.iba,*.ibi^I^Isetf ibasic
line 195:
line 196: " FreeBasic file (similar to QBasic)
line 197: au BufNewFile,BufRead *.fb,*.bi^I^I^Isetf freebasic
line 198:
line 199: " Batch file for MSDOS.
line 200: au BufNewFile,BufRead *.bat,*.sys^I^Isetf dosbatch
line 201: " *.cmd is close to a Batch file, but on OS/2 Rexx files also use *.cmd.
line 203: au BufNewFile,BufRead *.cmd if getline(1) =~ '^/\*' | setf rexx | else | setf dosbatch | endif
line 204:
line 205: " Batch file for 4DOS
line 206: au BufNewFile,BufRead *.btm^I^I^Icall dist#ft#FTbtm()
line 207:
line 208: " BC calculator
line 209: au BufNewFile,BufRead *.bc^I^I^Isetf bc
line 210:
line 211: " BDF font
line 212: au BufNewFile,BufRead *.bdf^I^I^Isetf bdf
line 213:
line 214: " BibTeX bibliography database file
line 215: au BufNewFile,BufRead *.bib^I^I^Isetf bib
line 216:
line 217: " BibTeX Bibliography Style
line 218: au BufNewFile,BufRead *.bst^I^I^Isetf bst
line 219:
line 220: " BIND configuration
line 221: " sudoedit uses namedXXXX.conf
line 222: au BufNewFile,BufRead named*.conf,rndc*.conf,rndc*.key^Isetf named
line 223:
line 224: " BIND zone
line 225: au BufNewFile,BufRead named.root^I^Isetf bindzone
line 226: au BufNewFile,BufRead *.db^I^I^Icall dist#ft#BindzoneCheck('')
line 227:
line 228: " Blank
line 229: au BufNewFile,BufRead *.bl^I^I^Isetf blank
line 230:
line 231: " Blkid cache file
line 232: au BufNewFile,BufRead */etc/blkid.tab,*/etc/blkid.tab.old setf xml
line 233:
line 234: " Bazel (http://bazel.io)
line 235: autocmd BufRead,BufNewFile *.bzl,WORKSPACE,BUILD.bazel ^Isetf bzl
line 236: if has("fname_case")
line 237: " There is another check for BUILD further below.
line 238: autocmd BufRead,BufNewFile BUILD^I^I^Isetf bzl
line 239: endif
line 240:
line 241: " C or lpc
line 242: au BufNewFile,BufRead *.c^I^I^Icall dist#ft#FTlpc()
line 243: au BufNewFile,BufRead *.lpc,*.ulpc^I^Isetf lpc
line 244:
line 245: " Calendar
line 246: au BufNewFile,BufRead calendar^I^I^Isetf calendar
line 247:
line 248: " C#
line 249: au BufNewFile,BufRead *.cs^I^I^Isetf cs
line 250:
line 251: " CSDL
line 252: au BufNewFile,BufRead *.csdl^I^I^Isetf csdl
line 253:
line 254: " Cabal
line 255: au BufNewFile,BufRead *.cabal^I^I^Isetf cabal
line 256:
line 257: " Cdrdao TOC
line 258: au BufNewFile,BufRead *.toc^I^I^Isetf cdrtoc
line 259:
line 260: " Cdrdao config
line 261: au BufNewFile,BufRead */etc/cdrdao.conf,*/etc/defaults/cdrdao,*/etc/default/cdrdao,.cdrdao^Isetf cdrdaoconf
line 262:
line 263: " Cfengine
line 264: au BufNewFile,BufRead cfengine.conf^I^Isetf cfengine
line 265:
line 266: " ChaiScript
line 267: au BufRead,BufNewFile *.chai^I^I^Isetf chaiscript
line 268:
line 269: " Comshare Dimension Definition Language
line 270: au BufNewFile,BufRead *.cdl^I^I^Isetf cdl
line 271:
line 272: " Conary Recipe
line 273: au BufNewFile,BufRead *.recipe^I^I^Isetf conaryrecipe
line 274:
line 275: " Controllable Regex Mutilator
line 276: au BufNewFile,BufRead *.crm^I^I^Isetf crm
line 277:
line 278: " Cyn++
line 279: au BufNewFile,BufRead *.cyn^I^I^Isetf cynpp
line 280:
line 281: " Cynlib
line 282: " .cc and .cpp files can be C++ or Cynlib.
line 284: au BufNewFile,BufRead *.cc if exists("cynlib_syntax_for_cc")|setf cynlib|else|setf cpp|endif
line 286: au BufNewFile,BufRead *.cpp if exists("cynlib_syntax_for_cpp")|setf cynlib|else|setf cpp|endif
line 287:
line 288: " C++
line 289: au BufNewFile,BufRead *.cxx,*.c++,*.hh,*.hxx,*.hpp,*.ipp,*.moc,*.tcc,*.inl setf cpp
line 290: if has("fname_case")
line 291: au BufNewFile,BufRead *.C,*.H setf cpp
line 292: endif
line 293:
line 294: " .h files can be C, Ch C++, ObjC or ObjC++.
line 295: " Set c_syntax_for_h if you want C, ch_syntax_for_h if you want Ch. ObjC is
line 296: " detected automatically.
line 297: au BufNewFile,BufRead *.h^I^I^Icall dist#ft#FTheader()
line 298:
line 299: " Ch (CHscript)
line 300: au BufNewFile,BufRead *.chf^I^I^Isetf ch
line 301:
line 302: " TLH files are C++ headers generated by Visual C++'s #import from typelibs
line 303: au BufNewFile,BufRead *.tlh^I^I^Isetf cpp
line 304:
line 305: " Cascading Style Sheets
line 306: au BufNewFile,BufRead *.css^I^I^Isetf css
line 307:
line 308: " Century Term Command Scripts (*.cmd too)
line 309: au BufNewFile,BufRead *.con^I^I^Isetf cterm
line 310:
line 311: " Changelog
line 313: au BufNewFile,BufRead changelog.Debian,changelog.dch,NEWS.Debian,NEWS.dch^Isetf debchangelog
line 314:
line 320: au BufNewFile,BufRead [cC]hange[lL]og if getline(1) =~ '; urgency='| setf debchangelog| else| setf changelog| endif
line 321:
line 325: au BufNewFile,BufRead NEWS if getline(1) =~ '; urgency='| setf debchangelog| endif
line 326:
line 327: " CHILL
line 328: au BufNewFile,BufRead *..ch^I^I^Isetf chill
line 329:
line 330: " Changes for WEB and CWEB or CHILL
line 331: au BufNewFile,BufRead *.ch^I^I^Icall dist#ft#FTchange()
line 332:
line 333: " ChordPro
line 334: au BufNewFile,BufRead *.chopro,*.crd,*.cho,*.crdpro,*.chordpro^Isetf chordpro
line 335:
line 336: " Clean
line 337: au BufNewFile,BufRead *.dcl,*.icl^I^Isetf clean
line 338:
line 339: " Clever
line 340: au BufNewFile,BufRead *.eni^I^I^Isetf cl
line 341:
line 342: " Clever or dtd
line 343: au BufNewFile,BufRead *.ent^I^I^Icall dist#ft#FTent()
line 344:
line 345: " Clipper (or FoxPro; could also be eviews)
line 351: au BufNewFile,BufRead *.prg if exists("g:filetype_prg") | exe "setf " . g:filetype_prg | else | setf clipper | endif
line 352:
line 353: " Clojure
line 354: au BufNewFile,BufRead *.clj,*.cljs,*.cljx,*.cljc^I^Isetf clojure
line 355:
line 356: " Cmake
line 357: au BufNewFile,BufRead CMakeLists.txt,*.cmake,*.cmake.in^I^Isetf cmake
line 358:
line 359: " Cmusrc
line 360: au BufNewFile,BufRead */.cmus/{autosave,rc,command-history,*.theme} setf cmusrc
line 361: au BufNewFile,BufRead */cmus/{rc,*.theme}^I^I^Isetf cmusrc
line 362:
line 363: " Cobol
line 364: au BufNewFile,BufRead *.cbl,*.cob,*.lib^Isetf cobol
line 365: " cobol or zope form controller python script? (heuristic)
line 371: au BufNewFile,BufRead *.cpy if getline(1) =~ '^##' | setf python | else | setf cobol | endif
line 372:
line 373: " Coco/R
line 374: au BufNewFile,BufRead *.atg^I^I^Isetf coco
line 375:
line 376: " Cold Fusion
line 377: au BufNewFile,BufRead *.cfm,*.cfi,*.cfc^I^Isetf cf
line 378:
line 379: " Configure scripts
line 380: au BufNewFile,BufRead configure.in,configure.ac setf config
line 381:
line 382: " CUDA Cumpute Unified Device Architecture
line 383: au BufNewFile,BufRead *.cu,*.cuh^I^Isetf cuda
line 384:
line 385: " Dockerfile
line 386: au BufNewFile,BufRead Dockerfile,*.Dockerfile^Isetf dockerfile
line 387:
line 388: " WildPackets EtherPeek Decoder
line 389: au BufNewFile,BufRead *.dcd^I^I^Isetf dcd
line 390:
line 391: " Enlightenment configuration files
line 392: au BufNewFile,BufRead *enlightenment/*.cfg^Isetf c
line 393:
line 394: " Eterm
line 395: au BufNewFile,BufRead *Eterm/*.cfg^I^Isetf eterm
line 396:
line 397: " Euphoria 3 or 4
line 398: au BufNewFile,BufRead *.eu,*.ew,*.ex,*.exu,*.exw call dist#ft#EuphoriaCheck()
line 399: if has("fname_case")
line 400: au BufNewFile,BufRead *.EU,*.EW,*.EX,*.EXU,*.EXW call dist#ft#EuphoriaCheck()
line 401: endif
line 402:
line 403: " Lynx config files
line 404: au BufNewFile,BufRead lynx.cfg^I^I^Isetf lynx
line 405:
line 406: " Quake
line 407: au BufNewFile,BufRead *baseq[2-3]/*.cfg,*id1/*.cfg^Isetf quake
line 408: au BufNewFile,BufRead *quake[1-3]/*.cfg^I^I^Isetf quake
line 409:
line 410: " Quake C
line 411: au BufNewFile,BufRead *.qc^I^I^Isetf c
line 412:
line 413: " Configure files
line 414: au BufNewFile,BufRead *.cfg^I^I^Isetf cfg
line 415:
line 416: " Cucumber
line 417: au BufNewFile,BufRead *.feature^I^I^Isetf cucumber
line 418:
line 419: " Communicating Sequential Processes
line 420: au BufNewFile,BufRead *.csp,*.fdr^I^Isetf csp
line 421:
line 422: " CUPL logic description and simulation
line 423: au BufNewFile,BufRead *.pld^I^I^Isetf cupl
line 424: au BufNewFile,BufRead *.si^I^I^Isetf cuplsim
line 425:
line 426: " Debian Control
line 427: au BufNewFile,BufRead */debian/control^I^Isetf debcontrol
line 431: au BufNewFile,BufRead control if getline(1) =~ '^Source:'| setf debcontrol| endif
line 432:
line 433: " Debian Copyright
line 434: au BufNewFile,BufRead */debian/copyright^Isetf debcopyright
line 438: au BufNewFile,BufRead copyright if getline(1) =~ '^Format:'| setf debcopyright| endif
line 439:
line 440: " Debian Sources.list
line 441: au BufNewFile,BufRead */etc/apt/sources.list^I^Isetf debsources
line 442: au BufNewFile,BufRead */etc/apt/sources.list.d/*.list^Isetf debsources
line 443:
line 444: " Deny hosts
line 445: au BufNewFile,BufRead denyhosts.conf^I^Isetf denyhosts
line 446:
line 447: " dnsmasq(8) configuration files
line 448: au BufNewFile,BufRead */etc/dnsmasq.conf^Isetf dnsmasq
line 449:
line 450: " ROCKLinux package description
line 451: au BufNewFile,BufRead *.desc^I^I^Isetf desc
line 452:
line 453: " the D language or dtrace
line 454: au BufNewFile,BufRead *.d^I^I^Icall dist#ft#DtraceCheck()
line 455:
line 456: " Desktop files
line 457: au BufNewFile,BufRead *.desktop,.directory^Isetf desktop
line 458:
line 459: " Dict config
line 460: au BufNewFile,BufRead dict.conf,.dictrc^I^Isetf dictconf
line 461:
line 462: " Dictd config
line 463: au BufNewFile,BufRead dictd.conf^I^Isetf dictdconf
line 464:
line 465: " Diff files
line 466: au BufNewFile,BufRead *.diff,*.rej^I^Isetf diff
line 472: au BufNewFile,BufRead *.patch if getline(1) =~ '^From [0-9a-f]\{40\} Mon Sep 17 00:00:00 2001$' | setf gitsendemail | else | setf diff | endif
line 473:
line 474: " Dircolors
line 475: au BufNewFile,BufRead .dir_colors,.dircolors,*/etc/DIR_COLORS^Isetf dircolors
line 476:
line 477: " Diva (with Skill) or InstallShield
line 483: au BufNewFile,BufRead *.rul if getline(1).getline(2).getline(3).getline(4).getline(5).getline(6) =~? 'InstallShield' | setf ishd | else | setf diva | endif
line 484:
line 485: " DCL (Digital Command Language - vms) or DNS zone file
line 486: au BufNewFile,BufRead *.com^I^I^Icall dist#ft#BindzoneCheck('dcl')
line 487:
line 488: " DOT
line 489: au BufNewFile,BufRead *.dot^I^I^Isetf dot
line 490:
line 491: " Dylan - lid files
line 492: au BufNewFile,BufRead *.lid^I^I^Isetf dylanlid
line 493:
line 494: " Dylan - intr files (melange)
line 495: au BufNewFile,BufRead *.intr^I^I^Isetf dylanintr
line 496:
line 497: " Dylan
line 498: au BufNewFile,BufRead *.dylan^I^I^Isetf dylan
line 499:
line 500: " Microsoft Module Definition
line 501: au BufNewFile,BufRead *.def^I^I^Isetf def
line 502:
line 503: " Dracula
line 504: au BufNewFile,BufRead *.drac,*.drc,*lvs,*lpe^Isetf dracula
line 505:
line 506: " Datascript
line 507: au BufNewFile,BufRead *.ds^I^I^Isetf datascript
line 508:
line 509: " dsl
line 510: au BufNewFile,BufRead *.dsl^I^I^Isetf dsl
line 511:
line 512: " DTD (Document Type Definition for XML)
line 513: au BufNewFile,BufRead *.dtd^I^I^Isetf dtd
line 514:
line 515: " DTS/DSTI (device tree files)
line 516: au BufNewFile,BufRead *.dts,*.dtsi^I^Isetf dts
line 517:
line 518: " EDIF (*.edf,*.edif,*.edn,*.edo) or edn
line 519: au BufNewFile,BufRead *.ed\(f\|if\|o\)^I^Isetf edif
line 525: au BufNewFile,BufRead *.edn if getline(1) =~ '^\s*(\s*edif\>' | setf edif | else | setf clojure | endif
line 526:
line 527: " EditorConfig (close enough to dosini)
line 528: au BufNewFile,BufRead .editorconfig^I^Isetf dosini
line 529:
line 530: " Embedix Component Description
line 531: au BufNewFile,BufRead *.ecd^I^I^Isetf ecd
line 532:
line 533: " Eiffel or Specman or Euphoria
line 534: au BufNewFile,BufRead *.e,*.E^I^I^Icall dist#ft#FTe()
line 535:
line 536: " Elinks configuration
line 537: au BufNewFile,BufRead */etc/elinks.conf,*/.elinks/elinks.conf^Isetf elinks
line 538:
line 539: " ERicsson LANGuage; Yaws is erlang too
line 540: au BufNewFile,BufRead *.erl,*.hrl,*.yaws^Isetf erlang
line 541:
line 542: " Elm Filter Rules file
line 543: au BufNewFile,BufRead filter-rules^I^Isetf elmfilt
line 544:
line 545: " ESMTP rc file
line 546: au BufNewFile,BufRead *esmtprc^I^I^Isetf esmtprc
line 547:
line 548: " ESQL-C
line 549: au BufNewFile,BufRead *.ec,*.EC^I^I^Isetf esqlc
line 550:
line 551: " Esterel
line 552: au BufNewFile,BufRead *.strl^I^I^Isetf esterel
line 553:
line 554: " Essbase script
line 555: au BufNewFile,BufRead *.csc^I^I^Isetf csc
line 556:
line 557: " Exim
line 558: au BufNewFile,BufRead exim.conf^I^I^Isetf exim
line 559:
line 560: " Expect
line 561: au BufNewFile,BufRead *.exp^I^I^Isetf expect
line 562:
line 563: " Exports
line 564: au BufNewFile,BufRead exports^I^I^Isetf exports
line 565:
line 566: " Falcon
line 567: au BufNewFile,BufRead *.fal^I^I^Isetf falcon
line 568:
line 569: " Fantom
line 570: au BufNewFile,BufRead *.fan,*.fwt^I^Isetf fan
line 571:
line 572: " Factor
line 573: au BufNewFile,BufRead *.factor^I^I^Isetf factor
line 574:
line 575: " Fetchmail RC file
line 576: au BufNewFile,BufRead .fetchmailrc^I^Isetf fetchmail
line 577:
line 578: " FlexWiki - disabled, because it has side effects when a .wiki file
line 579: " is not actually FlexWiki
line 580: "au BufNewFile,BufRead *.wiki^I^I^Isetf flexwiki
line 581:
line 582: " Focus Executable
line 583: au BufNewFile,BufRead *.fex,*.focexec^I^Isetf focexec
line 584:
line 585: " Focus Master file (but not for auto.master)
line 586: au BufNewFile,BufRead auto.master^I^Isetf conf
line 587: au BufNewFile,BufRead *.mas,*.master^I^Isetf master
line 588:
line 589: " Forth
line 590: au BufNewFile,BufRead *.fs,*.ft,*.fth^I^Isetf forth
line 591:
line 592: " Reva Forth
line 593: au BufNewFile,BufRead *.frt^I^I^Isetf reva
line 594:
line 595: " Fortran
line 596: if has("fname_case")
line 597: au BufNewFile,BufRead *.F,*.FOR,*.FPP,*.FTN,*.F77,*.F90,*.F95,*.F03,*.F08^I setf fortran
line 598: endif
line 599: au BufNewFile,BufRead *.f,*.for,*.fortran,*.fpp,*.ftn,*.f77,*.f90,*.f95,*.f03,*.f08 setf fortran
line 600:
line 601: " Framescript
line 602: au BufNewFile,BufRead *.fsl^I^I^Isetf framescript
line 603:
line 604: " FStab
line 605: au BufNewFile,BufRead fstab,mtab^I^Isetf fstab
line 606:
line 607: " GDB command files
line 608: au BufNewFile,BufRead .gdbinit^I^I^Isetf gdb
line 609:
line 610: " GDMO
line 611: au BufNewFile,BufRead *.mo,*.gdmo^I^Isetf gdmo
line 612:
line 613: " Gedcom
line 614: au BufNewFile,BufRead *.ged,lltxxxxx.txt^Isetf gedcom
line 615:
line 616: " Git
line 617: au BufNewFile,BufRead COMMIT_EDITMSG,MERGE_MSG,TAG_EDITMSG ^Isetf gitcommit
line 618: au BufNewFile,BufRead *.git/config,.gitconfig,/etc/gitconfig ^Isetf gitconfig
line 619: au BufNewFile,BufRead */.config/git/config^I^I^Isetf gitconfig
line 620: au BufNewFile,BufRead .gitmodules,*.git/modules/*/config^Isetf gitconfig
line 621: if !empty($XDG_CONFIG_HOME)
line 622: au BufNewFile,BufRead $XDG_CONFIG_HOME/git/config^I^Isetf gitconfig
line 623: endif
line 624: au BufNewFile,BufRead git-rebase-todo^I^Isetf gitrebase
line 625: au BufRead,BufNewFile .gitsendemail.msg.??????^Isetf gitsendemail
line 629: au BufNewFile,BufRead .msg.[0-9]* if getline(1) =~ '^From.*# This line is ignored.$' | setf gitsendemail | endif
line 633: au BufNewFile,BufRead *.git/* if getline(1) =~ '^\x\{40\}\>\|^ref: ' | setf git | endif
line 634:
line 635: " Gkrellmrc
line 636: au BufNewFile,BufRead gkrellmrc,gkrellmrc_?^Isetf gkrellmrc
line 637:
line 638: " GP scripts (2.0 and onward)
line 639: au BufNewFile,BufRead *.gp,.gprc^I^Isetf gp
line 640:
line 641: " GPG
line 642: au BufNewFile,BufRead */.gnupg/options^I^Isetf gpg
line 643: au BufNewFile,BufRead */.gnupg/gpg.conf^I^Isetf gpg
line 644: au BufNewFile,BufRead */usr/*/gnupg/options.skel setf gpg
line 645: if !empty($GNUPGHOME)
line 646: au BufNewFile,BufRead $GNUPGHOME/options^Isetf gpg
line 647: au BufNewFile,BufRead $GNUPGHOME/gpg.conf^Isetf gpg
line 648: endif
line 649:
line 650: " gnash(1) configuration files
line 651: au BufNewFile,BufRead gnashrc,.gnashrc,gnashpluginrc,.gnashpluginrc setf gnash
line 652:
line 653: " Gitolite
line 654: au BufNewFile,BufRead gitolite.conf^I^Isetf gitolite
line 655: au BufNewFile,BufRead */gitolite-admin/conf/*^Icall s:StarSetf('gitolite')
line 656: au BufNewFile,BufRead {,.}gitolite.rc,example.gitolite.rc^Isetf perl
line 657:
line 658: " Gnuplot scripts
line 659: au BufNewFile,BufRead *.gpi^I^I^Isetf gnuplot
line 660:
line 661: " Go (Google)
line 662: au BufNewFile,BufRead *.go^I^I^Isetf go
line 663:
line 664: " GrADS scripts
line 665: au BufNewFile,BufRead *.gs^I^I^Isetf grads
line 666:
line 667: " Gretl
line 668: au BufNewFile,BufRead *.gretl^I^I^Isetf gretl
line 669:
line 670: " Groovy
line 671: au BufNewFile,BufRead *.gradle,*.groovy^I^Isetf groovy
line 672:
line 673: " GNU Server Pages
line 674: au BufNewFile,BufRead *.gsp^I^I^Isetf gsp
line 675:
line 676: " Group file
line 677: au BufNewFile,BufRead */etc/group,*/etc/group-,*/etc/group.edit,*/etc/gshadow,*/etc/gshadow-,*/etc/gshadow.edit,*/var/backups/group.bak,*/var/backups/gshadow.bak setf group
line 678:
line 679: " GTK RC
line 680: au BufNewFile,BufRead .gtkrc,gtkrc^I^Isetf gtkrc
line 681:
line 682: " Haml
line 683: au BufNewFile,BufRead *.haml^I^I^Isetf haml
line 684:
line 685: " Hamster Classic | Playground files
line 686: au BufNewFile,BufRead *.hsc,*.hsm^I^Isetf hamster
line 687:
line 688: " Haskell
line 689: au BufNewFile,BufRead *.hs,*.hs-boot^I^Isetf haskell
line 690: au BufNewFile,BufRead *.lhs^I^I^Isetf lhaskell
line 691: au BufNewFile,BufRead *.chs^I^I^Isetf chaskell
line 692:
line 693: " Haste
line 694: au BufNewFile,BufRead *.ht^I^I^Isetf haste
line 695: au BufNewFile,BufRead *.htpp^I^I^Isetf hastepreproc
line 696:
line 697: " Hercules
line 698: au BufNewFile,BufRead *.vc,*.ev,*.sum,*.errsum^Isetf hercules
line 699:
line 700: " HEX (Intel)