diff options
| author | triethyl <triethylammonium@pm.me> | 2025-08-17 15:45:54 -0400 |
|---|---|---|
| committer | triethyl <triethylammonium@pm.me> | 2025-08-17 15:45:54 -0400 |
| commit | c4e44dca7ec3bf0c89c1730db5544ce1a708826c (patch) | |
| tree | 27c463485e100945d10fc108f18775af3e5a98b5 /pkgs/custom-neovim/config/lua/lsp.lua | |
| parent | 89a88e24d00306076b067a0ccb87ad2a603054f3 (diff) | |
neovim: working on new config
Diffstat (limited to 'pkgs/custom-neovim/config/lua/lsp.lua')
| -rw-r--r-- | pkgs/custom-neovim/config/lua/lsp.lua | 11 |
1 files changed, 11 insertions, 0 deletions
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. |
