Patch 8.2.4414
Problem:    Solidity files are not recognized.
Solution:   Add the *.sol pattern. (Dundar Goc, closes #9792)
Files:      runtime/filetype.vim, src/testdir/test_filetype.vim


*** ../vim-8.2.4413/runtime/filetype.vim        2022-02-17 21:30:22.227126637 
+0000
--- runtime/filetype.vim        2022-02-18 13:45:16.139648848 +0000
***************
*** 1795,1800 ****
--- 1795,1803 ----
  au BufNewFile,BufRead *.hog,snort.conf,vision.conf    setf hog
  au BufNewFile,BufRead *.rules                 call dist#ft#FTRules()
  
+ " Solidity
+ au BufRead,BufNewFile *.sol                   setf solidity
+ 
  " SPARQL queries
  au BufNewFile,BufRead *.rq,*.sparql           setf sparql
  
*** ../vim-8.2.4413/src/testdir/test_filetype.vim       2022-02-17 
21:30:22.227126637 +0000
--- src/testdir/test_filetype.vim       2022-02-18 13:45:16.139648848 +0000
***************
*** 480,485 ****
--- 480,486 ----
      \ 'skill': ['file.il', 'file.ils', 'file.cdf'],
      \ 'slang': ['file.sl'],
      \ 'slice': ['file.ice'],
+     \ 'solidity': ['file.sol'],
      \ 'solution': ['file.sln'],
      \ 'slpconf': ['/etc/slp.conf', 'any/etc/slp.conf'],
      \ 'slpreg': ['/etc/slp.reg', 'any/etc/slp.reg'],
*** ../vim-8.2.4413/src/version.c       2022-02-18 13:24:48.454046809 +0000
--- src/version.c       2022-02-18 13:44:21.739768961 +0000
***************
*** 752,753 ****
--- 752,755 ----
  {   /* Add new patch number below this line */
+ /**/
+     4414,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
67. Your hard drive crashes. You haven't logged in for two hours.  You start
    to twitch. You pick up the phone and manually dial your ISP's access
    number. You try to hum to communicate with the modem.  You succeed.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            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/20220218134800.04A571C0D2C%40moolenaar.net.

Raspunde prin e-mail lui