This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sublime, sublime_plugin | |
import re | |
import threading | |
# This is an example plugin that simulates a completion interaction with an | |
# LSP server, while correctly apply any edits that are received from the | |
# server. This is trickier than you'd expect, due to the async nature the | |
# server communication, the async auto complete system in Sublime Text, and | |
# the use of row+col offsets within the LSP protocol. |