annotate runtime/indent/dictdconf.vim @ 9469:38e2fc4ee4ef
v7.4.2015
commit https://github.com/vim/vim/commit/5c71994f4ee5f87d4cce990dbc9684c70b1e108b
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jul 9 23:40:45 2016 +0200
patch 7.4.2015
Problem: When a file gets a name when writing it 'acd' is not effective.
(Dan Church)
Solution: Invoke DO_AUTOCHDIR after writing the file. (Allen Haim, closes
#777, closes #803) Add test_autochdir() to enable 'acd' before
"starting" is reset.
author |
Christian Brabandt <cb@256bit.org> |
date |
Sat, 09 Jul 2016 23:45:05 +0200 |
parents |
a3c21128b246 |
children |
1218c5353e2b |
rev |
line source |
389
|
1 " Vim indent file
|
|
2 " Language: dictd(8) configuration file
|
839
|
3 " Maintainer: Nikolai Weibull <now@bitwi.se>
|
1204
|
4 " Latest Revision: 2006-12-20
|
389
|
5
|
|
6 if exists("b:did_indent")
|
|
7 finish
|
|
8 endif
|
|
9 let b:did_indent = 1
|
|
10
|
|
11 setlocal indentkeys=0{,0},!^F,o,O cinwords= autoindent smartindent
|
1204
|
12 setlocal nosmartindent
|
389
|
13 inoremap <buffer> # X#
|