Patch 8.2.2523

4 views
Skip to first unread message

Bram Moolenaar

unread,
Feb 17, 2021, 6:29:53 AM2/17/21
to vim...@googlegroups.com

Patch 8.2.2523
Problem: Svelte filetype not recognized.
Solution: Add a detection rule. (Brian Ryall, closes #7858)
Files: runtime/filetype.vim, src/testdir/test_filetype.vim


*** ../vim-8.2.2522/runtime/filetype.vim 2021-02-17 12:25:45.319152517 +0100
--- runtime/filetype.vim 2021-02-17 12:27:40.978877683 +0100
***************
*** 1491,1496 ****
--- 1491,1499 ----
" sed
au BufNewFile,BufRead *.sed setf sed

+ " svelte
+ au BufNewFile,BufRead *.svelte setf svelte
+
" Sieve (RFC 3028, 5228)
au BufNewFile,BufRead *.siv,*.sieve setf sieve

*** ../vim-8.2.2522/src/testdir/test_filetype.vim 2021-02-17 12:25:45.319152517 +0100
--- src/testdir/test_filetype.vim 2021-02-17 12:27:40.978877683 +0100
***************
*** 427,432 ****
--- 427,433 ----
\ 'sdc': ['file.sdc'],
\ 'sdl': ['file.sdl', 'file.pr'],
\ 'sed': ['file.sed'],
+ \ 'svelte': ['file.svelte'],
\ 'sensors': ['/etc/sensors.conf', '/etc/sensors3.conf', 'any/etc/sensors.conf', 'any/etc/sensors3.conf'],
\ 'services': ['/etc/services', 'any/etc/services'],
\ 'setserial': ['/etc/serial.conf', 'any/etc/serial.conf'],
*** ../vim-8.2.2522/src/version.c 2021-02-17 12:25:45.323152510 +0100
--- src/version.c 2021-02-17 12:27:53.158848517 +0100
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 2523,
/**/

--
MESKIMEN'S LAW
There's never time to do it right, but always time to do it over.

/// Bram Moolenaar -- Br...@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 ///
Reply all
Reply to author
Forward
0 new messages