-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvimlog_patched
4718 lines (4597 loc) · 224 KB
/
vimlog_patched
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
sourcing "vimrc"
line 1: set nocompatible
line 2:
line 3: " vundle configuration START
line 4: filetype off
Searching for "ftoff.vim" in "/Users/nerfologist/.vim,/usr/local/Cellar/macvim/8.0-146_1/MacVim.app/Contents/Resources/vim/vimfiles,/usr/local/Cellar/macvim/8.0-146_1/MacVim.app/Contents/Resources/vim/runtime,/usr/local/Cellar/macvim/8.0-146_1/MacVim.app/Contents/Resources/vim/vimfiles/after,/Users/nerfologist/.vim/after"
Searching for "/Users/nerfologist/.vim/ftoff.vim"
Searching for "/usr/local/Cellar/macvim/8.0-146_1/MacVim.app/Contents/Resources/vim/vimfiles/ftoff.vim"
Searching for "/usr/local/Cellar/macvim/8.0-146_1/MacVim.app/Contents/Resources/vim/runtime/ftoff.vim"
chdir(/usr/local/Cellar/macvim/8.0-146_1/MacVim.app/Contents/Resources/vim/runtime)
fchdir() to previous dir
line 4: sourcing "/usr/local/Cellar/macvim/8.0-146_1/MacVim.app/Contents/Resources/vim/runtime/ftoff.vim"
line 1: " Vim support file to switch off detection of file types
line 2: "
line 3: " Maintainer:^IBram Moolenaar <[email protected]>
line 4: " Last change:^I2001 Jun 11
line 5:
line 6: if exists("did_load_filetypes")
line 7: unlet did_load_filetypes
line 8: endif
line 9:
line 10: " Remove all autocommands in the filetypedetect group
line 11: silent! au! filetypedetect *
Error detected while processing /usr/local/Cellar/macvim/8.0-146_1/MacVim.app/Contents/Resources/vim/runtime/ftoff.vim:
line 11:
E216: No such group or event: filetypedetect *
finished sourcing /usr/local/Cellar/macvim/8.0-146_1/MacVim.app/Contents/Resources/vim/runtime/ftoff.vim
continuing in /Users/nerfologist/repos/vim-prettier-crash-segv/vimrc
Searching for "/usr/local/Cellar/macvim/8.0-146_1/MacVim.app/Contents/Resources/vim/vimfiles/after/ftoff.vim"
Searching for "/Users/nerfologist/.vim/after/ftoff.vim"
line 5:
line 6: set rtp+=~/.vim/bundle/Vundle.vim
line 7: call vundle#begin()
Searching for "autoload/vundle.vim" in "/Users/nerfologist/.vim,/usr/local/Cellar/macvim/8.0-146_1/MacVim.app/Contents/Resources/vim/vimfiles,/usr/local/Cellar/macvim/8.0-146_1/MacVim.app/Contents/Resources/vim/runtime,/usr/local/Cellar/macvim/8.0-146_1/MacVim.app/Contents/Resources/vim/vimfiles/after,/Users/nerfologist/.vim/after,/Users/nerfologist/.vim/bundle/Vundle.vim"
Searching for "/Users/nerfologist/.vim/autoload/vundle.vim"
Searching for "/usr/local/Cellar/macvim/8.0-146_1/MacVim.app/Contents/Resources/vim/vimfiles/autoload/vundle.vim"
Searching for "/usr/local/Cellar/macvim/8.0-146_1/MacVim.app/Contents/Resources/vim/runtime/autoload/vundle.vim"
Searching for "/usr/local/Cellar/macvim/8.0-146_1/MacVim.app/Contents/Resources/vim/vimfiles/after/autoload/vundle.vim"
Searching for "/Users/nerfologist/.vim/after/autoload/vundle.vim"
Searching for "/Users/nerfologist/.vim/bundle/Vundle.vim/autoload/vundle.vim"
chdir(/Users/nerfologist/.vim/bundle/Vundle.vim/autoload)
fchdir() to previous dir
line 7: sourcing "/Users/nerfologist/.vim/bundle/Vundle.vim/autoload/vundle.vim"
line 1: " Vundle is a shortcut for Vim Bundle and Is a simple plugin manager for Vim
line 2: " Author: gmarik
line 3: " HomePage: http://github.com/VundleVim/Vundle.vim
line 4: " Readme: http://github.com/VundleVim/Vundle.vim/blob/master/README.md
line 5: " Version: 0.10.2
line 6:
line 7: " Plugin Commands
line 9: com! -nargs=+ -bar Plugin call vundle#config#bundle(<args>)
line 10:
line 12: com! -nargs=* -bang -complete=custom,vundle#scripts#complete PluginInstall call vundle#installer#new('!' == '<bang>', <f-args>)
line 13:
line 15: com! -nargs=? -bang -complete=custom,vundle#scripts#complete PluginSearch call vundle#scripts#all('!' == '<bang>', <q-args>)
line 16:
line 18: com! -nargs=0 -bang PluginList call vundle#installer#list('!' == '<bang>')
line 19:
line 21: com! -nargs=? -bang PluginClean call vundle#installer#clean('!' == '<bang>')
line 22:
line 24: com! -nargs=0 PluginDocs call vundle#installer#helptags(g:vundle#bundles)
line 25:
line 26: " Aliases
line 27: com! -nargs=* -complete=custom,vundle#scripts#complete PluginUpdate PluginInstall! <args>
line 28:
line 29: " Vundle Aliases
line 30: com! -nargs=? -bang -complete=custom,vundle#scripts#complete VundleInstall PluginInstall<bang> <args>
line 31: com! -nargs=? -bang -complete=custom,vundle#scripts#complete VundleSearch PluginSearch<bang> <args>
line 32: com! -nargs=? -bang VundleClean PluginClean<bang>
line 33: com! -nargs=0 VundleDocs PluginDocs
line 34: com! VundleUpdate PluginInstall!
line 35: com! -nargs=* -complete=custom,vundle#scripts#complete VundleUpdate PluginInstall! <args>
line 36:
line 37: " Deprecated Commands
line 38: com! -nargs=+ Bundle call vundle#config#bundle(<args>)
line 39: com! -nargs=? -bang -complete=custom,vundle#scripts#complete BundleInstall PluginInstall<bang> <args>
line 40: com! -nargs=? -bang -complete=custom,vundle#scripts#complete BundleSearch PluginSearch<bang> <args>
line 41: com! -nargs=0 -bang BundleList PluginList<bang>
line 42: com! -nargs=? -bang BundleClean PluginClean<bang>
line 43: com! -nargs=0 BundleDocs PluginDocs
line 44: com! BundleUpdate PluginInstall!
line 45:
line 46: " Set up the signs used in the installer window. (See :help signs)
line 47: if (has('signs'))
line 48: sign define Vu_error text=! texthl=Error
line 49: sign define Vu_active text=> texthl=Comment
line 50: sign define Vu_todate text=. texthl=Comment
line 51: sign define Vu_new text=+ texthl=Comment
line 52: sign define Vu_updated text=* texthl=Comment
line 53: sign define Vu_deleted text=- texthl=Comment
line 54: sign define Vu_helptags text=* texthl=Comment
line 55: sign define Vu_pinned text== texthl=Comment
line 56: endif
line 57:
line 58: " Set up Vundle. This function has to be called from the users vimrc file.
line 59: " This will force Vim to source this file as a side effect which wil define
line 60: " the :Plugin command. After calling this function the user can use the
line 61: " :Plugin command in the vimrc. It is not possible to do this automatically
line 62: " because when loading the vimrc file no plugins where loaded yet.
line 63: func! vundle#rc(...) abort
line 69:
line 70: " Alternative to vundle#rc, offers speed up by modifying rtp only when end()
line 71: " called later.
line 72: func! vundle#begin(...) abort
line 76:
line 77: " Finishes putting plugins on the rtp.
line 78: func! vundle#end(...) abort
line 82:
line 83: " Initialize some global variables used by Vundle.
line 84: let vundle#bundle_dir = expand('$HOME/.vim/bundle', 1)
line 85: let vundle#bundles = []
line 86: let vundle#lazy_load = 0
line 87: let vundle#log = []
line 88: let vundle#updated_bundles = []
line 89:
line 90: " vim: set expandtab sts=2 ts=2 sw=2 tw=78 norl:
finished sourcing /Users/nerfologist/.vim/bundle/Vundle.vim/autoload/vundle.vim
continuing in /Users/nerfologist/repos/vim-prettier-crash-segv/vimrc
calling function vundle#begin()
line 1: let g:vundle#lazy_load = 1
line 2: call call('vundle#rc', a:000)
calling function vundle#begin[2]..vundle#rc()
line 1: if a:0 > 0
line 2: let g:vundle#bundle_dir = expand(a:1, 1)
line 3: endif
line 4: call vundle#config#init()
Searching for "autoload/vundle/config.vim" in "/Users/nerfologist/.vim,/usr/local/Cellar/macvim/8.0-146_1/MacVim.app/Contents/Resources/vim/vimfiles,/usr/local/Cellar/macvim/8.0-146_1/MacVim.app/Contents/Resources/vim/runtime,/usr/local/Cellar/macvim/8.0-146_1/MacVim.app/Contents/Resources/vim/vimfiles/after,/Users/nerfologist/.vim/after,/Users/nerfologist/.vim/bundle/Vundle.vim"
Searching for "/Users/nerfologist/.vim/autoload/vundle/config.vim"
Searching for "/usr/local/Cellar/macvim/8.0-146_1/MacVim.app/Contents/Resources/vim/vimfiles/autoload/vundle/config.vim"
Searching for "/usr/local/Cellar/macvim/8.0-146_1/MacVim.app/Contents/Resources/vim/runtime/autoload/vundle/config.vim"
Searching for "/usr/local/Cellar/macvim/8.0-146_1/MacVim.app/Contents/Resources/vim/vimfiles/after/autoload/vundle/config.vim"
Searching for "/Users/nerfologist/.vim/after/autoload/vundle/config.vim"
Searching for "/Users/nerfologist/.vim/bundle/Vundle.vim/autoload/vundle/config.vim"
chdir(/Users/nerfologist/.vim/bundle/Vundle.vim/autoload/vundle)
fchdir() to previous dir
line 4: sourcing "/Users/nerfologist/.vim/bundle/Vundle.vim/autoload/vundle/config.vim"
line 1: " ---------------------------------------------------------------------------
line 2: " Add a plugin to the runtimepath.
line 3: "
line 4: " arg -- a string specifying the plugin
line 5: " ... -- a dictionary of options for the plugin
line 6: " return -- the return value from vundle#config#init_bundle()
line 7: " ---------------------------------------------------------------------------
line 8: func! vundle#config#bundle(arg, ...)
line 23:
line 24:
line 25: " ---------------------------------------------------------------------------
line 26: " When lazy bundle load is used (begin/end functions), add all configured
line 27: " bundles to runtimepath and reorder appropriately.
line 28: " ---------------------------------------------------------------------------
line 29: func! vundle#config#activate_bundles()
line 33:
line 34:
line 35: " ---------------------------------------------------------------------------
line 36: " Initialize Vundle.
line 37: "
line 38: " Start a new bundles list and make sure the runtimepath does not contain
line 39: " directories from a previous call. In theory, this should only be called
line 40: " once.
line 41: " ---------------------------------------------------------------------------
line 42: func! vundle#config#init()
line 48:
line 49:
line 50: " ---------------------------------------------------------------------------
line 51: " Add a list of bundles to the runtimepath and source them.
line 52: "
line 53: " bundles -- a list of bundle objects
line 54: " ---------------------------------------------------------------------------
line 55: func! vundle#config#require(bundles) abort
line 66:
line 67:
line 68: " ---------------------------------------------------------------------------
line 69: " Create a bundle object from a bundle specification.
line 70: "
line 71: " name -- the bundle specification as a string
line 72: " opts -- the options dictionary from then bundle definition
line 73: " return -- an initialized bundle object
line 74: " ---------------------------------------------------------------------------
line 75: func! vundle#config#init_bundle(name, opts)
line 84:
line 85:
line 86: " ---------------------------------------------------------------------------
line 87: " Check if the current bundle name has already been used in this running
line 88: " instance and show an error to that effect.
line 89: "
line 90: " bundle -- a bundle object whose name is to be checked
line 91: " return -- 0 if the bundle's name has been seen before, 1 otherwise
line 92: " ---------------------------------------------------------------------------
line 93: funct! s:check_bundle_name(bundle)
line 107:
line 108:
line 109: " ---------------------------------------------------------------------------
line 110: " Parse the options which can be supplied with the bundle specification.
line 111: " Corresponding documentation: vundle-plugins-configure
line 112: "
line 113: " opts -- a dictionary with the user supplied options for the bundle
line 114: " return -- a dictionary with the user supplied options for the bundle, this
line 115: " will be merged with a s:bundle object into one dictionary.
line 116: " ---------------------------------------------------------------------------
line 117: func! s:parse_options(opts)
line 127:
line 128:
line 129: " ---------------------------------------------------------------------------
line 130: " Parse the plugin specification. Corresponding documentation:
line 131: " vundle-plugins-uris
line 132: "
line 133: " arg -- the string supplied to identify the plugin
line 134: " return -- a dictionary with the folder name (key 'name') and the uri (key
line 135: " 'uri') for cloning the plugin and the original argument (key
line 136: " 'name_spec')
line 137: " ---------------------------------------------------------------------------
line 138: func! s:parse_name(arg)
line 160:
line 161:
line 162: " ---------------------------------------------------------------------------
line 163: " Modify the runtimepath, after all bundles have been added, so that the
line 164: " directories that were in the default runtimepath appear first in the list
line 165: " (with their 'after' directories last).
line 166: " ---------------------------------------------------------------------------
line 167: func! s:rtp_add_defaults()
line 179:
line 180:
line 181: " ---------------------------------------------------------------------------
line 182: " Remove all paths for the plugins which are managed by Vundle from the
line 183: " runtimepath.
line 184: " ---------------------------------------------------------------------------
line 185: func! s:rtp_rm_a()
line 192:
line 193:
line 194: " ---------------------------------------------------------------------------
line 195: " Add all paths for the plugins which are managed by Vundle to the
line 196: " runtimepath.
line 197: " ---------------------------------------------------------------------------
line 198: func! s:rtp_add_a()
line 205:
line 206:
line 207: " ---------------------------------------------------------------------------
line 208: " Remove a directory and the corresponding 'after' directory from runtimepath.
line 209: "
line 210: " dir -- the directory name to be removed as a string. The corresponding
line 211: " 'after' directory will also be removed.
line 212: " ---------------------------------------------------------------------------
line 213: func! s:rtp_rm(dir) abort
line 217:
line 218:
line 219: " ---------------------------------------------------------------------------
line 220: " Add a directory and the corresponding 'after' directory to runtimepath.
line 221: "
line 222: " dir -- the directory name to be added as a string. The corresponding
line 223: " 'after' directory will also be added.
line 224: " ---------------------------------------------------------------------------
line 225: func! s:rtp_add(dir) abort
line 229:
line 230:
line 231: " ---------------------------------------------------------------------------
line 232: " Expand and simplify a path.
line 233: "
line 234: " path -- the path to expand as a string
line 235: " return -- the expanded and simplified path
line 236: " ---------------------------------------------------------------------------
line 237: func! s:expand_path(path) abort
line 240:
line 241:
line 242: " ---------------------------------------------------------------------------
line 243: " Find the actual path inside a bundle directory to be added to the
line 244: " runtimepath. It might be provided by the user with the 'rtp' option.
line 245: " Corresponding documentation: vundle-plugins-configure
line 246: "
line 247: " opts -- a bundle dict
line 248: " return -- expanded path to the corresponding plugin directory
line 249: " ---------------------------------------------------------------------------
line 250: func! s:rtpath(opts)
line 253:
line 254:
line 255: " ---------------------------------------------------------------------------
line 256: " a bundle 'object'
line 257: " ---------------------------------------------------------------------------
line 258: let s:bundle = {}
line 259:
line 260:
line 261: " ---------------------------------------------------------------------------
line 262: " Return the absolute path to the directory inside the bundle directory
line 263: " (prefix) where thr bundle will be cloned.
line 264: "
line 265: " return -- the target location to clone this bundle to
line 266: " ---------------------------------------------------------------------------
line 267: func! s:bundle.path()
line 270:
line 271:
line 272: " ---------------------------------------------------------------------------
line 273: " Determine if the bundle has the pinned attribute set in the config
line 274: "
line 275: " return -- 1 if the bundle is pinned, 0 otherwise
line 276: " ---------------------------------------------------------------------------
line 277: func! s:bundle.is_pinned()
line 280:
line 281: " vim: set expandtab sts=2 ts=2 sw=2 tw=78 norl:
finished sourcing /Users/nerfologist/.vim/bundle/Vundle.vim/autoload/vundle/config.vim
continuing in function vundle#begin[2]..vundle#rc
calling function vundle#begin[2]..vundle#rc[4]..vundle#config#init()
line 1: if !exists('g:vundle#bundles') | let g:vundle#bundles = [] | endif
line 1: let g:vundle#bundles = [] | endif
line 1: endif
line 2: call s:rtp_rm_a()
calling function vundle#begin[2]..vundle#rc[4]..vundle#config#init[2]..<SNR>4_rtp_rm_a()
line 1: let paths = map(copy(g:vundle#bundles), 'v:val.rtpath')
line 2: let prepends = join(paths, ',')
line 3: let appends = join(paths, '/after,').'/after'
line 4: exec 'set rtp-='.fnameescape(prepends)
line 4: set rtp-=
line 5: exec 'set rtp-='.fnameescape(appends)
line 5: set rtp-=/after
function vundle#begin[2]..vundle#rc[4]..vundle#config#init[2]..<SNR>4_rtp_rm_a returning #0
continuing in function vundle#begin[2]..vundle#rc[4]..vundle#config#init
line 3: let g:vundle#bundles = []
line 4: let s:bundle_names = {}
function vundle#begin[2]..vundle#rc[4]..vundle#config#init returning #0
continuing in function vundle#begin[2]..vundle#rc
function vundle#begin[2]..vundle#rc returning #0
continuing in function vundle#begin
function vundle#begin returning #0
continuing in /Users/nerfologist/repos/vim-prettier-crash-segv/vimrc
line 8:
line 9: " formatter
line 10: Plugin 'prettier/vim-prettier'
line 10: call vundle#config#bundle('prettier/vim-prettier')
calling function vundle#config#bundle('prettier/vim-prettier')
line 1: let bundle = vundle#config#init_bundle(a:arg, a:000)
calling function vundle#config#bundle[1]..vundle#config#init_bundle('prettier/vim-prettier', [])
line 1: if a:name != substitute(a:name, '^\s*\(.\{-}\)\s*$', '\1', '')
line 2: echo "Spurious leading and/or trailing whitespace found in plugin spec '" . a:name . "'"
line 3: endif
line 4: let opts = extend(s:parse_options(a:opts), s:parse_name(substitute(a:name,"['".'"]\+','','g')), 'keep')
calling function vundle#config#bundle[1]..vundle#config#init_bundle[4]..<SNR>4_parse_options([])
line 1: " TODO: improve this
line 2: if len(a:opts) != 1 | return {} | endif
line 2: return {} | endif
function vundle#config#bundle[1]..vundle#config#init_bundle[4]..<SNR>4_parse_options returning {}
continuing in function vundle#config#bundle[1]..vundle#config#init_bundle
calling function vundle#config#bundle[1]..vundle#config#init_bundle[4]..<SNR>4_parse_name('prettier/vim-prettier')
line 1: let arg = a:arg
line 2: let git_proto = exists('g:vundle_default_git_proto') ? g:vundle_default_git_proto : 'https'
line 3:
line 4: if arg =~? '^\s*\(gh\|github\):\S\+' || arg =~? '^[a-z0-9][a-z0-9-]*/[^/]\+$'
line 6: let uri = git_proto.'://github.com/'.split(arg, ':')[-1]
line 7: if uri !~? '\.git$'
line 8: let uri .= '.git'
line 9: endif
line 10: let name = substitute(split(uri,'\/')[-1], '\.git\s*$','','i')
line 11: elseif arg =~? '^\s*\(git@\|git://\)\S\+' || arg =~? '\(file\|https\?\)://' || arg =~? '\.git\s*$'
line 14: let uri = arg
line 15: let name = split( substitute(uri,'/\?\.git\s*$','','i') ,'\/')[-1]
line 16: else
line 17: let name = arg
line 18: let uri = git_proto.'://github.com/vim-scripts/'.name.'.git'
line 19: endif
line 20: return {'name': name, 'uri': uri, 'name_spec': arg }
function vundle#config#bundle[1]..vundle#config#init_bundle[4]..<SNR>4_parse_name returning {'uri': 'https://github.com/prettier/v..., 'name_spec': 'prettier/vim-prettier'}
continuing in function vundle#config#bundle[1]..vundle#config#init_bundle
line 5: let b = extend(opts, copy(s:bundle))
line 6: let b.rtpath = s:rtpath(opts)
calling function vundle#config#bundle[1]..vundle#config#init_bundle[6]..<SNR>4_rtpath({'uri': 'https://github.com/prettier/v...r/vim-prettier', 'path': function('1')})
line 1: return has_key(a:opts, 'rtp') ? s:expand_path(a:opts.path().'/'.a:opts.rtp) : a:opts.path()
calling function vundle#config#bundle[1]..vundle#config#init_bundle[6]..<SNR>4_rtpath[1]..1()
line 1: return s:expand_path(g:vundle#bundle_dir.'/') . self.name
calling function vundle#config#bundle[1]..vundle#config#init_bundle[6]..<SNR>4_rtpath[1]..1[1]..<SNR>4_expand_path('/Users/nerfologist/.vim/bundle/')
line 1: return simplify(expand(a:path, 1))
function vundle#config#bundle[1]..vundle#config#init_bundle[6]..<SNR>4_rtpath[1]..1[1]..<SNR>4_expand_path returning '/Users/nerfologist/.vim/bundle/'
continuing in function vundle#config#bundle[1]..vundle#config#init_bundle[6]..<SNR>4_rtpath[1]..1
function vundle#config#bundle[1]..vundle#config#init_bundle[6]..<SNR>4_rtpath[1]..1 returning '/Users/nerfologist/.vim/bundle/vim-prettier'
continuing in function vundle#config#bundle[1]..vundle#config#init_bundle[6]..<SNR>4_rtpath
function vundle#config#bundle[1]..vundle#config#init_bundle[6]..<SNR>4_rtpath returning '/Users/nerfologist/.vim/bundle/vim-prettier'
continuing in function vundle#config#bundle[1]..vundle#config#init_bundle
line 7: return b
function vundle#config#bundle[1]..vundle#config#init_bundle returning {'uri': 'https://github.com/prettier/v...r/vim-prettier', 'path': function('1')}
continuing in function vundle#config#bundle
line 2: if !s:check_bundle_name(bundle)
calling function vundle#config#bundle[2]..<SNR>4_check_bundle_name({'uri': 'https://github.com/prettier/v...r/vim-prettier', 'path': function('1')})
line 1: if has_key(s:bundle_names, a:bundle.name)
line 2: echoerr 'Vundle error: Name collision for Plugin ' . a:bundle.name_spec . '. Plugin ' . s:bundle_names[a:bundle.name] . ' previously used the name "' . a:bundle.name . '"' . '. Skipping Plugin ' . a:bundle.name_spec . '.'
line 6: return 0
line 7: elseif a:bundle.name !~ '\v^[A-Za-z0-9_-]%(\.?[A-Za-z0-9_-])*$'
line 8: echoerr 'Invalid plugin name: ' . a:bundle.name
line 9: return 0
line 10: endif
line 11: let s:bundle_names[a:bundle.name] = a:bundle.name_spec
line 12: return 1
function vundle#config#bundle[2]..<SNR>4_check_bundle_name returning #1
continuing in function vundle#config#bundle
line 3: return
line 4: endif
line 5: if exists('g:vundle#lazy_load') && g:vundle#lazy_load
line 6: call add(g:vundle#bundles, bundle)
line 7: else
line 8: call s:rtp_rm_a()
line 9: call add(g:vundle#bundles, bundle)
line 10: call s:rtp_add_a()
line 11: call s:rtp_add_defaults()
line 12: endif
line 13: return bundle
function vundle#config#bundle returning {'uri': 'https://github.com/prettier/v...r/vim-prettier', 'path': function('1')}
continuing in /Users/nerfologist/repos/vim-prettier-crash-segv/vimrc
line 11:
line 12: call vundle#end()
calling function vundle#end()
line 1: unlet g:vundle#lazy_load
line 2: call vundle#config#activate_bundles()
calling function vundle#end[2]..vundle#config#activate_bundles()
line 1: call s:rtp_add_a()
calling function vundle#end[2]..vundle#config#activate_bundles[1]..<SNR>4_rtp_add_a()
line 1: let paths = map(copy(g:vundle#bundles), 'v:val.rtpath')
line 2: let prepends = join(paths, ',')
line 3: let appends = join(paths, '/after,').'/after'
line 4: exec 'set rtp^='.fnameescape(prepends)
line 4: set rtp^=/Users/nerfologist/.vim/bundle/vim-prettier
line 5: exec 'set rtp+='.fnameescape(appends)
line 5: set rtp+=/Users/nerfologist/.vim/bundle/vim-prettier/after
function vundle#end[2]..vundle#config#activate_bundles[1]..<SNR>4_rtp_add_a returning #0
continuing in function vundle#end[2]..vundle#config#activate_bundles
line 2: call s:rtp_add_defaults()
calling function vundle#end[2]..vundle#config#activate_bundles[2]..<SNR>4_rtp_add_defaults()
line 1: let current = &rtp
line 2: set rtp&vim
line 3: let default = &rtp
line 4: let &rtp = current
line 5: let default_rtp_items = split(default, ',')
line 6: if !empty(default_rtp_items)
line 7: let first_item = fnameescape(default_rtp_items[0])
line 8: exec 'set rtp-=' . first_item
line 8: set rtp-=/Users/nerfologist/.vim
line 9: exec 'set rtp^=' . first_item
line 9: set rtp^=/Users/nerfologist/.vim
line 10: endif
function vundle#end[2]..vundle#config#activate_bundles[2]..<SNR>4_rtp_add_defaults returning #0
continuing in function vundle#end[2]..vundle#config#activate_bundles
function vundle#end[2]..vundle#config#activate_bundles returning #0
continuing in function vundle#end
function vundle#end returning #0
continuing in /Users/nerfologist/repos/vim-prettier-crash-segv/vimrc
line 13: " vundle configuration END
line 14:
line 15: " indent using language-specific scripts
line 16: " in the indent folder of the vim install
line 17: filetype plugin indent on
Searching for "filetype.vim" in "/Users/nerfologist/.vim,/Users/nerfologist/.vim/bundle/vim-prettier,/usr/local/Cellar/macvim/8.0-146_1/MacVim.app/Contents/Resources/vim/vimfiles,/usr/local/Cellar/macvim/8.0-146_1/MacVim.app/Contents/Resources/vim/runtime,/usr/local/Cellar/macvim/8.0-146_1/MacVim.app/Contents/Resources/vim/vimfiles/after,/Users/nerfologist/.vim/after,/Users/nerfologist/.vim/bundle/Vundle.vim,/Users/nerfologist/.vim/bundle/vim-prettier/after"
Searching for "/Users/nerfologist/.vim/filetype.vim"
Searching for "/Users/nerfologist/.vim/bundle/vim-prettier/filetype.vim"
Searching for "/usr/local/Cellar/macvim/8.0-146_1/MacVim.app/Contents/Resources/vim/vimfiles/filetype.vim"
Searching for "/usr/local/Cellar/macvim/8.0-146_1/MacVim.app/Contents/Resources/vim/runtime/filetype.vim"
chdir(/usr/local/Cellar/macvim/8.0-146_1/MacVim.app/Contents/Resources/vim/runtime)
fchdir() to previous dir
line 17: sourcing "/usr/local/Cellar/macvim/8.0-146_1/MacVim.app/Contents/Resources/vim/runtime/filetype.vim"
line 1: " Vim support file to detect file types
line 2: "
line 3: " Maintainer:^IBram Moolenaar <[email protected]>
line 4: " Last Change:^I2018 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:
line 101: " XA65 MOS6510 cross assembler
line 102: au BufNewFile,BufRead *.a65^I^I^Isetf a65
line 103:
line 104: " Applescript
line 105: au BufNewFile,BufRead *.scpt^I^I^Isetf applescript
line 106:
line 107: " Applix ELF
line 109: au BufNewFile,BufRead *.am if expand("<afile>") !~? 'Makefile.am\>' | setf elf | endif
line 110:
line 111: " ALSA configuration
line 112: au BufNewFile,BufRead .asoundrc,*/usr/share/alsa/alsa.conf,*/etc/asound.conf setf alsaconf
line 113:
line 114: " Arc Macro Language
line 115: au BufNewFile,BufRead *.aml^I^I^Isetf aml
line 116:
line 117: " APT config file
line 118: au BufNewFile,BufRead apt.conf^I^I setf aptconf
line 119: au BufNewFile,BufRead */.aptitude/config setf aptconf
line 120: au BufNewFile,BufRead */etc/apt/apt.conf.d/{[-_[:alnum:]]\+,[-_.[:alnum:]]\+.conf} setf aptconf
line 121:
line 122: " Arch Inventory file
line 123: au BufNewFile,BufRead .arch-inventory,=tagging-method^Isetf arch
line 124:
line 125: " ART*Enterprise (formerly ART-IM)
line 126: au BufNewFile,BufRead *.art^I^I^Isetf art
line 127:
line 128: " AsciiDoc
line 129: au BufNewFile,BufRead *.asciidoc,*.adoc^I^Isetf asciidoc
line 130:
line 131: " ASN.1
line 132: au BufNewFile,BufRead *.asn,*.asn1^I^Isetf asn
line 133:
line 134: " Active Server Pages (with Visual Basic Script)
line 140: au BufNewFile,BufRead *.asa if exists("g:filetype_asa") | exe "setf " . g:filetype_asa | else | setf aspvbs | endif
line 141:
line 142: " Active Server Pages (with Perl or Visual Basic Script)
line 150: 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 151:
line 152: " Grub (must be before catch *.lst)
line 153: au BufNewFile,BufRead */boot/grub/menu.lst,*/boot/grub/grub.conf,*/etc/grub.conf setf grub
line 154:
line 155: " Assembly (all kinds)
line 156: " *.lst is not pure assembly, it has two extra columns (address, byte codes)
line 157: au BufNewFile,BufRead *.asm,*.[sS],*.[aA],*.mac,*.lst^Icall dist#ft#FTasm()
line 158:
line 159: " Macro (VAX)
line 160: au BufNewFile,BufRead *.mar^I^I^Isetf vmasm
line 161:
line 162: " Atlas
line 163: au BufNewFile,BufRead *.atl,*.as^I^Isetf atlas
line 164:
line 165: " Autoit v3
line 166: au BufNewFile,BufRead *.au3^I^I^Isetf autoit
line 167:
line 168: " Autohotkey
line 169: au BufNewFile,BufRead *.ahk^I^I^Isetf autohotkey
line 170:
line 171: " Automake
line 172: au BufNewFile,BufRead [mM]akefile.am,GNUmakefile.am^Isetf automake
line 173:
line 174: " Autotest .at files are actually m4
line 175: au BufNewFile,BufRead *.at^I^I^Isetf m4
line 176:
line 177: " Avenue
line 178: au BufNewFile,BufRead *.ave^I^I^Isetf ave
line 179:
line 180: " Awk
line 181: au BufNewFile,BufRead *.awk^I^I^Isetf awk
line 182:
line 183: " B
line 184: au BufNewFile,BufRead *.mch,*.ref,*.imp^I^Isetf b
line 185:
line 186: " BASIC or Visual Basic
line 187: au BufNewFile,BufRead *.bas^I^I^Icall dist#ft#FTVB("basic")
line 188:
line 189: " Visual Basic Script (close to Visual Basic) or Visual Basic .NET
line 190: au BufNewFile,BufRead *.vb,*.vbs,*.dsm,*.ctl^Isetf vb
line 191:
line 192: " IBasic file (similar to QBasic)
line 193: au BufNewFile,BufRead *.iba,*.ibi^I^Isetf ibasic
line 194:
line 195: " FreeBasic file (similar to QBasic)
line 196: au BufNewFile,BufRead *.fb,*.bi^I^I^Isetf freebasic
line 197:
line 198: " Batch file for MSDOS.
line 199: au BufNewFile,BufRead *.bat,*.sys^I^Isetf dosbatch
line 200: " *.cmd is close to a Batch file, but on OS/2 Rexx files also use *.cmd.
line 202: au BufNewFile,BufRead *.cmd if getline(1) =~ '^/\*' | setf rexx | else | setf dosbatch | endif
line 203:
line 204: " Batch file for 4DOS
line 205: au BufNewFile,BufRead *.btm^I^I^Icall dist#ft#FTbtm()
line 206:
line 207: " BC calculator
line 208: au BufNewFile,BufRead *.bc^I^I^Isetf bc
line 209:
line 210: " BDF font
line 211: au BufNewFile,BufRead *.bdf^I^I^Isetf bdf
line 212:
line 213: " BibTeX bibliography database file
line 214: au BufNewFile,BufRead *.bib^I^I^Isetf bib
line 215:
line 216: " BibTeX Bibliography Style
line 217: au BufNewFile,BufRead *.bst^I^I^Isetf bst
line 218:
line 219: " BIND configuration
line 220: " sudoedit uses namedXXXX.conf
line 221: au BufNewFile,BufRead named*.conf,rndc*.conf,rndc*.key^Isetf named
line 222:
line 223: " BIND zone
line 224: au BufNewFile,BufRead named.root^I^Isetf bindzone
line 225: au BufNewFile,BufRead *.db^I^I^Icall dist#ft#BindzoneCheck('')
line 226:
line 227: " Blank
line 228: au BufNewFile,BufRead *.bl^I^I^Isetf blank
line 229:
line 230: " Blkid cache file
line 231: au BufNewFile,BufRead */etc/blkid.tab,*/etc/blkid.tab.old setf xml
line 232:
line 233: " Bazel (http://bazel.io)
line 234: autocmd BufRead,BufNewFile *.bzl,WORKSPACE,BUILD.bazel ^Isetf bzl
line 235: if has("fname_case")
line 236: " There is another check for BUILD further below.
line 237: autocmd BufRead,BufNewFile BUILD^I^I^Isetf bzl
line 238: endif
line 239:
line 240: " C or lpc
line 241: au BufNewFile,BufRead *.c^I^I^Icall dist#ft#FTlpc()
line 242: au BufNewFile,BufRead *.lpc,*.ulpc^I^Isetf lpc
line 243:
line 244: " Calendar
line 245: au BufNewFile,BufRead calendar^I^I^Isetf calendar
line 246:
line 247: " C#
line 248: au BufNewFile,BufRead *.cs^I^I^Isetf cs
line 249:
line 250: " CSDL
line 251: au BufNewFile,BufRead *.csdl^I^I^Isetf csdl
line 252:
line 253: " Cabal
line 254: au BufNewFile,BufRead *.cabal^I^I^Isetf cabal
line 255:
line 256: " Cdrdao TOC
line 257: au BufNewFile,BufRead *.toc^I^I^Isetf cdrtoc
line 258:
line 259: " Cdrdao config
line 260: au BufNewFile,BufRead */etc/cdrdao.conf,*/etc/defaults/cdrdao,*/etc/default/cdrdao,.cdrdao^Isetf cdrdaoconf
line 261:
line 262: " Cfengine
line 263: au BufNewFile,BufRead cfengine.conf^I^Isetf cfengine
line 264:
line 265: " ChaiScript
line 266: au BufRead,BufNewFile *.chai^I^I^Isetf chaiscript
line 267:
line 268: " Comshare Dimension Definition Language
line 269: au BufNewFile,BufRead *.cdl^I^I^Isetf cdl
line 270:
line 271: " Conary Recipe
line 272: au BufNewFile,BufRead *.recipe^I^I^Isetf conaryrecipe
line 273:
line 274: " Controllable Regex Mutilator
line 275: au BufNewFile,BufRead *.crm^I^I^Isetf crm
line 276:
line 277: " Cyn++
line 278: au BufNewFile,BufRead *.cyn^I^I^Isetf cynpp
line 279:
line 280: " Cynlib
line 281: " .cc and .cpp files can be C++ or Cynlib.
line 283: au BufNewFile,BufRead *.cc if exists("cynlib_syntax_for_cc")|setf cynlib|else|setf cpp|endif
line 285: au BufNewFile,BufRead *.cpp if exists("cynlib_syntax_for_cpp")|setf cynlib|else|setf cpp|endif
line 286:
line 287: " C++
line 288: au BufNewFile,BufRead *.cxx,*.c++,*.hh,*.hxx,*.hpp,*.ipp,*.moc,*.tcc,*.inl setf cpp
line 289: if has("fname_case")
line 290: au BufNewFile,BufRead *.C,*.H setf cpp
line 291: endif
line 292:
line 293: " .h files can be C, Ch C++, ObjC or ObjC++.
line 294: " Set c_syntax_for_h if you want C, ch_syntax_for_h if you want Ch. ObjC is
line 295: " detected automatically.
line 296: au BufNewFile,BufRead *.h^I^I^Icall dist#ft#FTheader()
line 297:
line 298: " Ch (CHscript)
line 299: au BufNewFile,BufRead *.chf^I^I^Isetf ch
line 300:
line 301: " TLH files are C++ headers generated by Visual C++'s #import from typelibs
line 302: au BufNewFile,BufRead *.tlh^I^I^Isetf cpp
line 303:
line 304: " Cascading Style Sheets
line 305: au BufNewFile,BufRead *.css^I^I^Isetf css
line 306:
line 307: " Century Term Command Scripts (*.cmd too)
line 308: au BufNewFile,BufRead *.con^I^I^Isetf cterm
line 309:
line 310: " Changelog
line 312: au BufNewFile,BufRead changelog.Debian,changelog.dch,NEWS.Debian,NEWS.dch^Isetf debchangelog
line 313:
line 319: au BufNewFile,BufRead [cC]hange[lL]og if getline(1) =~ '; urgency='| setf debchangelog| else| setf changelog| endif
line 320:
line 324: au BufNewFile,BufRead NEWS if getline(1) =~ '; urgency='| setf debchangelog| endif
line 325:
line 326: " CHILL
line 327: au BufNewFile,BufRead *..ch^I^I^Isetf chill
line 328:
line 329: " Changes for WEB and CWEB or CHILL
line 330: au BufNewFile,BufRead *.ch^I^I^Icall dist#ft#FTchange()
line 331:
line 332: " ChordPro
line 333: au BufNewFile,BufRead *.chopro,*.crd,*.cho,*.crdpro,*.chordpro^Isetf chordpro
line 334:
line 335: " Clean
line 336: au BufNewFile,BufRead *.dcl,*.icl^I^Isetf clean
line 337:
line 338: " Clever
line 339: au BufNewFile,BufRead *.eni^I^I^Isetf cl
line 340:
line 341: " Clever or dtd
line 342: au BufNewFile,BufRead *.ent^I^I^Icall dist#ft#FTent()
line 343:
line 344: " Clipper (or FoxPro; could also be eviews)
line 350: au BufNewFile,BufRead *.prg if exists("g:filetype_prg") | exe "setf " . g:filetype_prg | else | setf clipper | endif
line 351:
line 352: " Clojure
line 353: au BufNewFile,BufRead *.clj,*.cljs,*.cljx,*.cljc^I^Isetf clojure
line 354:
line 355: " Cmake
line 356: au BufNewFile,BufRead CMakeLists.txt,*.cmake,*.cmake.in^I^Isetf cmake
line 357:
line 358: " Cmusrc
line 359: au BufNewFile,BufRead */.cmus/{autosave,rc,command-history,*.theme} setf cmusrc
line 360: au BufNewFile,BufRead */cmus/{rc,*.theme}^I^I^Isetf cmusrc
line 361:
line 362: " Cobol
line 363: au BufNewFile,BufRead *.cbl,*.cob,*.lib^Isetf cobol
line 364: " cobol or zope form controller python script? (heuristic)
line 370: au BufNewFile,BufRead *.cpy if getline(1) =~ '^##' | setf python | else | setf cobol | endif
line 371:
line 372: " Coco/R
line 373: au BufNewFile,BufRead *.atg^I^I^Isetf coco
line 374:
line 375: " Cold Fusion
line 376: au BufNewFile,BufRead *.cfm,*.cfi,*.cfc^I^Isetf cf
line 377:
line 378: " Configure scripts
line 379: au BufNewFile,BufRead configure.in,configure.ac setf config
line 380:
line 381: " CUDA Cumpute Unified Device Architecture
line 382: au BufNewFile,BufRead *.cu,*.cuh^I^Isetf cuda
line 383:
line 384: " Dockerfile
line 385: au BufNewFile,BufRead Dockerfile,*.Dockerfile^Isetf dockerfile
line 386:
line 387: " WildPackets EtherPeek Decoder
line 388: au BufNewFile,BufRead *.dcd^I^I^Isetf dcd
line 389:
line 390: " Enlightenment configuration files
line 391: au BufNewFile,BufRead *enlightenment/*.cfg^Isetf c
line 392:
line 393: " Eterm
line 394: au BufNewFile,BufRead *Eterm/*.cfg^I^Isetf eterm
line 395:
line 396: " Euphoria 3 or 4
line 397: au BufNewFile,BufRead *.eu,*.ew,*.ex,*.exu,*.exw call dist#ft#EuphoriaCheck()
line 398: if has("fname_case")
line 399: au BufNewFile,BufRead *.EU,*.EW,*.EX,*.EXU,*.EXW call dist#ft#EuphoriaCheck()
line 400: endif
line 401:
line 402: " Lynx config files
line 403: au BufNewFile,BufRead lynx.cfg^I^I^Isetf lynx
line 404:
line 405: " Quake
line 406: au BufNewFile,BufRead *baseq[2-3]/*.cfg,*id1/*.cfg^Isetf quake
line 407: au BufNewFile,BufRead *quake[1-3]/*.cfg^I^I^Isetf quake
line 408:
line 409: " Quake C
line 410: au BufNewFile,BufRead *.qc^I^I^Isetf c
line 411:
line 412: " Configure files
line 413: au BufNewFile,BufRead *.cfg^I^I^Isetf cfg
line 414:
line 415: " Cucumber
line 416: au BufNewFile,BufRead *.feature^I^I^Isetf cucumber
line 417:
line 418: " Communicating Sequential Processes
line 419: au BufNewFile,BufRead *.csp,*.fdr^I^Isetf csp
line 420:
line 421: " CUPL logic description and simulation
line 422: au BufNewFile,BufRead *.pld^I^I^Isetf cupl
line 423: au BufNewFile,BufRead *.si^I^I^Isetf cuplsim
line 424:
line 425: " Debian Control
line 426: au BufNewFile,BufRead */debian/control^I^Isetf debcontrol
line 430: au BufNewFile,BufRead control if getline(1) =~ '^Source:'| setf debcontrol| endif
line 431:
line 432: " Debian Sources.list
line 433: au BufNewFile,BufRead */etc/apt/sources.list^I^Isetf debsources
line 434: au BufNewFile,BufRead */etc/apt/sources.list.d/*.list^Isetf debsources
line 435:
line 436: " Deny hosts
line 437: au BufNewFile,BufRead denyhosts.conf^I^Isetf denyhosts
line 438:
line 439: " dnsmasq(8) configuration files
line 440: au BufNewFile,BufRead */etc/dnsmasq.conf^Isetf dnsmasq
line 441:
line 442: " ROCKLinux package description
line 443: au BufNewFile,BufRead *.desc^I^I^Isetf desc
line 444:
line 445: " the D language or dtrace
line 446: au BufNewFile,BufRead *.d^I^I^Icall dist#ft#DtraceCheck()
line 447:
line 448: " Desktop files
line 449: au BufNewFile,BufRead *.desktop,.directory^Isetf desktop
line 450:
line 451: " Dict config
line 452: au BufNewFile,BufRead dict.conf,.dictrc^I^Isetf dictconf
line 453:
line 454: " Dictd config
line 455: au BufNewFile,BufRead dictd.conf^I^Isetf dictdconf
line 456:
line 457: " Diff files
line 458: au BufNewFile,BufRead *.diff,*.rej^I^Isetf diff
line 464: 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 465:
line 466: " Dircolors
line 467: au BufNewFile,BufRead .dir_colors,.dircolors,*/etc/DIR_COLORS^Isetf dircolors
line 468:
line 469: " Diva (with Skill) or InstallShield
line 475: 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 476:
line 477: " DCL (Digital Command Language - vms) or DNS zone file
line 478: au BufNewFile,BufRead *.com^I^I^Icall dist#ft#BindzoneCheck('dcl')
line 479:
line 480: " DOT
line 481: au BufNewFile,BufRead *.dot^I^I^Isetf dot
line 482:
line 483: " Dylan - lid files
line 484: au BufNewFile,BufRead *.lid^I^I^Isetf dylanlid
line 485:
line 486: " Dylan - intr files (melange)
line 487: au BufNewFile,BufRead *.intr^I^I^Isetf dylanintr
line 488:
line 489: " Dylan
line 490: au BufNewFile,BufRead *.dylan^I^I^Isetf dylan
line 491:
line 492: " Microsoft Module Definition
line 493: au BufNewFile,BufRead *.def^I^I^Isetf def
line 494:
line 495: " Dracula
line 496: au BufNewFile,BufRead *.drac,*.drc,*lvs,*lpe^Isetf dracula
line 497:
line 498: " Datascript
line 499: au BufNewFile,BufRead *.ds^I^I^Isetf datascript
line 500:
line 501: " dsl
line 502: au BufNewFile,BufRead *.dsl^I^I^Isetf dsl
line 503:
line 504: " DTD (Document Type Definition for XML)
line 505: au BufNewFile,BufRead *.dtd^I^I^Isetf dtd
line 506:
line 507: " DTS/DSTI (device tree files)
line 508: au BufNewFile,BufRead *.dts,*.dtsi^I^Isetf dts
line 509:
line 510: " EDIF (*.edf,*.edif,*.edn,*.edo) or edn
line 511: au BufNewFile,BufRead *.ed\(f\|if\|o\)^I^Isetf edif
line 517: au BufNewFile,BufRead *.edn if getline(1) =~ '^\s*(\s*edif\>' | setf edif | else | setf clojure | endif
line 518:
line 519: " EditorConfig (close enough to dosini)
line 520: au BufNewFile,BufRead .editorconfig^I^Isetf dosini
line 521:
line 522: " Embedix Component Description
line 523: au BufNewFile,BufRead *.ecd^I^I^Isetf ecd
line 524:
line 525: " Eiffel or Specman or Euphoria
line 526: au BufNewFile,BufRead *.e,*.E^I^I^Icall dist#ft#FTe()
line 527:
line 528: " Elinks configuration
line 529: au BufNewFile,BufRead */etc/elinks.conf,*/.elinks/elinks.conf^Isetf elinks
line 530:
line 531: " ERicsson LANGuage; Yaws is erlang too
line 532: au BufNewFile,BufRead *.erl,*.hrl,*.yaws^Isetf erlang
line 533:
line 534: " Elm Filter Rules file
line 535: au BufNewFile,BufRead filter-rules^I^Isetf elmfilt
line 536:
line 537: " ESMTP rc file
line 538: au BufNewFile,BufRead *esmtprc^I^I^Isetf esmtprc
line 539:
line 540: " ESQL-C
line 541: au BufNewFile,BufRead *.ec,*.EC^I^I^Isetf esqlc
line 542:
line 543: " Esterel
line 544: au BufNewFile,BufRead *.strl^I^I^Isetf esterel
line 545:
line 546: " Essbase script
line 547: au BufNewFile,BufRead *.csc^I^I^Isetf csc
line 548:
line 549: " Exim
line 550: au BufNewFile,BufRead exim.conf^I^I^Isetf exim
line 551:
line 552: " Expect
line 553: au BufNewFile,BufRead *.exp^I^I^Isetf expect
line 554:
line 555: " Exports
line 556: au BufNewFile,BufRead exports^I^I^Isetf exports
line 557:
line 558: " Falcon
line 559: au BufNewFile,BufRead *.fal^I^I^Isetf falcon
line 560:
line 561: " Fantom
line 562: au BufNewFile,BufRead *.fan,*.fwt^I^Isetf fan
line 563:
line 564: " Factor
line 565: au BufNewFile,BufRead *.factor^I^I^Isetf factor
line 566: