add markdown snippets and front matter syntax
This commit is contained in:
@@ -151,6 +151,8 @@ if has('autocmd') && !exists('autocommands_loaded')
|
||||
|
||||
" autocmd! BufEnter * call ApplyLocalSettings(expand('<afile>:p:h'))
|
||||
|
||||
autocmd BufNewFile,BufRead,BufWrite *.md syntax match Comment /\%^---\_.\{-}---$/
|
||||
|
||||
autocmd! BufWritePost * Neomake
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
snippet code
|
||||
\`\`\`${1}
|
||||
\`\`\`
|
||||
snippet a
|
||||
[${1:text}](${2:http://})
|
||||
snippet img
|
||||

|
||||
|
||||
Reference in New Issue
Block a user