Skip to content
This repository was archived by the owner on May 6, 2024. It is now read-only.

Commit 25b5f7e

Browse files
committed
Add calls to SetFileType calls
1 parent 3f05927 commit 25b5f7e

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

lua/filetype/mappings/function.lua

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,7 @@ M.complex = {
550550
end
551551
end,
552552
["%.bashrc.*"] = function()
553-
vim.cmd([[dist#ft#SetFileTypeSH("bash")]])
553+
vim.cmd([[call dist#ft#SetFileTypeSH("bash")]])
554554
end,
555555
["%.bash[_-]profile"] = function()
556556
vim.cmd([[call dist#ft#SetFileTypeSH("bash")]])
@@ -565,25 +565,25 @@ M.complex = {
565565
vim.cmd([[call dist#ft#SetFileTypeSH("bash")]])
566566
end,
567567
["PKGBUILD.*"] = function()
568-
vim.cmd([[dist#ft#SetFileTypeSH("bash")]])
568+
vim.cmd([[call dist#ft#SetFileTypeSH("bash")]])
569569
end,
570570
["APKBUILD.*"] = function()
571-
vim.cmd([[dist#ft#SetFileTypeSH("bash")]])
571+
vim.cmd([[call dist#ft#SetFileTypeSH("bash")]])
572572
end,
573573
["%.kshrc.*"] = function()
574-
vim.cmd([[dist#ft#SetFileTypeSH("ksh")]])
574+
vim.cmd([[call dist#ft#SetFileTypeSH("ksh")]])
575575
end,
576576
["%.profile.*"] = function()
577-
vim.cmd([[dist#ft#SetFileTypeSH(getline(1))]])
577+
vim.cmd([[call dist#ft#SetFileTypeSH(getline(1))]])
578578
end,
579579
["%.tcshrc.*"] = function()
580-
vim.cmd([[dist#ft#SetFileTypeShell("tcsh")]])
580+
vim.cmd([[call dist#ft#SetFileTypeShell("tcsh")]])
581581
end,
582582
["%.login.*"] = function()
583-
vim.cmd([[dist#ft#CSH()]])
583+
vim.cmd([[call dist#ft#CSH()]])
584584
end,
585585
["%.cshrc.*"] = function()
586-
vim.cmd([[dist#ft#CSH()]])
586+
vim.cmd([[call dist#ft#CSH()]])
587587
end,
588588
}
589589

0 commit comments

Comments
 (0)