mirror of
https://github.com/tpope/vim-markdown.git
synced 2025-11-13 12:23:48 -05:00
Vim 9.0.0772
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
" Vim filetype plugin
|
" Vim filetype plugin
|
||||||
" Language: Markdown
|
" Language: Markdown
|
||||||
" Maintainer: Tim Pope <https://github.com/tpope/vim-markdown>
|
" Maintainer: Tim Pope <https://github.com/tpope/vim-markdown>
|
||||||
" Last Change: 2019 Dec 05
|
" Last Change: 2022 Oct 13
|
||||||
|
|
||||||
if exists("b:did_ftplugin")
|
if exists("b:did_ftplugin")
|
||||||
finish
|
finish
|
||||||
@@ -9,6 +9,9 @@ endif
|
|||||||
|
|
||||||
runtime! ftplugin/html.vim ftplugin/html_*.vim ftplugin/html/*.vim
|
runtime! ftplugin/html.vim ftplugin/html_*.vim ftplugin/html/*.vim
|
||||||
|
|
||||||
|
let s:keepcpo= &cpo
|
||||||
|
set cpo&vim
|
||||||
|
|
||||||
setlocal comments=fb:*,fb:-,fb:+,n:> commentstring=<!--%s-->
|
setlocal comments=fb:*,fb:-,fb:+,n:> commentstring=<!--%s-->
|
||||||
setlocal formatoptions+=tcqln formatoptions-=r formatoptions-=o
|
setlocal formatoptions+=tcqln formatoptions-=r formatoptions-=o
|
||||||
setlocal formatlistpat=^\\s*\\d\\+\\.\\s\\+\\\|^\\s*[-*+]\\s\\+\\\|^\\[^\\ze[^\\]]\\+\\]:\\&^.\\{4\\}
|
setlocal formatlistpat=^\\s*\\d\\+\\.\\s\\+\\\|^\\s*[-*+]\\s\\+\\\|^\\[^\\ze[^\\]]\\+\\]:\\&^.\\{4\\}
|
||||||
@@ -83,4 +86,7 @@ if has("folding") && get(g:, "markdown_folding", 0)
|
|||||||
let b:undo_ftplugin .= "|setl foldexpr< foldmethod< foldtext<"
|
let b:undo_ftplugin .= "|setl foldexpr< foldmethod< foldtext<"
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
let &cpo = s:keepcpo
|
||||||
|
unlet s:keepcpo
|
||||||
|
|
||||||
" vim:set sw=2:
|
" vim:set sw=2:
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
" Language: Markdown
|
" Language: Markdown
|
||||||
" Maintainer: Tim Pope <https://github.com/tpope/vim-markdown>
|
" Maintainer: Tim Pope <https://github.com/tpope/vim-markdown>
|
||||||
" Filenames: *.markdown
|
" Filenames: *.markdown
|
||||||
" Last Change: 2020 Jan 14
|
" Last Change: 2022 Oct 13
|
||||||
|
|
||||||
if exists("b:current_syntax")
|
if exists("b:current_syntax")
|
||||||
finish
|
finish
|
||||||
|
|||||||
Reference in New Issue
Block a user