mirror of
https://github.com/tpope/vim-markdown.git
synced 2025-11-13 20:33:48 -05:00
Don't let fenced languages change 'iskeyword'
This commit is contained in:
committed by
Tim Pope
parent
c7988e88a2
commit
db82f00b58
@@ -16,6 +16,7 @@ if has('folding')
|
|||||||
let s:foldmethod = &l:foldmethod
|
let s:foldmethod = &l:foldmethod
|
||||||
let s:foldtext = &l:foldtext
|
let s:foldtext = &l:foldtext
|
||||||
endif
|
endif
|
||||||
|
let s:iskeyword = &l:iskeyword
|
||||||
|
|
||||||
runtime! syntax/html.vim
|
runtime! syntax/html.vim
|
||||||
unlet! b:current_syntax
|
unlet! b:current_syntax
|
||||||
@@ -48,6 +49,10 @@ if exists('s:foldtext') && s:foldtext !=# &l:foldtext
|
|||||||
let &l:foldtext = s:foldtext
|
let &l:foldtext = s:foldtext
|
||||||
unlet s:foldtext
|
unlet s:foldtext
|
||||||
endif
|
endif
|
||||||
|
if s:iskeyword !=# &l:iskeyword
|
||||||
|
let &l:iskeyword = s:iskeyword
|
||||||
|
endif
|
||||||
|
unlet s:iskeyword
|
||||||
|
|
||||||
if !exists('g:markdown_minlines')
|
if !exists('g:markdown_minlines')
|
||||||
let g:markdown_minlines = 50
|
let g:markdown_minlines = 50
|
||||||
|
|||||||
Reference in New Issue
Block a user