Skip to content

Commit

Permalink
Merge pull request #67 from thinca/improve-markdown
Browse files Browse the repository at this point in the history
Skip code block for in markdown
  • Loading branch information
Shougo committed Mar 14, 2016
2 parents 7c34d0e + 2daac1f commit 1d32a29
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions autoload/unite/sources/outline/defaults/markdown.vim
Expand Up @@ -21,6 +21,7 @@ endfunction
let s:outline_info = {
\ 'heading' : '^#\+',
\ 'heading+1': '^[-=]\+$',
\ 'skip': {'block': ['^\s*```.*$', '^\s*```$']},
\ }

function! s:outline_info.create_heading(which, heading_line, matched_line, context) abort
Expand Down

0 comments on commit 1d32a29

Please sign in to comment.