Bläddra i källkod

fix(neovim): specify complete path for local plugins

Joe 1 år sedan
förälder
incheckning
1d15f89a88

+ 3 - 3
.config/nvim/lua/plugins/command-palette.lua

@@ -1,6 +1,6 @@
 return {
     {
-        dir = "../custom/command-palette",
+        dir = vim.fn.stdpath("config") .. "/custom/command-palette",
         name = "command-palette",
         dependencies = { "nvim-telescope/telescope.nvim" },
         enabled = true,
@@ -59,7 +59,7 @@ return {
             end)
         end
     }, {
-    dir = "../../custom/bit-browser/",
+    dir = vim.fn.stdpath("config") .. "/custom/bit-browser/",
     name = "bit-browser",
     enabled = true,
     dependencies = { "command-palette" },
@@ -79,7 +79,7 @@ return {
         end
     end
 }, {
-    dir = "../custom/save-formatter",
+    dir = vim.fn.stdpath("config") .. "/custom/save-formatter",
     name = "save-formatter",
     dependencies = { "nvim-telescope/telescope.nvim", "command-palette" },
     enabled = true,

+ 1 - 1
.config/nvim/lua/plugins/floatingterminal.lua

@@ -1,6 +1,6 @@
 return {
     {
-        dir = "../custom/like-a-butterfly",
+        dir = vim.fn.stdpath("config") .. "/custom/like-a-butterfly",
         name = "like-a-butterfly",
         enabled = true,
         lazy = false,

+ 1 - 1
.config/nvim/lua/plugins/proj-conf.lua

@@ -1,5 +1,5 @@
 return {
-    dir = "../custom/proj-conf",
+    dir = vim.fn.stdpath("config") .. "/custom/proj-conf",
     name = "proj-conf",
     dependencies = {
         "nvim-telescope/telescope.nvim",

+ 9 - 4
.config/nvim/lua/plugins/style.lua

@@ -1,6 +1,6 @@
 return {
     {
-        dir = "../custom/jonathandarker",
+        dir = vim.fn.stdpath("config") .. "/custom/jonathandarker",
         name = "jonathandarker",
         lazy = false,
         enabled = true,
@@ -21,7 +21,7 @@ return {
                 "space:·"
         end
     }, {
-    dir = "../custom/status-beast",
+    dir = vim.fn.stdpath("config") .. "/custom/status-beast",
     name = "status-beast",
     dependencies = { "lewis6991/gitsigns.nvim", "bit-browser", "command-palette" },
     enabled = true,
@@ -50,7 +50,7 @@ return {
         })
     end
 }, {
-    dir = "../custom/jxdash",
+    dir = vim.fn.stdpath("config") .. "/custom/jxdash",
     name = "jxdash",
     dependencies = { "jonathandarker" },
     enabled = true,
@@ -106,5 +106,10 @@ return {
         })
         require("virt-column").setup({ char = "⁚" })
     end
-}
+},
+    {
+        'MeanderingProgrammer/render-markdown.nvim',
+        dependencies = { 'nvim-treesitter/nvim-treesitter' },
+        opts = {},
+    }
 }

+ 1 - 1
.config/nvim/lua/plugins/telescope.lua

@@ -80,7 +80,7 @@ return {
         require("telescope").load_extension("file_browser")
     end
 }, {
-    dir = "../custom/telescope-shroud",
+    dir = vim.fn.stdpath("config") .. "/custom/telescope-shroud",
     name = "telescope-shroud",
     dependencies = { "nvim-telescope/telescope.nvim",
         "command-palette",