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

Sat, 11 Mar 2023 01:51:23 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Sat, 11 Mar 2023 01:51:23 -0500
changeset 1075
3b88450bda15
parent 1068
537a428597b5
child 1105
f2deab330bf1
permissions
-rw-r--r--

port custom autocmds to lua

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 {
1064
fcfa295076a8 Apply stylua
Meredith Howard <mhoward@roomag.org>
parents: 1022
diff changeset
15 path = "~/Documents/SpiderOak Hive/vimwiki",
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