From f93f626d04970ab6f3db7744e65ab70d88ecb12e Mon Sep 17 00:00:00 2001 From: triethyl Date: Tue, 16 Sep 2025 10:23:36 -0400 Subject: homelab: added fail2ban to ssh --- pkgs/custom-neovim/.luarc.json | 23 +++++++++++++ pkgs/custom-neovim/config/lua/plugins/markdown.lua | 39 ++++++++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 pkgs/custom-neovim/.luarc.json create mode 100644 pkgs/custom-neovim/config/lua/plugins/markdown.lua (limited to 'pkgs') diff --git a/pkgs/custom-neovim/.luarc.json b/pkgs/custom-neovim/.luarc.json new file mode 100644 index 0000000..89999a9 --- /dev/null +++ b/pkgs/custom-neovim/.luarc.json @@ -0,0 +1,23 @@ +{ + "$schema": "https://raw.githubusercontent.com/LuaLS/lua-language-server/master/setting/schema.json", + "runtime": { + "version": "LuaJIT", + "path": [ + "?.lua", + "?/init.lua" + ] + }, + "workspace": { + "checkThirdParty": false, + "library": [ + "${3rd}/luv/library", + "${3rd}/busted/library" + ] + }, + "diagnostics": { + "globals": ["vim"] + }, + "telemetry": { + "enable": false + } +} 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 + }, +} -- cgit v1.2.3