/ nvim / lua / lsp / servers / markdown.lua
markdown.lua
 1  return {
 2    {
 3      'neovim/nvim-lspconfig',
 4      opts = {
 5        setup = {
 6          marksman = function()
 7            require('lazyvim.util').lsp.on_attach(function(client, _)
 8              if client.config.capabilities == nil then
 9                client.config.capabilities = {
10                  workspace = {
11                    didChangeWatchedFiles = {
12                      dynamicRegistration = true,
13                    },
14                  },
15                }
16              end
17            end)
18          end,
19        },
20      },
21    },
22  }