mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
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
75 lines
1.4 KiB
Nix
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" ];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|