It didn't need an if statement. The openscad.vim from ftplugin only
loads if the filetype is set to openscad.