mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-12 18:24:35 +02:00
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
This commit is contained in:
parent
9d99d7cfdb
commit
5bc3fa6996
2 changed files with 176 additions and 0 deletions
75
tests/test-sources/plugins/by-name/quarto/default.nix
Normal file
75
tests/test-sources/plugins/by-name/quarto/default.nix
Normal file
|
@ -0,0 +1,75 @@
|
|||
{
|
||||
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" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue