aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorjgmdev <jgmdev@gmail.com>2022-09-16 10:49:46 -0400
committerjgmdev <jgmdev@gmail.com>2022-09-16 10:49:46 -0400
commit07c0d2cfc15c8254bc3e66c88b9e3f33e7ee9e32 (patch)
treed8b5ceed4842ea0a052aed5809328cc253c8e641 /plugins
parentf7930c292ec306e72ad6fe2775a71df06ddca895 (diff)
downloadlite-xl-plugins-07c0d2cfc15c8254bc3e66c88b9e3f33e7ee9e32.tar.gz
lite-xl-plugins-07c0d2cfc15c8254bc3e66c88b9e3f33e7ee9e32.zip
spellcheck: updated config spec to support file type
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()