annotate runtime/ftplugin/hostconf.vim @ 5875:daf7e98675cf v7.4.280

updated for version 7.4.280 Problem: When using a session file the relative position of the cursor is not restored if there is another tab. (Nobuhiro Takasaki) Solution: Update w_wrow before calculating the fraction.
author Bram Moolenaar <bram@vim.org>
date Wed, 07 May 2014 20:25:35 +0200
parents f4f8014d516e
children 1218c5353e2b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1621
82b5078be2dd updated for version 7.2a
vimboss
parents:
diff changeset
1 " Vim filetype plugin file
82b5078be2dd updated for version 7.2a
vimboss
parents:
diff changeset
2 " Maintainer: Nikolai Weibull <now@bitwi.se>
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 1621
diff changeset
3 " Latest Revision: 2007-12-04
1621
82b5078be2dd updated for version 7.2a
vimboss
parents:
diff changeset
4
82b5078be2dd updated for version 7.2a
vimboss
parents:
diff changeset
5 if exists("b:did_ftplugin")
82b5078be2dd updated for version 7.2a
vimboss
parents:
diff changeset
6 finish
82b5078be2dd updated for version 7.2a
vimboss
parents:
diff changeset
7 endif
82b5078be2dd updated for version 7.2a
vimboss
parents:
diff changeset
8 let b:did_ftplugin = 1
82b5078be2dd updated for version 7.2a
vimboss
parents:
diff changeset
9
82b5078be2dd updated for version 7.2a
vimboss
parents:
diff changeset
10 let s:cpo_save = &cpo
82b5078be2dd updated for version 7.2a
vimboss
parents:
diff changeset
11 set cpo&vim
82b5078be2dd updated for version 7.2a
vimboss
parents:
diff changeset
12
82b5078be2dd updated for version 7.2a
vimboss
parents:
diff changeset
13 let b:undo_ftplugin = "setl com< cms< fo<"
82b5078be2dd updated for version 7.2a
vimboss
parents:
diff changeset
14
82b5078be2dd updated for version 7.2a
vimboss
parents:
diff changeset
15 setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql
82b5078be2dd updated for version 7.2a
vimboss
parents:
diff changeset
16
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 1621
diff changeset
17 let &cpo = s:cpo_save
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 1621
diff changeset
18 unlet s:cpo_save