.config/nvim/lua/plugins/etc.lua

Mon, 06 Mar 2023 23:33:14 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Mon, 06 Mar 2023 23:33:14 -0500
changeset 1068
537a428597b5
parent 1064
fcfa295076a8
child 1105
f2deab330bf1
permissions
-rw-r--r--

tweak lazy loading

local g = vim.g

g.vimwiki_auto_chdir = 1
g.vimwiki_auto_header = 1
g.vimwiki_ext2syntax = { [vim.type_idx] = vim.types.dictionary }

g.vimwiki_list = {
  {
    path = "~/vimwiki/",
    auto_tags = 1,
    auto_toc = 1,
    automatic_nested_syntaxes = 1,
  },
  {
    path = "~/Documents/SpiderOak Hive/vimwiki",
    auto_tags = 1,
    auto_toc = 1,
    automatic_nested_syntaxes = 1,
  },
}

return {
  { "vimwiki/vimwiki", event = "VeryLazy" },
}

mercurial