patch 9.1.0305: filetype: some history files are not recognized

Commit: 
https://github.com/vim/vim/commit/da70feabeab77581e48a7ca9c8d5f950c1c2814e
Author: Wu, Zhenyu <wuzhe...@ustc.edu>
Date:   Thu Apr 11 20:43:00 2024 +0200

    patch 9.1.0305: filetype: some history files are not recognized
    
    Problem:  filetype: some history files are not recognized
    Solution: Add some history patterns to filetype.vim
              (Wu, Zhenyu)
    
    closes: #14513
    
    Signed-off-by: Wu, Zhenyu <wuzhe...@ustc.edu>
    Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index 4f9195920..9c2f4aa89 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -101,6 +101,9 @@ au BufNewFile,BufRead build.xml                     setf ant
 " Arduino
 au BufNewFile,BufRead *.ino,*.pde              setf arduino
 
+" Ash of busybox
+au BufNewFile,BufRead .ash_history             setf sh
+
 " Apache config file
 au BufNewFile,BufRead .htaccess,*/etc/httpd/*.conf             setf apache
 au BufNewFile,BufRead */etc/apache2/sites-*/*.com              setf apache
@@ -428,6 +431,9 @@ au BufNewFile,BufRead *.eni                 setf cl
 " Clever or dtd
 au BufNewFile,BufRead *.ent                    call dist#ft#FTent()
 
+" Cling
+au BufNewFile,BufRead .cling_history           setf cpp
+
 " Clipper, FoxPro, ABB RAPID or eviews
 au BufNewFile,BufRead *.prg

-- 
-- 
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 vim_dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/E1ruzQ7-004duc-HM%40256bit.org.

Raspunde prin e-mail lui