mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-24 09:48:42 +02:00
plugins/project-nvim: add option descriptions and tests
This commit is contained in:
parent
a13638c0e8
commit
ad5feeba7b
2 changed files with 94 additions and 66 deletions
21
tests/test-sources/plugins/utils/project-nvim.nix
Normal file
21
tests/test-sources/plugins/utils/project-nvim.nix
Normal file
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
empty = {
|
||||
plugins.project-nvim.enable = true;
|
||||
};
|
||||
|
||||
defaults = {
|
||||
plugins.project-nvim = {
|
||||
enable = true;
|
||||
|
||||
manualMode = false;
|
||||
detectionMethods = ["lsp" "pattern"];
|
||||
patterns = [".git" "_darcs" ".hg" ".bzr" ".svn" "Makefile" "package.json"];
|
||||
ignoreLsp = [];
|
||||
excludeDirs = [];
|
||||
showHidden = false;
|
||||
silentChdir = true;
|
||||
scopeChdir = "global";
|
||||
dataPath.__raw = "vim.fn.stdpath('data')";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue