From 8ce415ec4201c18c174b3be00e623e380f748df0 Mon Sep 17 00:00:00 2001 From: Olaf Alders Date: Tue, 14 Nov 2023 14:33:10 +0000 Subject: [PATCH] Add a HideTabs() vim function --- vim/ftplugin/go.vim | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/vim/ftplugin/go.vim b/vim/ftplugin/go.vim index 38cb83c1..b7d46d35 100644 --- a/vim/ftplugin/go.vim +++ b/vim/ftplugin/go.vim @@ -13,3 +13,8 @@ function! ShowTabs() :set list :set listchars=tab:>- endfunction + +fun! HideTabs() + :setlocal nolist + :set number +endfunction