Patch 8.2.2353

5 views
Skip to first unread message

Bram Moolenaar

unread,
Jan 15, 2021, 7:36:10 AM1/15/21
to vim...@googlegroups.com

Patch 8.2.2353
Problem: Spartql files are not detected.
Solution: Add the sparql filetype. (closes #7679)
Files: runtime/filetype.vim, src/testdir/test_filetype.vim


*** ../vim-8.2.2352/runtime/filetype.vim 2021-01-12 17:42:20.949763884 +0100
--- runtime/filetype.vim 2021-01-15 13:32:46.072699656 +0100
***************
*** 1617,1622 ****
--- 1618,1626 ----
au BufNewFile,BufRead *.hog,snort.conf,vision.conf setf hog
au BufNewFile,BufRead *.rules call dist#ft#FTRules()

+ " SPARQL queries
+ au BufNewFile,BufRead *.rq,*.sparql setf sparql
+
" Spec (Linux RPM)
au BufNewFile,BufRead *.spec setf spec

*** ../vim-8.2.2352/src/testdir/test_filetype.vim 2021-01-12 17:42:20.949763884 +0100
--- src/testdir/test_filetype.vim 2021-01-15 13:32:46.072699656 +0100
***************
*** 445,450 ****
--- 445,451 ----
\ 'smith': ['file.smt', 'file.smith'],
\ 'sml': ['file.sml'],
\ 'snobol4': ['file.sno', 'file.spt'],
+ \ 'sparql': ['file.rq', 'file.sparql'],
\ 'spec': ['file.spec'],
\ 'spice': ['file.sp', 'file.spice'],
\ 'spup': ['file.speedup', 'file.spdata', 'file.spd'],
*** ../vim-8.2.2352/src/version.c 2021-01-14 21:57:54.705862570 +0100
--- src/version.c 2021-01-15 13:34:28.792216301 +0100
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 2353,
/**/

--
hundred-and-one symptoms of being an internet addict:
152. You find yourself falling for someone you've never seen or hardly
know, but, boy can he/she TYPE!!!!!!

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