From Cute Marten, 3 Months ago, written in Plain Text.
  1. local configs = require 'lspconfig/configs'
  2. local util = require 'lspconfig/util'
  3.  
  4. configs.serve_d = {
  5.   default_config = {
  6.     cmd = { 'serve-d' },
  7.     filetypes = { 'd' },
  8.     root_dir = function(filename)
  9.       return util.path.dirname(filename)
  10.     end,
  11.   },
  12.   docs = {
  13.     description = [[
  14. https://github.com/Pure-D/serve-d
  15.  
  16. Microsoft language server protocol implementation for D using workspace-d.
  17. Further instructions can be found in the [project's README](https://github.com/Pure-D/serve-d).
  18.     ]],
  19.   },
  20. }
  21. -- vim:et ts=2 sw=2
captcha