From 3c32ae2ff3f8e8c0879d7adc7b0f4d4023424a25 Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Sun, 20 Sep 2015 09:46:55 -0400 Subject: man.vim: window-local options Set window-local options only on a newly-created "man" tab or if we're already in one. --- runtime/ftplugin/man.vim | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'runtime/ftplugin') diff --git a/runtime/ftplugin/man.vim b/runtime/ftplugin/man.vim index 38c6c7d71e..38b55e6a83 100644 --- a/runtime/ftplugin/man.vim +++ b/runtime/ftplugin/man.vim @@ -17,8 +17,7 @@ endif setlocal iskeyword+=\.,-,(,) setlocal buftype=nofile noswapfile -setlocal nomodifiable readonly bufhidden=hide nobuflisted -setlocal tabstop=8 colorcolumn=0 +setlocal nomodifiable readonly bufhidden=hide nobuflisted tabstop=8 if !exists("g:no_plugin_maps") && !exists("g:no_man_maps") nnoremap :call man#get_page(v:count) -- cgit