aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-06-10 23:52:14 +1200
committerTom Ryder <tom@sanctum.geek.nz>2017-06-10 23:52:14 +1200
commitbb1be1379fd1150a083ad18c2354807f1b54eaf1 (patch)
treeaa43d1299449e2e8c4db1ee0eb43ca86e14bda85
parentMakefile refactor (diff)
downloaddotfiles-bb1be1379fd1150a083ad18c2354807f1b54eaf1.tar.gz
dotfiles-bb1be1379fd1150a083ad18c2354807f1b54eaf1.zip
Force silence for Vim syntax enabling
Might just be a peculiarity of OpenIndiana's build, but it raises an error as it tries to load nonexistent syntax files otherwise
-rw-r--r--vim/vimrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 1c1f2b26..87cf7868 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -47,8 +47,8 @@ endif
if has('syntax')
" Use syntax highlighting with 100 lines of context
- syntax enable
- syntax sync minlines=100
+ silent! syntax enable
+ silent! syntax sync minlines=100
" Use my custom color scheme if possible, otherwise I'm happy with whatever
" the default is, and it usually cares about my background