aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/spellcheck.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/spellcheck.lua b/plugins/spellcheck.lua
index cd3e0f1..f55cf1f 100644
--- a/plugins/spellcheck.lua
+++ b/plugins/spellcheck.lua
@@ -148,7 +148,8 @@ config.plugins.spellcheck.config_spec = {
label = "Dictionary File",
description = "Path to a text file that contains a list of dictionary words.",
path = "dictionary_file",
- type = "string",
+ type = "file",
+ exists = true,
default = platform_dictionary_file,
on_apply = function()
load_dictionary()