Mercurial > vim
annotate runtime/indent/d.vim @ 9326:cd9c4bbe1d03 v7.4.1945
commit https://github.com/vim/vim/commit/ddf8d1c746ee081d15c9d7e0515f6ac43adbf363
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jun 20 11:22:54 2016 +0200
patch 7.4.1945
Problem: The Man plugin doesn't work that well.
Solution: Use "g:ft_man_open_mode" to be able open man pages in vert split
or separate tab. Set nomodifiable for buffer with man content. Add
a test. (Andrey Starodubtsev, closes #873)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 20 Jun 2016 11:30:06 +0200 |
parents | 862863033fdd |
children | 9c221ad9634a |
rev | line source |
---|---|
557 | 1 " Vim indent file for the D programming language (version 0.137). |
2 " | |
3 " Language: D | |
4 " Maintainer: Jason Mills<jmills@cs.mun.ca> | |
5 " Last Change: 2005 Nov 22 | |
6 " Version: 0.1 | |
7 " | |
8 " Please email me with bugs, comments, and suggestion. Put vim in the subject | |
9 " to ensure the email will not be marked has spam. | |
10 " | |
11 | |
12 " Only load this indent file when no other was loaded. | |
13 if exists("b:did_indent") | |
14 finish | |
15 endif | |
16 | |
17 let b:did_indent = 1 | |
18 | |
19 " D indenting is a lot like the built-in C indenting. | |
20 setlocal cindent | |
21 | |
22 " vim: ts=8 noet |