summaryrefslogtreecommitdiff
path: root/ftplugin
diff options
context:
space:
mode:
authorryanss2015-04-03 23:59:00 -0400
committerryanss2015-04-03 23:59:00 -0400
commit704f5a5970b8bd7b346d49cd66cbf132e3870610 (patch)
tree6217c01ec5865ad8ea49af56f28411530c8f0d80 /ftplugin
parent2960a85e7498a22b53e658449b88a237008194e8 (diff)
downloadvim-hn-704f5a5970b8bd7b346d49cd66cbf132e3870610.tar.gz
Move default settings from ftplugin to plugin
:HackerNews commands needs `g:hackernews_stories` set before ftplugin code is executed.
Diffstat (limited to 'ftplugin')
-rw-r--r--ftplugin/hackernews.vim9
1 files changed, 0 insertions, 9 deletions
diff --git a/ftplugin/hackernews.vim b/ftplugin/hackernews.vim
index dbf5f4b..17c7c59 100644
--- a/ftplugin/hackernews.vim
+++ b/ftplugin/hackernews.vim
@@ -18,15 +18,6 @@ else
endif
-if !exists("g:hackernews_marks")
- let g:hackernews_stories = 'news'
-endif
-
-if !exists("g:hackernews_marks")
- let g:hackernews_marks = {}
-endif
-
-
" Import Python code
execute "Python import sys"
execute "Python sys.path.append(r'" . expand("<sfile>:p:h") . "')"