mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-20 16:15:43 +02:00
plugins/jdtls: allow rawLua in settings.cmd
This commit is contained in:
parent
e83c7fc2e7
commit
e9a85eed8b
2 changed files with 15 additions and 2 deletions
|
@ -5,7 +5,7 @@ let
|
|||
in
|
||||
{
|
||||
cmd = mkNullOrOption' {
|
||||
type = with types; listOf str;
|
||||
type = with types; listOf (maybeRaw str);
|
||||
example = [
|
||||
"java"
|
||||
"-data"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, ... }:
|
||||
{ lib, pkgs, ... }:
|
||||
{
|
||||
example = {
|
||||
plugins.jdtls = {
|
||||
|
@ -40,4 +40,17 @@
|
|||
];
|
||||
};
|
||||
};
|
||||
|
||||
rawStringInCmd = {
|
||||
plugins.jdtls = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
cmd = [
|
||||
(lib.getExe pkgs.jdt-language-server)
|
||||
{ __raw = "'--jvm-arg='..vim.api.nvim_eval('g:NVIM_LOMBOK')"; }
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue