Use spaces for nim

From manual:
Nim's standard grammar describes an indentation sensitive language. This means that all the control structures are recognized by indentation. Indentation consists only of spaces; tabulators are not allowed.
This commit is contained in:
Jipok
2017-10-14 20:21:41 +05:00
committed by GitHub
parent 5af5140362
commit ade0e9dd39

View 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" 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