Make all filetype names lowercase

This may be a breaking change if you are using a plugin that
checks the filetype. All the default plugins are now updated,
just make the filetype you were checking for previously all
lowercase.
This commit is contained in:
Zachary Yedidia
2016-08-24 17:15:36 -07:00
parent 261748bd56
commit 8803d93872
81 changed files with 273 additions and 273 deletions

View File

@@ -5,7 +5,7 @@ if GetOption("gofmt") == nil then
AddOption("gofmt", true)
end
if CurView().Buf.FileType == "Go" then
if CurView().Buf.FileType == "go" then
SetOption("tabstospaces", "off")
end
@@ -13,7 +13,7 @@ MakeCommand("goimports", "go.goimports", 0)
MakeCommand("gofmt", "go.gofmt", 0)
function onSave()
if CurView().Buf.FileType == "Go" then
if CurView().Buf.FileType == "go" then
if GetOption("goimports") then
goimports()
elseif GetOption("gofmt") then