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

Thu, 11 Apr 2024 13:19:24 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Thu, 11 Apr 2024 13:19:24 -0400
changeset 1145
beb170aa6789
parent 1105
f2deab330bf1
permissions
-rw-r--r--

add .luarc.jsonc

1022
d509e282ae10 More nvim config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
1 local g = vim.g
d509e282ae10 More nvim config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
2
1064
fcfa295076a8 Apply stylua
Meredith Howard <mhoward@roomag.org>
parents: 1022
diff changeset
3 g.vimwiki_auto_chdir = 1
1022
d509e282ae10 More nvim config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
4 g.vimwiki_auto_header = 1
1064
fcfa295076a8 Apply stylua
Meredith Howard <mhoward@roomag.org>
parents: 1022
diff changeset
5 g.vimwiki_ext2syntax = { [vim.type_idx] = vim.types.dictionary }
1022
d509e282ae10 More nvim config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
6
d509e282ae10 More nvim config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
7 g.vimwiki_list = {
d509e282ae10 More nvim config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
8 {
1064
fcfa295076a8 Apply stylua
Meredith Howard <mhoward@roomag.org>
parents: 1022
diff changeset
9 path = "~/vimwiki/",
fcfa295076a8 Apply stylua
Meredith Howard <mhoward@roomag.org>
parents: 1022
diff changeset
10 auto_tags = 1,
fcfa295076a8 Apply stylua
Meredith Howard <mhoward@roomag.org>
parents: 1022
diff changeset
11 auto_toc = 1,
fcfa295076a8 Apply stylua
Meredith Howard <mhoward@roomag.org>
parents: 1022
diff changeset
12 automatic_nested_syntaxes = 1,
1022
d509e282ae10 More nvim config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
13 },
d509e282ae10 More nvim config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
14 {
1105
f2deab330bf1 Switch vimwiki to SynologyDrive
Meredith Howard <mhoward@roomag.org>
parents: 1068
diff changeset
15 path = "~/SynologyDrive/vimwiki",
1064
fcfa295076a8 Apply stylua
Meredith Howard <mhoward@roomag.org>
parents: 1022
diff changeset
16 auto_tags = 1,
fcfa295076a8 Apply stylua
Meredith Howard <mhoward@roomag.org>
parents: 1022
diff changeset
17 auto_toc = 1,
fcfa295076a8 Apply stylua
Meredith Howard <mhoward@roomag.org>
parents: 1022
diff changeset
18 automatic_nested_syntaxes = 1,
fcfa295076a8 Apply stylua
Meredith Howard <mhoward@roomag.org>
parents: 1022
diff changeset
19 },
1022
d509e282ae10 More nvim config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
20 }
d509e282ae10 More nvim config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
21
d509e282ae10 More nvim config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
22 return {
1068
537a428597b5 tweak lazy loading
Meredith Howard <mhoward@roomag.org>
parents: 1064
diff changeset
23 { "vimwiki/vimwiki", event = "VeryLazy" },
1022
d509e282ae10 More nvim config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
24 }

mercurial