mirror of
https://github.com/nix-community/nixvim.git
synced 2025-11-13 14:02:46 +01:00
56 lines
1.2 KiB
Nix
56 lines
1.2 KiB
Nix
{
|
|
empty = {
|
|
plugins.project-nvim = {
|
|
enable = true;
|
|
|
|
# The default datapath is unwritable in the sandbox
|
|
settings.datapath.__raw = "os.getenv('TMPDIR')";
|
|
};
|
|
};
|
|
|
|
telescopeEnabled = {
|
|
plugins.telescope = {
|
|
enable = true;
|
|
};
|
|
plugins.project-nvim = {
|
|
enable = true;
|
|
enableTelescope = true;
|
|
|
|
# The default datapath is unwritable in the sandbox
|
|
settings.datapath.__raw = "os.getenv('TMPDIR')";
|
|
};
|
|
plugins.web-devicons.enable = true;
|
|
};
|
|
|
|
defaults = {
|
|
# Attempts at writing to `datapath`:
|
|
# ERROR: Invalid `datapath`, reverting to default.
|
|
test.runNvim = false;
|
|
|
|
plugins.project-nvim = {
|
|
enable = true;
|
|
settings = {
|
|
manual_mode = false;
|
|
detection_methods = [
|
|
"lsp"
|
|
"pattern"
|
|
];
|
|
patterns = [
|
|
".git"
|
|
"_darcs"
|
|
".hg"
|
|
".bzr"
|
|
".svn"
|
|
"Makefile"
|
|
"package.json"
|
|
];
|
|
ignore_lsp.__empty = { };
|
|
exclude_dirs.__empty = { };
|
|
show_hidden = false;
|
|
silent_chdir = true;
|
|
scope_chdir = "global";
|
|
datapath.__raw = "vim.fn.stdpath('data')";
|
|
};
|
|
};
|
|
};
|
|
}
|