aboutsummaryrefslogtreecommitdiff
path: root/vim/config/syntax.vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-10-28 22:16:06 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-10-28 22:16:06 +1300
commit6ca11a52b5754ae9011fe3cb29648723854837eb (patch)
tree50f6ec28128d20b9e9f3dd8a72912d4e78b57f18 /vim/config/syntax.vim
parentMove completion .vimrc config into subfile (diff)
downloaddotfiles-6ca11a52b5754ae9011fe3cb29648723854837eb.tar.gz
dotfiles-6ca11a52b5754ae9011fe3cb29648723854837eb.zip
Move syntax .vimrc config into subfile
Some refactoring is done here, because as noted in 5caa13c, my custom colorscheme is implemented as a plugin to be loaded by Pathogen, and hence isn't available into after it's done its work. I've removed the :set background line for now until I'm sure it's needed, because at the moment I'm not sure.
Diffstat (limited to 'vim/config/syntax.vim')
-rw-r--r--vim/config/syntax.vim8
1 files changed, 8 insertions, 0 deletions
diff --git a/vim/config/syntax.vim b/vim/config/syntax.vim
new file mode 100644
index 00000000..118486b1
--- /dev/null
+++ b/vim/config/syntax.vim
@@ -0,0 +1,8 @@
+" Options dependent on the syntax feature
+if has('syntax')
+
+ " Use syntax highlighting with 100 lines of context
+ silent! syntax enable
+ silent! syntax sync minlines=100
+
+endif