plugins/nvim-jdtls: allow lua on nvim-jdtls.data

Make it possible to set data directory with lua, so it can be project-dependent.
This commit is contained in:
jacek szymanski 2024-08-25 17:11:45 +02:00
parent 8234ee85ea
commit bb8ecad13c

View file

@ -44,7 +44,7 @@ in
''; '';
data = mkOption { data = mkOption {
type = types.nullOr types.str; type = helpers.nixvimTypes.maybeRaw (with types; nullOr str);
default = null; default = null;
example = "/home/YOUR_USERNAME/.cache/jdtls/workspace"; example = "/home/YOUR_USERNAME/.cache/jdtls/workspace";
description = '' description = ''