-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
75 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
autocmd BufNewFile,BufRead *.markdown,*.md,*.mdown,*.mkd,*.mkdn | ||
\ if &ft =~# '^\%(conf\|modula2\)$' | | ||
\ set ft=markdown | | ||
\ else | | ||
\ setf markdown | | ||
\ endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
" Vim filetype plugin | ||
" Language: Markdown | ||
" Maintainer: Tim Pope <vimNOSPAM@tpope.org> | ||
|
||
if exists("b:did_ftplugin") | ||
finish | ||
endif | ||
|
||
runtime! ftplugin/html.vim ftplugin/html_*.vim ftplugin/html/*.vim | ||
|
||
setlocal comments=fb:*,fb:-,fb:+,n:> commentstring=>\ %s | ||
setlocal formatoptions+=tcqln formatoptions-=r formatoptions-=o | ||
setlocal formatlistpat=^\\s*\\d\\+\\.\\s\\+\\\|^[-*+]\\s\\+ | ||
|
||
if exists('b:undo_ftplugin') | ||
let b:undo_ftplugin .= "|setl cms< com< fo< flp<" | ||
else | ||
let b:undo_ftplugin = "setl cms< com< fo< flp<" | ||
endif | ||
|
||
" vim:set sw=2: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters