Don't let fenced languages change 'iskeyword'

This commit is contained in:
Jaehwang Jerry Jung
2022-01-11 21:47:05 +09:00
committed by Tim Pope
parent c7988e88a2
commit db82f00b58

View File

@@ -16,6 +16,7 @@ if has('folding')
let s:foldmethod = &l:foldmethod
let s:foldtext = &l:foldtext
endif
let s:iskeyword = &l:iskeyword
runtime! syntax/html.vim
unlet! b:current_syntax
@@ -48,6 +49,10 @@ if exists('s:foldtext') && s:foldtext !=# &l:foldtext
let &l:foldtext = s:foldtext
unlet s:foldtext
endif
if s:iskeyword !=# &l:iskeyword
let &l:iskeyword = s:iskeyword
endif
unlet s:iskeyword
if !exists('g:markdown_minlines')
let g:markdown_minlines = 50