use classic plugin auto-load path

Sun, 05 May 2024 13:58:24 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Sun, 05 May 2024 13:58:24 -0500
changeset 1160
28e64ed03c25
parent 1159
9a19621f294c
child 1161
2543467f42da

use classic plugin auto-load path

.config/nvim/init.lua file | annotate | diff | comparison | revisions
.config/nvim/lua/local/encrypted.lua file | annotate | diff | comparison | revisions
.config/nvim/lua/local/tig.lua file | annotate | diff | comparison | revisions
.config/nvim/plugin/gpg-encrypted.lua file | annotate | diff | comparison | revisions
.config/nvim/plugin/tig.lua file | annotate | diff | comparison | revisions
--- a/.config/nvim/init.lua
+++ b/.config/nvim/init.lua
@@ -7,9 +7,6 @@ require("config.lsp")
 require("config.autocmds")
 require("config.commands")
 
-require("local.tig")
-require("local.encrypted")
-
 -- >> Builtin
 g.netrw_altfile = 1
 g.netrw_use_errorwindow = 0
rename from .config/nvim/lua/local/encrypted.lua
rename to .config/nvim/plugin/gpg-encrypted.lua
--- a/.config/nvim/lua/local/encrypted.lua
+++ b/.config/nvim/plugin/gpg-encrypted.lua
@@ -10,7 +10,7 @@ local function autocmd(event, opts)
 end
 
 autocmd({ "BufReadPre", "FileReadPre" }, {
-  command = [[ setl noswapfile noundofile nobackup viminfo= ]],
+  command = [[ setl noswapfile noundofile nobackup shada= ]],
 })
 
 autocmd("BufReadPost", function(_)
rename from .config/nvim/lua/local/tig.lua
rename to .config/nvim/plugin/tig.lua

mercurial