vim-node-inspect icon indicating copy to clipboard operation
vim-node-inspect copied to clipboard

Always populate watches key

Open cincodenada opened this issue 4 years ago • 0 comments

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.

cincodenada avatar Nov 17 '21 20:11 cincodenada