]> git.lizzy.rs Git - micro.git/blobdiff - runtime/plugins/ftoptions/ftoptions.lua
Use spaces for nim
[micro.git] / runtime / plugins / ftoptions / ftoptions.lua
index bc57dcdcc4c6108099ab44e487af1955bc08b5fc..a0170b942f3cee844f73d4224d34e6234155ce81 100644 (file)
@@ -11,7 +11,7 @@ function onViewOpen(view)
 
     if ft == "makefile" or ft == "go" then
         SetOption("tabstospaces", "off")
-    elseif ft == "python" or ft == "python2" or ft == "python3" then
+    elseif ft == "python" or ft == "python2" or ft == "python3" or ft == "yaml" or ft =="nim" then
         SetOption("tabstospaces", "on")
     end
 end