diff options
author | Christian Clason <c.clason@uni-graz.at> | 2024-07-18 09:13:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-18 07:13:16 +0000 |
commit | c69ea53c9d73a29f504043cc38d4e9fac076f93b (patch) | |
tree | 6efecc1b6f26fd62697cede903dcacf679e9a5b9 /runtime/lua | |
parent | f69cfc6712df31813ba9d5f14abf351f346a619e (diff) | |
download | rneovim-c69ea53c9d73a29f504043cc38d4e9fac076f93b.tar.gz rneovim-c69ea53c9d73a29f504043cc38d4e9fac076f93b.tar.bz2 rneovim-c69ea53c9d73a29f504043cc38d4e9fac076f93b.zip |
vim-patch:9.1.0596: filetype: devscripts config files are not recognized (#29773)
Problem: filetype: Debian devscripts config files are not recognized
Solution: detect devscripts.conf and .devscripts files as sh filetype
(sourced by /bin/sh)
closes: vim/vim#15227
https://github.com/vim/vim/commit/76c19028ffc8b00816df7bc48985c92f7bacbcfb
Co-authored-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
Diffstat (limited to 'runtime/lua')
-rw-r--r-- | runtime/lua/vim/filetype.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua index 99c5e037e5..834eb9e89c 100644 --- a/runtime/lua/vim/filetype.lua +++ b/runtime/lua/vim/filetype.lua @@ -1626,6 +1626,8 @@ local filename = { ['/etc/serial.conf'] = 'setserial', ['/etc/udev/cdsymlinks.conf'] = 'sh', ['.ash_history'] = 'sh', + ['.devscripts'] = 'sh', + ['devscripts.conf'] = 'sh', ['makepkg.conf'] = 'sh', ['.makepkg.conf'] = 'sh', ['user-dirs.dirs'] = 'sh', |