24 lines
602 B
Lua
24 lines
602 B
Lua
return {
|
|
{
|
|
"neovim/nvim-lspconfig",
|
|
opts = {
|
|
servers = {
|
|
djlsp = {
|
|
mason = false,
|
|
cmd = {
|
|
vim.fn.expand("~/personal/repos/django-template-lsp/env/bin/djlsp"),
|
|
"--enable-log",
|
|
"--cache",
|
|
},
|
|
root_markers = { "docker-compose.yml", "manage.py", ".git" },
|
|
filetypes = { "html", "htmldjango" },
|
|
init_options = {
|
|
docker_compose_file = "docker-compose.yml",
|
|
docker_compose_service = "django",
|
|
cache = true,
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
}
|