mirror of
https://github.com/nix-community/nixvim.git
synced 2025-11-25 11:49:40 +01:00
treewide(docs): use literalLua instead of __raw in option examples
This commit is contained in:
parent
5aae2b9fcd
commit
5ddfbdf1c2
23 changed files with 54 additions and 57 deletions
|
|
@ -20,11 +20,9 @@ in
|
|||
'';
|
||||
};
|
||||
|
||||
root_dir =
|
||||
defaultNullOpts.mkStr { __raw = "require('jdtls.setup').find_root({'.git', 'mvnw', 'gradlew'})"; }
|
||||
''
|
||||
Function to identify the root directory from which to run the language server.
|
||||
'';
|
||||
root_dir = defaultNullOpts.mkStr (lib.nixvim.literalLua "require('jdtls.setup').find_root({'.git', 'mvnw', 'gradlew'})") ''
|
||||
Function to identify the root directory from which to run the language server.
|
||||
'';
|
||||
|
||||
settings = mkNullOrOption (with types; attrsOf anything) ''
|
||||
Here you can configure `eclipse.jdt.ls` specific settings.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue