feat(plugins/astrocore): fully configure as in astronvim
This commit is contained in:
parent
455cb6f839
commit
519e85f142
8 changed files with 1215 additions and 12 deletions
30
plugins/astrocore/rooter.nix
Normal file
30
plugins/astrocore/rooter.nix
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
# https://github.com/AstroNvim/AstroNvim/blob/v4.7.7/lua/astronvim/plugins/_astrocore.lua#L62-L72
|
||||
{
|
||||
rooter = {
|
||||
enabled = true;
|
||||
autochdir = false;
|
||||
notify = false;
|
||||
scope = "global";
|
||||
|
||||
detector = [
|
||||
"lsp"
|
||||
[
|
||||
".git"
|
||||
"_darcs"
|
||||
".hg"
|
||||
".bzr"
|
||||
".svn"
|
||||
]
|
||||
[
|
||||
"lua"
|
||||
"MakeFile"
|
||||
"package.json"
|
||||
]
|
||||
];
|
||||
|
||||
ignore = {
|
||||
dirs = {};
|
||||
servers = {};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue