Mercurial > vim
annotate runtime/ftplugin/markdown.vim @ 9068:0a3bc9fdea20 v7.4.1819
commit https://github.com/vim/vim/commit/827b165b2aebad2cfe98cc6d5804c6c0fe8afd89
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu May 5 18:14:03 2016 +0200
patch 7.4.1819
Problem: Compiler warnings when sprintf() is a macro.
Solution: Don't interrupt sprintf() with an #ifdef. (Michael Jarvis,
closes https://github.com/vim/vim/issues/788)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 05 May 2016 18:15:05 +0200 |
parents | 2eb30f341e8d |
children | 43efa4f5a8ea |
rev | line source |
---|---|
2202 | 1 " Vim filetype plugin |
2 " Language: Markdown | |
3 " Maintainer: Tim Pope <vimNOSPAM@tpope.org> | |
4681
2eb30f341e8d
Updated runtime files and translations.
Bram Moolenaar <bram@vim.org>
parents:
3224
diff
changeset
|
4 " Last Change: 2013 May 30 |
2202 | 5 |
6 if exists("b:did_ftplugin") | |
7 finish | |
8 endif | |
9 | |
10 runtime! ftplugin/html.vim ftplugin/html_*.vim ftplugin/html/*.vim | |
11 | |
12 setlocal comments=fb:*,fb:-,fb:+,n:> commentstring=>\ %s | |
4681
2eb30f341e8d
Updated runtime files and translations.
Bram Moolenaar <bram@vim.org>
parents:
3224
diff
changeset
|
13 setlocal formatoptions+=tcqln formatoptions-=r formatoptions-=o |
2202 | 14 setlocal formatlistpat=^\\s*\\d\\+\\.\\s\\+\\\|^[-*+]\\s\\+ |
15 | |
3224 | 16 if exists('b:undo_ftplugin') |
17 let b:undo_ftplugin .= "|setl cms< com< fo< flp<" | |
18 else | |
19 let b:undo_ftplugin = "setl cms< com< fo< flp<" | |
20 endif | |
2202 | 21 |
22 " vim:set sw=2: |