mirror of
https://github.com/tpope/vim-markdown.git
synced 2025-11-13 04:13:47 -05:00
Vim 9.0.0772
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
" Vim filetype plugin
|
||||
" Language: 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")
|
||||
finish
|
||||
@@ -9,6 +9,9 @@ endif
|
||||
|
||||
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 formatoptions+=tcqln formatoptions-=r formatoptions-=o
|
||||
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<"
|
||||
endif
|
||||
|
||||
let &cpo = s:keepcpo
|
||||
unlet s:keepcpo
|
||||
|
||||
" vim:set sw=2:
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
" Language: Markdown
|
||||
" Maintainer: Tim Pope <https://github.com/tpope/vim-markdown>
|
||||
" Filenames: *.markdown
|
||||
" Last Change: 2020 Jan 14
|
||||
" Last Change: 2022 Oct 13
|
||||
|
||||
if exists("b:current_syntax")
|
||||
finish
|
||||
|
||||
Reference in New Issue
Block a user