From fb277a755d8370103cc7cfcc848034d7be518ef8 Mon Sep 17 00:00:00 2001 From: Daniel Winkler Date: Sat, 31 Jan 2026 16:30:27 +1100 Subject: [PATCH] quarto improvements --- plugin/21_datascience.lua | 3 ++- plugin/22_languages.lua | 2 +- plugin/23_editor.lua | 4 +++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/plugin/21_datascience.lua b/plugin/21_datascience.lua index 2c0786d..118ee20 100644 --- a/plugin/21_datascience.lua +++ b/plugin/21_datascience.lua @@ -87,10 +87,11 @@ later(function() require("quarto").setup({ lspFeatures = { enabled = true, + chunks = "curly", languages = { "r", "python", "julia" }, diagnostics = { enabled = true, - triggers = { "BufWrite" }, + triggers = { "BufWritePost" }, }, completion = { enabled = true, diff --git a/plugin/22_languages.lua b/plugin/22_languages.lua index 9c0ef35..1983b25 100644 --- a/plugin/22_languages.lua +++ b/plugin/22_languages.lua @@ -32,7 +32,7 @@ now_if_args(function() add("render-markdown.nvim") require('render-markdown').setup({ -- completions = { blink = { enabled = true } }, - file_types = { 'markdown', 'quarto', 'rmd', 'codecompanion', }, + file_types = { 'markdown', 'codecompanion', }, link = { wiki = { body = function(ctx) diff --git a/plugin/23_editor.lua b/plugin/23_editor.lua index 8a95f7f..01e0f0e 100644 --- a/plugin/23_editor.lua +++ b/plugin/23_editor.lua @@ -24,7 +24,9 @@ later(function() quarto = { "injected" }, }, - lsp_format = "fallback", + default_format_opts = { + lsp_format = "fallback", + }, formatters = { my_styler = {