Patch 8.2.4414

6 views
Skip to first unread message

Bram Moolenaar

unread,
Feb 18, 2022, 8:48:06 AM2/18/22
to vim...@googlegroups.com

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 -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages