4418d4cb09e4

Fix the pathogen/filetype bit of the Vim entry.
[view raw] [browse files]
author Steve Losh <steve@dwaiter.com>
date Tue, 21 Sep 2010 13:18:04 -0400
parents 21748aa456d4
children e522010500ab
branches/tags (none)
files content/blog/2010/09/coming-home-to-vim.html

Changes

--- a/content/blog/2010/09/coming-home-to-vim.html	Mon Sep 20 18:17:20 2010 -0400
+++ b/content/blog/2010/09/coming-home-to-vim.html	Tue Sep 21 13:18:04 2010 -0400
@@ -278,15 +278,18 @@
 
     :::vim
     filetype off
+    call pathogen#runtime_append_all_bundles()
     filetype plugin indent on
 
     set nocompatible
 
     set modelines=0
 
-I'm not entirely sure what the `filetype` lines do. I've read that they're
-necessary and so far I haven't had problems.  There's only so much time that
-I want to spend on digging into Vim's internals.
+The `filetype` and `call` lines are for loading Pathogen, which is described in
+the bundles section. See [Pathogen's docs][pathogendocs] to learn about why the
+first `filetype` line is there.
+
+[pathogendocs]: http://www.vim.org/scripts/script.php?script_id=2332
 
 `set nocompatible` gets rid of all the crap that Vim does to be vi compatible.
 It's 2010 -- we don't need to be compatible with vi at the expense of