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 -- [email protected] -- 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    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/202102171129.11HBTkS12157758%40masaka.moolenaar.net.

Raspunde prin e-mail lui