1 if GetOption("ftoptions") == nil then
2 AddOption("ftoptions", true)
5 function onViewOpen(view)
6 if not GetOption("ftoptions") then
10 local ft = view.Buf.Settings["filetype"]
14 SetOption("tabstospaces", "off")
15 elseif ft == "fish" or
21 SetOption("tabstospaces", "on")