Skip to content

Commit

Permalink
feat: Use tarts lib for lsp manager
Browse files Browse the repository at this point in the history
  • Loading branch information
tomlin7 committed Feb 6, 2024
1 parent f7f0ee3 commit db1690b
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion biscuit/core/components/lsp/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import os
import typing

import sansio_lsp_client as lsp
import tarts as lsp

from .client import LangServerClient

Expand Down
2 changes: 1 addition & 1 deletion biscuit/core/components/lsp/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import typing
from pathlib import Path

import sansio_lsp_client as lsp
import tarts as lsp

from .data import *
from .handler import EventHandler
Expand Down
2 changes: 1 addition & 1 deletion biscuit/core/components/lsp/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import dataclasses
from typing import List, Optional, Union

import sansio_lsp_client as lsp
import tarts as lsp

# Requests

Expand Down
2 changes: 1 addition & 1 deletion biscuit/core/components/lsp/handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import re
import typing

import sansio_lsp_client as lsp
import tarts as lsp

from .data import *
from .utils import *
Expand Down
2 changes: 1 addition & 1 deletion biscuit/core/components/lsp/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
from typing import Iterator, Optional
from urllib.request import url2pathname

import sansio_lsp_client as lsp
import tarts as lsp


def get_completion_item_doc(item: lsp.CompletionItem) -> str:
Expand Down
2 changes: 1 addition & 1 deletion biscuit/core/components/views/sidebar/outline/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import typing

import sansio_lsp_client as lsp
import tarts as lsp

from biscuit.core.components.floating.palette import ActionSet

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import typing
from tkinter import ttk

import sansio_lsp_client as lsp
import tarts as lsp

from biscuit.core.components.floating.palette.actionset import ActionSet
from biscuit.core.components.utils import Frame
Expand Down
2 changes: 1 addition & 1 deletion biscuit/core/components/views/sidebar/outline/tree.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import tkinter as tk

import sansio_lsp_client as lsp
import tarts as lsp

from biscuit.core.components.utils.codicon import get_codicon

Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ requests
pyperclip
tkinterweb
mistune
sansio_lsp_client
tarts
chardet
pywinpty; platform_system == "Windows"
ptyprocess; platform_system != "Windows"

0 comments on commit db1690b

Please sign in to comment.