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

Wed, 25 Sep 2024 15:03:13 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Wed, 25 Sep 2024 15:03:13 -0500
changeset 1179
b0a0ba3240b5
parent 1105
f2deab330bf1
permissions
-rw-r--r--

No LSP autostart when read-only

I think nvim actually threw out 'view' argc detection, I just use -R and alias
view to it.

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 = "~/SynologyDrive/vimwiki",
    auto_tags = 1,
    auto_toc = 1,
    automatic_nested_syntaxes = 1,
  },
}

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

mercurial