Mercurial > vim
annotate runtime/ftplugin/markdown.vim @ 9992:3e3b0ce24b61 v7.4.2269
commit https://github.com/vim/vim/commit/e17bdffff78ebd6a4e3cff26754cc667557ea810
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Aug 27 18:34:29 2016 +0200
patch 7.4.2269
Problem: Using 'hlsearch' highlighting instead of matchpos if there is no
search match.
Solution: Pass NULL as last item to next_search_hl() when searching for
'hlsearch' match. (Shane Harper, closes #1013)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 27 Aug 2016 18:45:06 +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: |