summaryrefslogtreecommitdiff
path: root/data/vim/patches/8.1.1187
blob: 48eb25ef9510fd927bfa6959048e2f026e0d8197 (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
To: vim_dev@googlegroups.com
Subject: Patch 8.1.1187
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.1187
Problem:    Cannot recognize Pipfile.
Solution:   Use existing filetypes. (Charles Ross, closes #4280)
Files:	    runtime/filetype.vim, src/testdir/test_filetype.vim


*** ../vim-8.1.1186/runtime/filetype.vim	2019-04-16 22:21:00.042595439 +0200
--- runtime/filetype.vim	2019-04-19 23:29:36.178664024 +0200
***************
*** 1173,1178 ****
--- 1174,1183 ----
  " Pine config
  au BufNewFile,BufRead .pinerc,pinerc,.pinercex,pinercex		setf pine
  
+ " Pipenv Pipfiles
+ au BufNewFile,BufRead Pipfile			setf config
+ au BufNewFile,BufRead Pipfile.lock		setf json
+ 
  " PL/1, PL/I
  au BufNewFile,BufRead *.pli,*.pl1		setf pli
  
*** ../vim-8.1.1186/src/testdir/test_filetype.vim	2019-04-16 22:21:00.042595439 +0200
--- src/testdir/test_filetype.vim	2019-04-19 23:30:28.742403366 +0200
***************
*** 102,108 ****
      \ 'coco': ['file.atg'],
      \ 'conaryrecipe': ['file.recipe'],
      \ 'conf': ['auto.master'],
!     \ 'config': ['configure.in', 'configure.ac'],
      \ 'context': ['tex/context/any/file.tex', 'file.mkii', 'file.mkiv', 'file.mkvi'],
      \ 'cpp': ['file.cxx', 'file.c++', 'file.hh', 'file.hxx', 'file.hpp', 'file.ipp', 'file.moc', 'file.tcc', 'file.inl', 'file.tlh'],
      \ 'crm': ['file.crm'],
--- 102,108 ----
      \ 'coco': ['file.atg'],
      \ 'conaryrecipe': ['file.recipe'],
      \ 'conf': ['auto.master'],
!     \ 'config': ['configure.in', 'configure.ac', 'Pipfile'],
      \ 'context': ['tex/context/any/file.tex', 'file.mkii', 'file.mkiv', 'file.mkvi'],
      \ 'cpp': ['file.cxx', 'file.c++', 'file.hh', 'file.hxx', 'file.hpp', 'file.ipp', 'file.moc', 'file.tcc', 'file.inl', 'file.tlh'],
      \ 'crm': ['file.crm'],
***************
*** 223,229 ****
      \ 'jgraph': ['file.jgr'],
      \ 'jovial': ['file.jov', 'file.j73', 'file.jovial'],
      \ 'jproperties': ['file.properties', 'file.properties_xx', 'file.properties_xx_xx'],
!     \ 'json': ['file.json', 'file.jsonp', 'file.webmanifest'],
      \ 'jsp': ['file.jsp'],
      \ 'kconfig': ['Kconfig', 'Kconfig.debug'],
      \ 'kivy': ['file.kv'],
--- 223,229 ----
      \ 'jgraph': ['file.jgr'],
      \ 'jovial': ['file.jov', 'file.j73', 'file.jovial'],
      \ 'jproperties': ['file.properties', 'file.properties_xx', 'file.properties_xx_xx'],
!     \ 'json': ['file.json', 'file.jsonp', 'file.webmanifest', 'Pipfile.lock'],
      \ 'jsp': ['file.jsp'],
      \ 'kconfig': ['Kconfig', 'Kconfig.debug'],
      \ 'kivy': ['file.kv'],
*** ../vim-8.1.1186/src/version.c	2019-04-19 15:20:39.409464105 +0200
--- src/version.c	2019-04-19 23:28:54.194870162 +0200
***************
*** 773,774 ****
--- 773,776 ----
  {   /* Add new patch number below this line */
+ /**/
+     1187,
  /**/

-- 
Eight Megabytes And Continually Swapping.

 /// 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    ///