dev: automated commit - 2025-12-22 17:06:35
This commit is contained in:
parent
ea33812165
commit
5bd1653887
4 changed files with 0 additions and 96 deletions
|
|
@ -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("<leader>ll", function()
|
||||
lint.try_lint()
|
||||
end, { desc = "Trigger linting for current file" })
|
||||
end
|
||||
|
||||
return M
|
||||
|
|
@ -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
|
||||
|
|
@ -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/",
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
@ -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("<leader>pl", ":PresentermLaunch<cr>", { desc = "[Presenterm] Launch" })
|
||||
nmap("<leader>ps", ":PresentermStop<cr>", { desc = "[Presenterm] Stop" })
|
||||
end,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue