Fixed mistakes in ftplugin and doc