aboutsummaryrefslogtreecommitdiff
path: root/runtime/ftplugin
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2015-09-20 09:46:55 -0400
committerJustin M. Keyes <justinkz@gmail.com>2015-09-23 00:06:27 -0400
commit3c32ae2ff3f8e8c0879d7adc7b0f4d4023424a25 (patch)
treea3b14ebe1bd405d94d3e4adc508962dbe8192b18 /runtime/ftplugin
parent45724e2c4148aaddfbb83909d2d637a760e57710 (diff)
downloadrneovim-3c32ae2ff3f8e8c0879d7adc7b0f4d4023424a25.tar.gz
rneovim-3c32ae2ff3f8e8c0879d7adc7b0f4d4023424a25.tar.bz2
rneovim-3c32ae2ff3f8e8c0879d7adc7b0f4d4023424a25.zip
man.vim: window-local options
Set window-local options only on a newly-created "man" tab or if we're already in one.
Diffstat (limited to 'runtime/ftplugin')
-rw-r--r--runtime/ftplugin/man.vim3
1 files changed, 1 insertions, 2 deletions
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 <silent> <buffer> <C-]> :call man#get_page(v:count)<CR>