Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@

# dont ignore anything in blarify/vendor

__pycache__/
.venv/
.env
Expand All @@ -10,4 +13,7 @@ dist/
fil-result/
example
delete.py
*.json
*.json

!blarify/vendor/**/*.json

7 changes: 4 additions & 3 deletions blarify/code_references/lsp_helper.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from typing import Optional

from multilspy import SyncLanguageServer
from blarify.vendor.multilspy import SyncLanguageServer

from blarify.utils.path_calculator import PathCalculator

Expand All @@ -16,8 +16,9 @@
GoDefinitions,
)

from multilspy.multilspy_config import MultilspyConfig
from multilspy.multilspy_logger import MultilspyLogger
from blarify.vendor.multilspy.multilspy_config import MultilspyConfig
from blarify.vendor.multilspy.multilspy_logger import MultilspyLogger


import logging

Expand Down
1 change: 1 addition & 0 deletions blarify/vendor/multilspy.pyi
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from multilspy import *
21 changes: 21 additions & 0 deletions blarify/vendor/multilspy/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) Microsoft Corporation.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE
8 changes: 8 additions & 0 deletions blarify/vendor/multilspy/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
"""
This module contains the multilspy API
"""

from . import multilspy_types as Types
from .language_server import LanguageServer, SyncLanguageServer

__all__ = ["LanguageServer", "Types", "SyncLanguageServer"]
Loading