From 07c0d2cfc15c8254bc3e66c88b9e3f33e7ee9e32 Mon Sep 17 00:00:00 2001 From: jgmdev Date: Fri, 16 Sep 2022 10:49:46 -0400 Subject: spellcheck: updated config spec to support file type --- plugins/spellcheck.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'plugins') 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() -- cgit v1.2.3