Skip to content

Commit

Permalink
Use LSP 0.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmassicotte committed Jan 14, 2024
1 parent 91a3e47 commit 679c1c0
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 9 deletions.
3 changes: 2 additions & 1 deletion Package.resolved
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/ChimeHQ/LanguageServerProtocol",
"state" : {
"revision" : "a355005e6c00775bb567e1d5927a4d57423474c9"
"revision" : "9ae95d89b1a3f2c5da98adea29637c519a7e3c6c",
"version" : "0.12.0"
}
},
{
Expand Down
5 changes: 2 additions & 3 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ let package = Package(
targets: ["LanguageClient"]),
],
dependencies: [
.package(url: "https://github.com/ChimeHQ/LanguageServerProtocol", from: "0.11.0"),
.package(url: "https://github.com/ChimeHQ/LanguageServerProtocol", from: "0.12.0"),
.package(url: "https://github.com/Frizlab/FSEventsWrapper", from: "2.1.0"),
.package(url: "https://github.com/ChimeHQ/GlobPattern", from: "0.1.1"),
.package(url: "https://github.com/ChimeHQ/JSONRPC", from: "0.9.0"),
Expand All @@ -30,8 +30,7 @@ let package = Package(
.product(name: "FSEventsWrapper", package: "FSEventsWrapper", condition: .when(platforms: [.macOS])),
.product(name: "GlobPattern", package: "GlobPattern", condition: .when(platforms: [.macOS])),
"JSONRPC",
.product(name: "LanguageServerProtocol", package: "LanguageServerProtocol"),
.product(name: "LSPClient", package: "LanguageServerProtocol"),
"LanguageServerProtocol",
.product(name: "ProcessEnv", package: "ProcessEnv", condition: .when(platforms: [.macOS])),
"Queue",
"Semaphore",
Expand Down
1 change: 0 additions & 1 deletion Sources/LanguageClient/InitializingServer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import os.log

import Semaphore
import LanguageServerProtocol
import LSPClient

enum InitializingServerError: Error {
case noStateProvider
Expand Down
1 change: 0 additions & 1 deletion Sources/LanguageClient/RestartingServer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ let NSEC_PER_SEC: UInt64 = 1000000000

import Semaphore
import LanguageServerProtocol
import LSPClient

public enum RestartingServerError: Error {
case noProvider
Expand Down
1 change: 0 additions & 1 deletion Sources/LanguageClient/Server+Shutdown.swift
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import Foundation

import LanguageServerProtocol
import LSPClient

extension ServerConnection {
/// This function will always attempt to decode "null".
Expand Down
1 change: 0 additions & 1 deletion Sources/LanguageClient/StatefulServer.swift
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import Foundation

import LanguageServerProtocol
import LSPClient

extension ServerConnection {
public typealias CapabilitiesSequence = AsyncStream<ServerCapabilities>
Expand Down
1 change: 0 additions & 1 deletion Tests/LanguageClientTests/ServerTests.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import XCTest
import LanguageServerProtocol
import LSPClient
import LanguageClient

enum ServerTestError: Error {
Expand Down

0 comments on commit 679c1c0

Please sign in to comment.