AutoYADM commit: 2025-01-21 18:50:06

This commit is contained in:
Daniel Fichtinger 2025-01-21 18:50:06 -05:00
parent 49d262abf9
commit ffd0cce09f
2 changed files with 14 additions and 7 deletions

View file

@ -11,13 +11,13 @@ return {
opts = { opts = {
sources = { sources = {
-- default = { "lsp", "snippets", "path", "markdown", "lazydev", "buffer" }, -- default = { "lsp", "snippets", "path", "markdown", "lazydev", "buffer" },
-- default = { "lsp", "snippets", "path", "lazydev", "buffer", "orgmode" }, default = { "lsp", "snippets", "path", "lazydev", "buffer", "orgmode" },
default = function() -- default = function()
if vim.bo.filetype == "org" then -- if vim.bo.filetype == "org" then
return { "orgmode" } -- return { "orgmode", "snippets", path, }
end -- end
return { "lsp", "snippets", "path", "lazydev", "buffer", "orgmode" } -- return { "lsp", "snippets", "path", "lazydev", "buffer", "orgmode" }
end, -- end,
providers = { providers = {
-- markdown = { name = "RenderMarkdown", module = "render-markdown.integ.blink" }, -- markdown = { name = "RenderMarkdown", module = "render-markdown.integ.blink" },
orgmode = { orgmode = {

View file

@ -0,0 +1,7 @@
{
"src": {
"description": "#+BEGIN_SRC ... block",
"prefix": "src",
"body": ["#+BEGIN_SRC ${1:lang}", "$0", "#+END_SRC"]
}
}