mirror of
https://github.com/dwinkler1/nvimConfig.git
synced 2026-02-19 22:40:57 -05:00
quarto setup
This commit is contained in:
parent
40050f2aee
commit
87df1b6e1d
1 changed files with 3 additions and 2 deletions
|
|
@ -317,12 +317,13 @@ later(function()
|
|||
local gen_loader = snippets.gen_loader
|
||||
local lang_patterns = {
|
||||
markdown_inline = { "quarto.json" },
|
||||
markdown = { "quarto.json" },
|
||||
}
|
||||
snippets.setup({
|
||||
snippets = {
|
||||
-- Load custom file with global snippets first (adjust for Windows)
|
||||
gen_loader.from_file(vim.fn.stdpath('config') .. "/snippets/global.json"),
|
||||
gen_loader.from_file("../snippets/quarto.json"),
|
||||
-- gen_loader.from_file(vim.fn.stdpath('config') .. "/snippets/global.json"),
|
||||
-- gen_loader.from_file("../snippets/quarto.json"),
|
||||
|
||||
-- Load snippets based on current language by reading files from
|
||||
-- "snippets/" subdirectories from 'runtimepath' directories.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue