aboutsummaryrefslogtreecommitdiffstats
path: root/lua/lspconfig/server_configurations/djlsp.lua
blob: 181cb030eb031cc6110b91d9579283caa27a84ab (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
local util = require 'lspconfig.util'

return {
  default_config = {
    cmd = { 'djlsp' },
    filetypes = { 'html', 'htmldjango' },
    root_dir = util.find_git_ancestor,
    settings = {},
  },
  docs = {
    description = [[
      https://github.com/fourdigits/django-template-lsp

      `djlsp`, a language server for Django templates.
    ]],
  },
}