farmergreg/vim-lastplace

Save lastplace_ignore and lastplace_ignore_buftype as list instead of string

astier opened this issue · 1 comments

Hi. Just a minor thing I noticed in your code. You are storing lastplace_ignore and lastplace_ignore_buftype as strings instead of a list. If you would store them as a list you wouldn't need to call split() on them here:

if index(split(g:lastplace_ignore_buftype, ","), &buftype) != -1

Hi @astier, it's too late to change this now because it would not be backwards compatible. thanks for your input!