Add #else to enable compile in non-Apple platforms

This commit is contained in:
Miwa / Ensan
2024-02-19 14:12:25 +00:00
parent b02f6eb899
commit a6b5fec881

View File

@@ -24,6 +24,8 @@ import AppKit
return checker.completions(forPartialWordRange: range, in: string, language: language)
#elseif os(macOS)
return checker.completions(forPartialWordRange: range, in: string, language: language, inSpellDocumentWithTag: 0)
#else
return nil
#endif
}
}