From 556b2e099ac0e4d0cda45488a082568cd7abeae1 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Thu, 13 Feb 2020 01:17:42 +0100 Subject: ftplugin/go.vim: Enable the vim-go ftplugin Enable extra mappings, text objects, etc. provided by vim-go. Wanted function scoped motions and text objects, and this was the easy way to get them. --- ftplugin/go.vim | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ftplugin') diff --git a/ftplugin/go.vim b/ftplugin/go.vim index 7117c5a..7f85703 100644 --- a/ftplugin/go.vim +++ b/ftplugin/go.vim @@ -1,5 +1,10 @@ " Go vim settings +if exists('b:did_ftplugin') + unlet b:did_ftplugin +endif + + compiler go -- cgit v1.2.3