From 14cd81b882b8db1a1f515b58837f0dca5bea232d Mon Sep 17 00:00:00 2001 From: ryanss Date: Sun, 8 Feb 2015 23:07:17 -0500 Subject: Fix #16 Enable `filetype plugin` and `syntax` options If `filetype plugin` is off the key remaps defined in `ftplugin/hackernews.vim` won't be loaded and pressing `o` will just create a new line instead of following links. --- plugin/hackernews.vim | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plugin/hackernews.vim b/plugin/hackernews.vim index 8516747..5e0b603 100644 --- a/plugin/hackernews.vim +++ b/plugin/hackernews.vim @@ -14,6 +14,11 @@ if !has('python') endif +" Filetype plugins and syntax highlighting should be enabled +filetype plugin on +syntax on + + " Import Python code execute "python import sys" execute "python sys.path.append(r'" . expand(":p:h") . "')" -- cgit v1.2.3