quarto setup

This commit is contained in:
Daniel Winkler 2026-01-31 17:28:09 +11:00
commit 765d53a1b1
5 changed files with 44 additions and 4 deletions

View file

@ -300,6 +300,9 @@ now_if_args(function()
-- Use explicit buffer + filetype to avoid any ambiguity
local ok = pcall(vim.treesitter.start, args.buf, args.match)
vim.bo.syntax = 'on'
vim.bo.indentexpr = "v:lua.require'nvim-treesitter'.indentexpr()"
vim.wo[0][0].foldexpr = 'v:lua.vim.treesitter.foldexpr()'
vim.wo[0][0].foldmethod = 'expr'
end,
})
@ -309,6 +312,7 @@ now_if_args(function()
return
end
vim.g.no_plugin_maps = true
nto.setup({
move = {
set_jumps = true,