aboutsummaryrefslogtreecommitdiff
path: root/lua/plugins/filetype.lua
diff options
context:
space:
mode:
authorunrealapex <unrealapex@disroot.org>2025-05-18 15:31:58 -0700
committerMatěj Cepl <mcepl@cepl.eu>2025-11-28 15:10:20 +0100
commita6d99ff6728d7966f134b747eeef1c10f4ba088e (patch)
tree8882df43cb823f717c32201f7631973f8a13991c /lua/plugins/filetype.lua
parentd8a26a9aee012f198038cbd2add99c1a945dd6b5 (diff)
downloadvis-a6d99ff6728d7966f134b747eeef1c10f4ba088e.tar.gz
vis-a6d99ff6728d7966f134b747eeef1c10f4ba088e.tar.xz
filetype: detect additional shell files
Diffstat (limited to 'lua/plugins/filetype.lua')
-rw-r--r--lua/plugins/filetype.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/plugins/filetype.lua b/lua/plugins/filetype.lua
index 051f061..4d411bb 100644
--- a/lua/plugins/filetype.lua
+++ b/lua/plugins/filetype.lua
@@ -46,7 +46,7 @@ vis.ftdetect.filetypes = {
},
bash = {
utility = { "^[db]ash$", "^sh$","^t?csh$","^zsh$" },
- ext = { "%.bash$", "%.csh$", "%.sh$", "%.zsh$" ,"^APKBUILD$", "%.ebuild$", "^.bashrc$", "^.bash_profile$" },
+ ext = { "%.[by]ash$", "%.[acz]?sh$", "^APKBUILD$", "%.ebuild$", "^.[by]ashrc$", "^.[by]ash_profile$" , "^.profile" },
mime = { "text/x-shellscript", "application/x-shellscript" },
},
batch = {