X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=runtime%2Fplugins%2Fftoptions%2Fftoptions.lua;h=a0170b942f3cee844f73d4224d34e6234155ce81;hb=ade0e9dd39e6859a191d5b1a7061622fe5b57a01;hp=698fc60b65d4b3a25846438246249fa930c4a9fc;hpb=8a4f2193d85ac6dc2c5b41c4198d2ee72aeb239b;p=micro.git diff --git a/runtime/plugins/ftoptions/ftoptions.lua b/runtime/plugins/ftoptions/ftoptions.lua index 698fc60b..a0170b94 100644 --- a/runtime/plugins/ftoptions/ftoptions.lua +++ b/runtime/plugins/ftoptions/ftoptions.lua @@ -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" or ft == "yaml" then + elseif ft == "python" or ft == "python2" or ft == "python3" or ft == "yaml" or ft =="nim" then SetOption("tabstospaces", "on") end end