nix-community.nixvim/tests/test-sources/plugins/by-name/quarto/default.nix
bpatel347 5bc3fa6996 plugins/quarto: init
Use neovim-plugin.mkNeovimPlugin and move quarto-nvim to quarto

Rename tests to match convention

Passing tests locally, add required dependencies

Utilize `let` - `in` block

Remove extraPlugins

plugins/quarto: init

plugin/quarto: init

plugins/quarto: init

plugins/quarto: init
2024-11-17 22:51:48 +00:00

75 lines
1.4 KiB
Nix

{
empty = {
plugins.quarto.enable = true;
};
defaults = {
plugins.quarto = {
enable = true;
settings = {
debug = false;
closePreviewOnExit = true;
lspFeatures = {
enabled = true;
chunks = "curly";
languages = [
"r"
"python"
"julia"
"bash"
"html"
];
diagnostics = {
enabled = true;
triggers = [ "BufWritePost" ];
};
completion = {
enabled = true;
};
};
codeRunner = {
enabled = false;
default_method = null;
ft_runners = { };
never_run = [ "yaml" ];
};
};
};
};
example = {
plugins.quarto = {
enable = true;
settings = {
debug = true;
closePreviewOnExit = false;
lspFeatures = {
enabled = true;
chunks = "curly";
languages = [
"r"
"python"
"julia"
];
diagnostics = {
enabled = true;
triggers = [ "BufWritePost" ];
};
completion = {
enabled = true;
};
};
codeRunner = {
enabled = true;
default_method = "molten";
ft_runners = {
python = "molten";
};
never_run = [ "yaml" ];
};
};
};
};
}