mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-13 22:29:09 +02:00
plugins/quarto: fix by enforcing enabling otter when settings.codeRunner is enabled
See https://github.com/quarto-dev/quarto-nvim/issues/187
This commit is contained in:
parent
e76ebb7819
commit
550c2573bb
3 changed files with 54 additions and 26 deletions
|
@ -1,6 +1,13 @@
|
|||
{
|
||||
empty = {
|
||||
plugins.quarto.enable = true;
|
||||
plugins = {
|
||||
quarto.enable = true;
|
||||
otter.enable = true;
|
||||
treesitter = {
|
||||
enable = true;
|
||||
settings.highlight.enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
defaults = {
|
||||
|
@ -39,36 +46,44 @@
|
|||
};
|
||||
|
||||
example = {
|
||||
plugins.quarto = {
|
||||
enable = true;
|
||||
plugins = {
|
||||
otter.enable = true;
|
||||
treesitter = {
|
||||
enable = true;
|
||||
settings.highlight.enable = true;
|
||||
};
|
||||
|
||||
settings = {
|
||||
debug = true;
|
||||
closePreviewOnExit = false;
|
||||
lspFeatures = {
|
||||
enabled = true;
|
||||
chunks = "curly";
|
||||
languages = [
|
||||
"r"
|
||||
"python"
|
||||
"julia"
|
||||
];
|
||||
diagnostics = {
|
||||
quarto = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
debug = true;
|
||||
closePreviewOnExit = false;
|
||||
lspFeatures = {
|
||||
enabled = true;
|
||||
triggers = [ "BufWritePost" ];
|
||||
chunks = "curly";
|
||||
languages = [
|
||||
"r"
|
||||
"python"
|
||||
"julia"
|
||||
];
|
||||
diagnostics = {
|
||||
enabled = true;
|
||||
triggers = [ "BufWritePost" ];
|
||||
};
|
||||
completion = {
|
||||
enabled = true;
|
||||
};
|
||||
};
|
||||
completion = {
|
||||
codeRunner = {
|
||||
enabled = true;
|
||||
default_method = "molten";
|
||||
ft_runners = {
|
||||
python = "molten";
|
||||
};
|
||||
never_run = [ "yaml" ];
|
||||
};
|
||||
};
|
||||
codeRunner = {
|
||||
enabled = true;
|
||||
default_method = "molten";
|
||||
ft_runners = {
|
||||
python = "molten";
|
||||
};
|
||||
never_run = [ "yaml" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue