aboutsummaryrefslogtreecommitdiff
path: root/vim/after
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-06-30 00:54:05 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-06-30 00:54:05 +1200
commitd18886688821e5d67c3f698cebd1f31da1c253fc (patch)
tree7c203c74a30c9d7ec7177aa1d61ee577175219f5 /vim/after
parentd115ba06a04b0772246da35af8e9dad87933a0d1 (diff)
downloaddotfiles-d18886688821e5d67c3f698cebd1f31da1c253fc.tar.gz
dotfiles-d18886688821e5d67c3f698cebd1f31da1c253fc.zip
Join some b:undo_ftplugin addenda
Diffstat (limited to 'vim/after')
-rw-r--r--vim/after/ftplugin/awk.vim3
-rw-r--r--vim/after/ftplugin/c.vim3
-rw-r--r--vim/after/ftplugin/cpp.vim3
-rw-r--r--vim/after/ftplugin/gitcommit.vim3
-rw-r--r--vim/after/ftplugin/php.vim3
-rw-r--r--vim/after/ftplugin/sed.vim3
-rw-r--r--vim/after/ftplugin/sh.vim2
7 files changed, 7 insertions, 13 deletions
diff --git a/vim/after/ftplugin/awk.vim b/vim/after/ftplugin/awk.vim
index d4e16d9a..2051bd21 100644
--- a/vim/after/ftplugin/awk.vim
+++ b/vim/after/ftplugin/awk.vim
@@ -13,5 +13,4 @@ let b:undo_ftplugin = b:undo_ftplugin
setlocal comments=:#
setlocal formatoptions+=or
let b:undo_ftplugin = b:undo_ftplugin
- \ . '|setlocal comments<'
- \ . '|setlocal formatoptions<'
+ \ . '|setlocal comments< formatoptions<'
diff --git a/vim/after/ftplugin/c.vim b/vim/after/ftplugin/c.vim
index cc2c0d7f..a4c4cb6a 100644
--- a/vim/after/ftplugin/c.vim
+++ b/vim/after/ftplugin/c.vim
@@ -10,5 +10,4 @@ let b:undo_ftplugin = b:undo_ftplugin
setlocal include=^\\s*#\\s*include
setlocal path+=/usr/include
let b:undo_ftplugin = b:undo_ftplugin
- \ . '|setlocal include<'
- \ . '|setlocal path<'
+ \ . '|setlocal include< path<'
diff --git a/vim/after/ftplugin/cpp.vim b/vim/after/ftplugin/cpp.vim
index 7c68f0e6..f75a0eda 100644
--- a/vim/after/ftplugin/cpp.vim
+++ b/vim/after/ftplugin/cpp.vim
@@ -10,5 +10,4 @@ let b:undo_ftplugin = b:undo_ftplugin
setlocal include=^\\s*#\\s*include
setlocal path+=/usr/include
let b:undo_ftplugin = b:undo_ftplugin
- \ . '|setlocal include<'
- \ . '|setlocal path<'
+ \ . '|setlocal include< path<'
diff --git a/vim/after/ftplugin/gitcommit.vim b/vim/after/ftplugin/gitcommit.vim
index 8c0d3d17..d64c7f6e 100644
--- a/vim/after/ftplugin/gitcommit.vim
+++ b/vim/after/ftplugin/gitcommit.vim
@@ -10,5 +10,4 @@ let b:undo_ftplugin = b:undo_ftplugin
setlocal comments+=n:>
setlocal formatoptions+=or
let b:undo_ftplugin = b:undo_ftplugin
- \ . '|setlocal comments<'
- \ . '|setlocal formatoptions<'
+ \ . '|setlocal comments< formatoptions<'
diff --git a/vim/after/ftplugin/php.vim b/vim/after/ftplugin/php.vim
index f9ff008f..ee38ec3b 100644
--- a/vim/after/ftplugin/php.vim
+++ b/vim/after/ftplugin/php.vim
@@ -13,8 +13,7 @@ let b:undo_ftplugin = b:undo_ftplugin
setlocal comments=s1:/*,m:*,ex:*/,://,:#
setlocal formatoptions+=or
let b:undo_ftplugin = b:undo_ftplugin
- \ . '|setlocal comments<'
- \ . '|setlocal formatoptions<'
+ \ . '|setlocal comments< formatoptions<'
" Define keywords for matchit.vim
if exists('g:loaded_matchit')
diff --git a/vim/after/ftplugin/sed.vim b/vim/after/ftplugin/sed.vim
index 9c9c6c59..b3c3abc3 100644
--- a/vim/after/ftplugin/sed.vim
+++ b/vim/after/ftplugin/sed.vim
@@ -13,5 +13,4 @@ let b:undo_ftplugin = b:undo_ftplugin
setlocal comments=:#
setlocal formatoptions+=or
let b:undo_ftplugin = b:undo_ftplugin
- \ . '|setlocal comments<'
- \ . '|setlocal formatoptions<'
+ \ . '|setlocal comments< formatoptions<'
diff --git a/vim/after/ftplugin/sh.vim b/vim/after/ftplugin/sh.vim
index a59eeee8..5e4d9e99 100644
--- a/vim/after/ftplugin/sh.vim
+++ b/vim/after/ftplugin/sh.vim
@@ -13,7 +13,7 @@ let b:undo_ftplugin = b:undo_ftplugin
setlocal comments=:#
setlocal formatoptions+=or
let b:undo_ftplugin = b:undo_ftplugin
- \ . '|setlocal comments<'
+ \ . '|setlocal comments< formatoptions<'
" If subtype is Bash, set 'keywordprg' to han(1df)
if exists('b:is_bash')