diff options
author | Christian Clason <c.clason@uni-graz.at> | 2024-10-22 00:16:48 +0200 |
---|---|---|
committer | Christian Clason <ch.clason+github@icloud.com> | 2024-10-22 08:55:39 +0200 |
commit | a6d1165771781732cb8ff6105df6f0429c46cde1 (patch) | |
tree | ba9593da7ea0cddb99f35c112c7147566200cb09 /runtime/lua/vim | |
parent | b7779aad41dada52cf08aecbe2ca941edd2ecd59 (diff) | |
download | rneovim-a6d1165771781732cb8ff6105df6f0429c46cde1.tar.gz rneovim-a6d1165771781732cb8ff6105df6f0429c46cde1.tar.bz2 rneovim-a6d1165771781732cb8ff6105df6f0429c46cde1.zip |
vim-patch:9.1.0796: filetype: libtool files are not recognized
Problem: filetype: libtool files are not recognized
Solution: detect '*.{lo,la,lai}' as sh filetype
(Wu, Zhenyu)
closes: vim/vim#15751
https://github.com/vim/vim/commit/bfe568d8c49662c3a3485834066c0a4c32ded56b
Co-authored-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
Diffstat (limited to 'runtime/lua/vim')
-rw-r--r-- | runtime/lua/vim/filetype.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua index b824b60536..2e7c95f85c 100644 --- a/runtime/lua/vim/filetype.lua +++ b/runtime/lua/vim/filetype.lua @@ -1068,6 +1068,9 @@ local extension = { envrc = detect.sh, ksh = detect.ksh, sh = detect.sh, + lo = 'sh', + la = 'sh', + lai = 'sh', mdd = 'sh', sieve = 'sieve', siv = 'sieve', |