aboutsummaryrefslogtreecommitdiff
path: root/env/.config/nvim/after/plugin
diff options
context:
space:
mode:
authoriceyrazor <iceyrazor@mailfence.com>2025-07-19 14:39:56 -0500
committericeyrazor <iceyrazor@mailfence.com>2025-07-19 14:39:56 -0500
commit143696c0a95af8eb819562701dcd0421254620f8 (patch)
tree29a78f2461f452f32e5e6796140aac7b57b31433 /env/.config/nvim/after/plugin
parent63cfe979086c720209bfacbcc5ae22c8a28dbea3 (diff)
lots of changes
- changed music command - added music to backup - showmethekey more window rules - added mpv config - added seahorse to all reqs - nvim - added render markdown - added treesitter. ive been using just my systems treesitter. - fixed undotree bind - removed eldritch theme. it broke
Diffstat (limited to 'env/.config/nvim/after/plugin')
-rw-r--r--env/.config/nvim/after/plugin/render-markdown.lua38
-rw-r--r--env/.config/nvim/after/plugin/treesitter.lua7
-rw-r--r--env/.config/nvim/after/plugin/undotree.lua5
3 files changed, 46 insertions, 4 deletions
diff --git a/env/.config/nvim/after/plugin/render-markdown.lua b/env/.config/nvim/after/plugin/render-markdown.lua
new file mode 100644
index 0000000..04533a6
--- /dev/null
+++ b/env/.config/nvim/after/plugin/render-markdown.lua
@@ -0,0 +1,38 @@
+local ok, rmarkdown = pcall(require, 'render-markdown')
+if ok then
+ rmarkdown.setup({
+ code = {
+ enabled = true,
+ render_modes = false,
+ sign = true,
+ style = 'full',
+ position = 'left',
+ language_pad = 0,
+ language_icon = true,
+ language_name = true,
+ language_info = true,
+ disable_background = { 'diff' },
+ width = 'full',
+ left_margin = 0,
+ left_pad = 0,
+ right_pad = 0,
+ min_width = 0,
+ border = 'hide',
+ language_border = '█',
+ language_left = '',
+ language_right = '',
+ above = '▄',
+ below = '▀',
+ inline_left = '',
+ inline_right = '',
+ inline_pad = 0,
+ highlight = 'RenderMarkdownCode',
+ highlight_info = 'RenderMarkdownCodeInfo',
+ highlight_language = nil,
+ highlight_border = 'RenderMarkdownCodeBorder',
+ highlight_fallback = 'RenderMarkdownCodeFallback',
+ highlight_inline = 'RenderMarkdownCodeInline',
+ },
+ completions = { lsp = { enabled = true } },
+ })
+end
diff --git a/env/.config/nvim/after/plugin/treesitter.lua b/env/.config/nvim/after/plugin/treesitter.lua
new file mode 100644
index 0000000..60eb152
--- /dev/null
+++ b/env/.config/nvim/after/plugin/treesitter.lua
@@ -0,0 +1,7 @@
+local ok, treesitter = pcall(require, 'nvim-treesitter.configs')
+if ok then
+ treesitter.setup {
+ ensure_installed = { "c", "lua", "rust", "css", "html", "bash", "markdown", "markdown_inline" },
+ highlight = { enable = true, },
+ }
+end
diff --git a/env/.config/nvim/after/plugin/undotree.lua b/env/.config/nvim/after/plugin/undotree.lua
index 9b52a6e..478b145 100644
--- a/env/.config/nvim/after/plugin/undotree.lua
+++ b/env/.config/nvim/after/plugin/undotree.lua
@@ -1,4 +1 @@
-local ok, _ = pcall(require, 'undotree')
-if ok then
- vim.keymap.set("n", "<leader>u", vim.cmd.UndotreeToggle)
-end
+vim.keymap.set("n", "<leader>u", ":UndotreeToggle<CR>")