diff options
author | jgmdev <jgmdev@gmail.com> | 2022-09-16 10:49:46 -0400 |
---|---|---|
committer | jgmdev <jgmdev@gmail.com> | 2022-09-16 10:49:46 -0400 |
commit | 07c0d2cfc15c8254bc3e66c88b9e3f33e7ee9e32 (patch) | |
tree | d8b5ceed4842ea0a052aed5809328cc253c8e641 /plugins/spellcheck.lua | |
parent | f7930c292ec306e72ad6fe2775a71df06ddca895 (diff) | |
download | lite-xl-plugins-07c0d2cfc15c8254bc3e66c88b9e3f33e7ee9e32.tar.gz lite-xl-plugins-07c0d2cfc15c8254bc3e66c88b9e3f33e7ee9e32.zip |
spellcheck: updated config spec to support file type
Diffstat (limited to 'plugins/spellcheck.lua')
-rw-r--r-- | plugins/spellcheck.lua | 3 |
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() |