summaryrefslogtreecommitdiff
path: root/data/vim/patches/8.1.0948
blob: 540aa7f29a24ffb1d9acbc211affc0084ee4bbae (plain)
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
To: vim_dev@googlegroups.com
Subject: Patch 8.1.0948
Fcc: outbox
From: Bram Moolenaar <Bram@moolenaar.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
------------

Patch 8.1.0948
Problem:    When built without +eval "Vim --clean" produces errors. (James
            McCoy)
Solution:   Do not enable filetype detection.
Files:	    runtime/defaults.vim


*** ../vim-8.1.0947/runtime/defaults.vim	2017-06-13 16:10:28.000000000 +0200
--- runtime/defaults.vim	2019-02-18 21:31:47.744615974 +0100
***************
*** 1,7 ****
  " The default vimrc file.
  "
  " Maintainer:	Bram Moolenaar <Bram@vim.org>
! " Last change:	2017 Jun 13
  "
  " This is loaded if no vimrc file was found.
  " Except when Vim is run with "-u NONE" or "-C".
--- 1,7 ----
  " The default vimrc file.
  "
  " Maintainer:	Bram Moolenaar <Bram@vim.org>
! " Last change:	2019 Feb 18
  "
  " This is loaded if no vimrc file was found.
  " Except when Vim is run with "-u NONE" or "-C".
***************
*** 90,97 ****
    let c_comment_strings=1
  endif
  
! " Only do this part when compiled with support for autocommands.
! if has("autocmd")
  
    " Enable file type detection.
    " Use the default filetype settings, so that mail gets 'tw' set to 72,
--- 90,97 ----
    let c_comment_strings=1
  endif
  
! " Only do this part when Vim was compiled with the +eval feature.
! if 1
  
    " Enable file type detection.
    " Use the default filetype settings, so that mail gets 'tw' set to 72,
***************
*** 116,122 ****
  
    augroup END
  
! endif " has("autocmd")
  
  " Convenient command to see the difference between the current buffer and the
  " file it was loaded from, thus the changes you made.
--- 116,122 ----
  
    augroup END
  
! endif
  
  " Convenient command to see the difference between the current buffer and the
  " file it was loaded from, thus the changes you made.
*** ../vim-8.1.0947/src/version.c	2019-02-18 20:42:46.834041670 +0100
--- src/version.c	2019-02-18 21:27:19.370490199 +0100
***************
*** 781,782 ****
--- 781,784 ----
  {   /* Add new patch number below this line */
+ /**/
+     948,
  /**/

-- 
Engineers are always delighted to share wisdom, even in areas in which they
have no experience whatsoever.  Their logic provides them with inherent
insight into any field of expertise.  This can be a problem when dealing with
the illogical people who believe that knowledge can only be derived through
experience.
				(Scott Adams - The Dilbert principle)

 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///