feat(neovim): update filetype.lua
This commit is contained in:
parent
8c2b37402d
commit
4351cc0d54
|
@ -1,5 +1,7 @@
|
|||
vim.filetype.add({
|
||||
extension = {
|
||||
ncl = "nickel",
|
||||
nickel = "nickel",
|
||||
vert = "glsl",
|
||||
tesc = "glsl",
|
||||
tese = "glsl",
|
||||
|
@ -25,14 +27,6 @@ vim.filetype.add({
|
|||
return nil
|
||||
elseif command == "sh" or command == "bash" then
|
||||
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
|
||||
return "javascript"
|
||||
elseif command == "runhaskell" then
|
||||
|
@ -41,7 +35,7 @@ vim.filetype.add({
|
|||
return "haskell"
|
||||
end
|
||||
|
||||
return nil
|
||||
return command
|
||||
end
|
||||
|
||||
return nil
|
||||
|
|
Loading…
Reference in a new issue