mirror of
https://github.com/apple/sourcekit-lsp.git
synced 2026-03-02 18:23:24 +01:00
[build-system] Rename BuildSettingsProvider->BuildSystem and fix method name
I intend to fold more things than file-settings into here, so use a more generic name. Also drop an unnecessary word from the method name.
This commit is contained in:
@@ -13,10 +13,10 @@
|
||||
import LanguageServerProtocol
|
||||
|
||||
/// Provider of build settings.
|
||||
public protocol BuildSettingsProvider {
|
||||
public protocol BuildSystem {
|
||||
|
||||
/// Returns the settings for the given url and language mode, if known.
|
||||
func settings(for: URL, language: Language) -> FileBuildSettings?
|
||||
func settings(for: URL, _ language: Language) -> FileBuildSettings?
|
||||
|
||||
// TODO: notifications when settings change.
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user