From c4e44dca7ec3bf0c89c1730db5544ce1a708826c Mon Sep 17 00:00:00 2001 From: triethyl Date: Sun, 17 Aug 2025 15:45:54 -0400 Subject: neovim: working on new config --- pkgs/custom-neovim/config/lua/lsp.lua | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'pkgs/custom-neovim/config/lua/lsp.lua') diff --git a/pkgs/custom-neovim/config/lua/lsp.lua b/pkgs/custom-neovim/config/lua/lsp.lua index 5744280..68a4d3d 100644 --- a/pkgs/custom-neovim/config/lua/lsp.lua +++ b/pkgs/custom-neovim/config/lua/lsp.lua @@ -1,3 +1,6 @@ +-- LSP Configs +-- Get more from https://github.com/neovim/nvim-lspconfig/tree/master/lsp + -- Lua LS vim.lsp.config("lua_ls", { cmd = { 'lua-language-server' }, @@ -15,6 +18,14 @@ vim.lsp.config("lua_ls", { }) vim.lsp.enable("lua_ls") +-- Marksman LS +vim.lsp.config("marksman", { + cmd = {"marksman", "server"}, + filetypes = {"markdown", "markdown.mdx"}, + root_markers = {".marksman.toml", ".git"}, +}) +vim.lsp.enable("marksman") + -- LSP Autocommands -- Disable semantic tokens to stop weird highlighting. -- cgit v1.2.3