Skip to content

Commit

Permalink
Add a HideTabs() vim function
Browse files Browse the repository at this point in the history
  • Loading branch information
oalders committed Nov 14, 2023
1 parent 6391a3c commit 8ce415e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions vim/ftplugin/go.vim
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,8 @@ function! ShowTabs()
:set list
:set listchars=tab:>-
endfunction

fun! HideTabs()
:setlocal nolist
:set number
endfunction

0 comments on commit 8ce415e

Please sign in to comment.