feat(neovim): update filetype.lua

This commit is contained in:
Felix Schröter 2023-05-31 16:57:21 +02:00
parent 8c2b37402d
commit 4351cc0d54
Signed by: felschr
GPG key ID: 671E39E6744C807D

View file

@ -1,5 +1,7 @@
vim.filetype.add({ vim.filetype.add({
extension = { extension = {
ncl = "nickel",
nickel = "nickel",
vert = "glsl", vert = "glsl",
tesc = "glsl", tesc = "glsl",
tese = "glsl", tese = "glsl",
@ -25,14 +27,6 @@ vim.filetype.add({
return nil return nil
elseif command == "sh" or command == "bash" then elseif command == "sh" or command == "bash" then
return "bash" return "bash"
elseif command == "ksh" then
return "ksh"
elseif command == "zsh" then
return "zsh"
elseif command == "make" then
return "make"
elseif command == "python" then
return "python"
elseif command == "node" then elseif command == "node" then
return "javascript" return "javascript"
elseif command == "runhaskell" then elseif command == "runhaskell" then
@ -41,7 +35,7 @@ vim.filetype.add({
return "haskell" return "haskell"
end end
return nil return command
end end
return nil return nil