Skip to content

Commit

Permalink
lsp: Don't actually import the server
Browse files Browse the repository at this point in the history
It's only used for type checking so there's no need to do it at runtime
  • Loading branch information
alcarney committed Feb 25, 2024
1 parent 340bea5 commit 3936891
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from __future__ import annotations

from esbonio.server import EsbonioLanguageServer
import typing

from .client import ClientState
from .client import SphinxClient
Expand All @@ -10,6 +10,10 @@
from .config import SphinxConfig
from .manager import SphinxManager

if typing.TYPE_CHECKING:
from esbonio.server import EsbonioLanguageServer


__all__ = [
"ClientState",
"SphinxClient",
Expand Down

0 comments on commit 3936891

Please sign in to comment.