mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-10 01:04:34 +02:00
plugins/lazydev: init
This commit is contained in:
parent
35d6c12626
commit
8f7600aca0
2 changed files with 223 additions and 0 deletions
56
tests/test-sources/plugins/by-name/lazydev/default.nix
Normal file
56
tests/test-sources/plugins/by-name/lazydev/default.nix
Normal file
|
@ -0,0 +1,56 @@
|
|||
{
|
||||
empty = {
|
||||
plugins.lazydev.enable = true;
|
||||
};
|
||||
|
||||
defaults = {
|
||||
plugins = {
|
||||
cmp.enable = true;
|
||||
|
||||
lazydev = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
enabled.__raw = ''
|
||||
function(root_dir)
|
||||
return vim.g.lazydev_enabled == nil and true or vim.g.lazydev_enabled
|
||||
end
|
||||
'';
|
||||
integrations = {
|
||||
lspconfig = true;
|
||||
cmp = true;
|
||||
coq = false;
|
||||
};
|
||||
library.__raw = "{}";
|
||||
runtime.__raw = "vim.env.VIMRUNTIME";
|
||||
};
|
||||
};
|
||||
|
||||
lsp.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
example = {
|
||||
plugins.lazydev = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
enabled.__raw = ''
|
||||
function(root_dir)
|
||||
return vim.g.lazydev_enabled == nil and true or vim.g.lazydev_enabled
|
||||
end
|
||||
'';
|
||||
library = [
|
||||
"~/projects/my-awesome-lib"
|
||||
"lazy.nvim"
|
||||
"LazyVim"
|
||||
{
|
||||
path = "LazyVim";
|
||||
words = [ "LazyVim" ];
|
||||
}
|
||||
];
|
||||
runtime.__raw = "vim.env.VIMRUNTIME";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue