Merge pull request #36 from ensan-hcl/fix/spell_checker

Add #else to enable compile in non-Apple platforms
This commit is contained in:
Miwa / Ensan
2024-02-19 23:20:48 +09:00
committed by GitHub

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
}
}