diff --git a/lua/plugins/lint.bak b/lua/plugins/lint.bak deleted file mode 100644 index d904291..0000000 --- a/lua/plugins/lint.bak +++ /dev/null @@ -1,33 +0,0 @@ -local M = { - "mfussenegger/nvim-lint", - event = { - "BufReadPre", - "BufNewFile", - }, -} - -M.config = function() - local lint = require("lint") - - lint.linters_by_ft = { - -- javascript = {"eslint_d"}, - -- typescript = {"eslint_d"}, - -- javascriptreact = {"eslint_d"}, - -- typescriptreact = {"eslint_d"}, - } - - local lint_augroup = vim.api.nvim_create_augroup("lint", { clear = true }) - - vim.api.nvim_create_autocmd({ "BufWritePost", "InsertLeave", "BufEnter" }, { - group = lint_augroup, - callback = function() - lint.try_lint() - end, - }) - - nmap("ll", function() - lint.try_lint() - end, { desc = "Trigger linting for current file" }) -end - -return M diff --git a/lua/plugins/markdown.bak b/lua/plugins/markdown.bak deleted file mode 100644 index 91fbcb0..0000000 --- a/lua/plugins/markdown.bak +++ /dev/null @@ -1,20 +0,0 @@ -local M = { - { - "iamcco/markdown-preview.nvim", - cmd = { "MarkdownPreviewToggle", "MarkdownPreview", "MarkdownPreviewStop" }, - build = "cd app && yarn install", - init = function() - vim.g.mkdp_filetypes = { "markdown" } - end, - ft = { "markdown" }, - }, - { - "MeanderingProgrammer/render-markdown.nvim", - dependencies = { "nvim-treesitter/nvim-treesitter", "echasnovski/mini.icons" }, -- if you use the mini.nvim suite - opts = {}, - }, -} - -M.config = function() end - -return M diff --git a/lua/plugins/obsidian.bak b/lua/plugins/obsidian.bak deleted file mode 100644 index c11c6a3..0000000 --- a/lua/plugins/obsidian.bak +++ /dev/null @@ -1,28 +0,0 @@ -return { - "epwalsh/obsidian.nvim", - version = "*", -- recommended, use latest release instead of latest commit - lazy = true, - ft = "markdown", - -- Replace the above line with this if you only want to load obsidian.nvim for markdown files in your vault: - -- event = { - -- -- If you want to use the home shortcut '~' here you need to call 'vim.fn.expand'. - -- -- E.g. "BufReadPre " .. vim.fn.expand "~" .. "/my-vault/*.md" - -- -- refer to `:h file-pattern` for more examples - -- "BufReadPre path/to/my-vault/*.md", - -- "BufNewFile path/to/my-vault/*.md", - -- }, - dependencies = { - -- Required. - "nvim-lua/plenary.nvim", - - -- see below for full list of optional dependencies 👇 - }, - opts = { - workspaces = { - { - name = "Vault", - path = "~/Documents/Vault/", - }, - }, - }, -} diff --git a/lua/plugins/presenterm.bak b/lua/plugins/presenterm.bak deleted file mode 100644 index c279c6e..0000000 --- a/lua/plugins/presenterm.bak +++ /dev/null @@ -1,15 +0,0 @@ -return { - "marianozunino/presenterm.nvim", - config = function() - require("presenterm").setup({ - patterns = { - "*.pterm", - }, - auto_launch = true, - terminal_cmd = "kitty --title 'Presenterm: {title}' --override font_size=18 {cmd}", - }) - - nmap("pl", ":PresentermLaunch", { desc = "[Presenterm] Launch" }) - nmap("ps", ":PresentermStop", { desc = "[Presenterm] Stop" }) - end, -}