pangloss / vim-javascript

Vastly improved Javascript indentation and syntax support in Vim.
http://www.vim.org/scripts/script.php?script_id=4452
3.8k stars 358 forks source link

Add missing lisp option to b:undo_indent #1242

Closed dkearns closed 3 years ago

amadeus commented 3 years ago

I don't have a lot of context on this, what does this fix?

dkearns commented 3 years ago

You're setting the 'lisp' option and not restoring it via the b:undo_indent variable as you are for all other options set in the plugin.

See :help undo_indent

amadeus commented 3 years ago

thanks for the context!