Open maciej-zuk opened 4 years ago
I keep running into this as well, and I've been looking for anything that resets the state for a file. I've tried things like closing and re-opening the file, renaming it, changing syntax, cutting the whole file content and pasting it back in, but the squigglies stay in the wrong place. Thank you @maciej-zuk for the suggestion to use AutomaticPackageReloader, that's the only thing that has worked so far.
After few minutes of using of the plugin it seems to lose synchronization with the LSP, highlights are misplaced and tooltips are wrong. Only restarting ST or using "Automatic package reloader" helps. Edit: Undo action doesn't help, it's stuck in wrong state.