vim-node-inspect
vim-node-inspect copied to clipboard
Always populate watches key
As mentioned in the commit note, this shouldn't usually be a problem, but I reloaded nodeinspect.vim when doing other debugging and started getting an error about the watches key missing. Since we do access it without checking, I figure it might as well just set watches to an empty object from file init.
While here I also noticed that there was an unnecessary loop, presumably left over from earlier refactoring, and also some spacing inconsistency, so I fixed up the spacing and added modelines to hopefully keep things more consistent moving forward.