Skip to content

Commit ea75619

Browse files
committed
Fix bundled custom dictionary loading
1 parent 0e6eae3 commit ea75619

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
- Fix type checking when there is a type error.
2222
- Fix type checking for varbit game variables.
2323
- Fix parsing trailing tabs in .sym file format.
24+
- Fix bundled custom dictionary loading.
2425

2526
## [1.2.0] - 2023-08-18
2627

src/main/kotlin/io/runescript/plugin/ide/spellchecker/RsBundledDictionaryProvider.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ package io.runescript.plugin.ide.spellchecker
33
import com.intellij.spellchecker.BundledDictionaryProvider
44

55
class RsBundledDictionaryProvider : BundledDictionaryProvider {
6-
override fun getBundledDictionaries() = arrayOf("runescript.dic")
6+
override fun getBundledDictionaries() = arrayOf("/runescript.dic")
77
}

src/main/resources/runescript.dic

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
runescript
22
clientscript
3-
proc
3+
proc
4+
setpos
5+
setsize
6+
iftype
7+
ontimer

0 commit comments

Comments
 (0)