From 95308b0aed797931be4eef297f975c5a8b21d479 Mon Sep 17 00:00:00 2001 From: David Briscoe Date: Fri, 19 Feb 2021 13:57:02 -0800 Subject: [PATCH] Move ftplugin to after Fix commentstring and includeexpr aren't set in objc files. Since we don't set did_ftplugin, the built-in objc.vim (invoked after user files) will overwrite our settings. We either need to set did_ftplugin (and do all the setup ourself) or do our modifications from after/. I suspect this used to work but vim's runtime files changed to explicitly set these variables. Test Check `:verb set commentstring?` after loading a .m file in macvim 8.2.1719. --- {ftplugin => after/ftplugin}/objc.vim | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename {ftplugin => after/ftplugin}/objc.vim (100%) diff --git a/ftplugin/objc.vim b/after/ftplugin/objc.vim similarity index 100% rename from ftplugin/objc.vim rename to after/ftplugin/objc.vim