summaryrefslogtreecommitdiff
path: root/pkgs/custom-neovim/config
diff options
context:
space:
mode:
authortriethyl <triethylammonium@pm.me>2025-09-16 10:23:36 -0400
committertriethyl <triethylammonium@pm.me>2025-09-16 10:23:36 -0400
commitf93f626d04970ab6f3db7744e65ab70d88ecb12e (patch)
tree3e91a36ed7ef796fe69c231a1c41e01fb6f778f5 /pkgs/custom-neovim/config
parentdcbfe75500212c9d0e5a422d6e10eb356e1da28b (diff)
homelab: added fail2ban to ssh
Diffstat (limited to 'pkgs/custom-neovim/config')
-rw-r--r--pkgs/custom-neovim/config/lua/plugins/markdown.lua39
1 files changed, 39 insertions, 0 deletions
diff --git a/pkgs/custom-neovim/config/lua/plugins/markdown.lua b/pkgs/custom-neovim/config/lua/plugins/markdown.lua
new file mode 100644
index 0000000..56f5e18
--- /dev/null
+++ b/pkgs/custom-neovim/config/lua/plugins/markdown.lua
@@ -0,0 +1,39 @@
+return {
+ {
+ "render-markdown.nvim",
+ lazy = false,
+ ft = "markdown",
+ before = function ()
+ vim.cmd.packadd "mini.icons"
+ end,
+ after = function ()
+ require('render-markdown').setup({})
+ end
+ },
+ {
+ "markdown.nvim",
+ lazy = true,
+ ft = "markdown",
+ after = function ()
+ require("markdown").setup {}
+ end
+ },
+ {
+ "peek.nvim",
+ lazy = true,
+ ft = "markdown",
+ after = function()
+ require("peek").setup()
+ vim.api.nvim_create_user_command("PeekOpen", require("peek").open, {})
+ vim.api.nvim_create_user_command("PeekClose", require("peek").close, {})
+ end,
+ },
+ {
+ "vim-table-mode",
+ lazy = true,
+ ft = "markdown",
+ before = function ()
+ vim.g.table_mode_corner = '|'
+ end
+ },
+}