-*options.txt* For Vim version 9.2. Last change: 2026 May 08
+*options.txt* For Vim version 9.2. Last change: 2026 May 10
VIM REFERENCE MANUAL by Bram Moolenaar
'filetype'
'foldcolumn'
'foldenable'
+ 'foldmarker'
'foldmethod'
'modifiable'
'readonly'
set modeline modelinestrict
" Whitelisted options should work
- call writefile(['vim: set ts=2 sw=4 et :'], 'Xmodeline_strict', 'D')
+ call writefile(['vim: set ts=2 sw=4 et foldmarker=[,]:'], 'Xmodeline_strict', 'D')
split Xmodeline_strict
call assert_equal(2, &ts)
call assert_equal(4, &sw)
call assert_equal(1, &et)
+ call assert_equal('[,]', &foldmarker)
bwipe!
" 'filetype' should work