From 94b2c40db1bdeaa841964ca4b8efb73cb2806501 Mon Sep 17 00:00:00 2001 From: Samuel O'Neal Date: Wed, 25 Mar 2026 10:59:06 -0600 Subject: [PATCH] added markdown preview plugin --- lua/plugins/lsp.lua | 39 ++++++++++++++++++++++++--------------- lua/plugins/markdown.lua | 7 +++++++ 2 files changed, 31 insertions(+), 15 deletions(-) create mode 100644 lua/plugins/markdown.lua diff --git a/lua/plugins/lsp.lua b/lua/plugins/lsp.lua index 6736f24..0e3d316 100644 --- a/lua/plugins/lsp.lua +++ b/lua/plugins/lsp.lua @@ -23,20 +23,20 @@ return { opts = { ensure_installed = { -- LSP servers - "gopls", -- Go - "lua-language-server", -- Lua + "gopls", -- Go + "lua-language-server", -- Lua "typescript-language-server", -- TypeScript/JavaScript - "js-debug-adapter", -- JS - "html-lsp", -- HTML - "css-lsp", -- CSS - "json-lsp", -- JSON - "yaml-language-server", -- YAML - "marksman", -- Markdown - "sqlls", -- SQL - "pyright", --Python - "ruff", --Python - "docker-language-server", -- Docker - "zls", -- Zig + "js-debug-adapter", -- JS + "html-lsp", -- HTML + "css-lsp", -- CSS + "json-lsp", -- JSON + "yaml-language-server", -- YAML + "marksman", -- Markdown + "sqlls", -- SQL + "pyright", --Python + "ruff", --Python + "docker-language-server", -- Docker + "zls", -- Zig -- Linters "golangci-lint", "eslint_d", @@ -109,8 +109,15 @@ return { -- Lua lua_ls = { - root_dir = make_root_detector({ ".luarc.json", ".luarc.jsonc", ".luacheckrc", ".stylua.toml", "stylua.toml", - "selene.toml", "selene.yml" }), + root_dir = make_root_detector({ + ".luarc.json", + ".luarc.jsonc", + ".luacheckrc", + ".stylua.toml", + "stylua.toml", + "selene.toml", + "selene.yml", + }), settings = { Lua = { workspace = { @@ -235,6 +242,8 @@ return { "gitcommit", "git_rebase", "dockerfile", + "latex", + "typst", }, highlight = { enable = true }, indent = { enable = true }, diff --git a/lua/plugins/markdown.lua b/lua/plugins/markdown.lua new file mode 100644 index 0000000..f14ba73 --- /dev/null +++ b/lua/plugins/markdown.lua @@ -0,0 +1,7 @@ +return { + "OXY2DEV/markview.nvim", + lazy = false, + dependencies = { + "saghen/blink.cmp", + }, +}