" From https://sanctum.geek.nz/cgit/dotfiles.git/tree/vim/autoload/option.vim " Split a comma-separated option value into parts, accounting for escaped " commas and leading whitespace as Vim itself does internally " function! option#Split(expr, ...) abort if a:0 > 1 echoerr 'Too many arguments' endif let keepempty = a:0 ? a:1 : 0 let parts = split(a:expr, '\\\@