Skip to content

Commit

Permalink
feat: add ls for dot graphviz
Browse files Browse the repository at this point in the history
  • Loading branch information
jmbuhr committed Dec 22, 2023
1 parent e7ce772 commit 205bcc9
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion lua/plugins/quarto.lua
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ return {
},
opts = {
lspFeatures = {
languages = { "r", "python", "julia", "bash", "lua", "html" },
languages = { "r", "python", "julia", "bash", "lua", "html", "dot" },
},
},
},
Expand All @@ -54,6 +54,7 @@ return {
"latex",
"html",
"css",
"dot"
},
highlight = {
enable = true,
Expand Down Expand Up @@ -276,6 +277,12 @@ return {
},
})

lspconfig.dotls.setup({
on_attach = on_attach,
capabilities = capabilities,
flags = lsp_flags,
})

local function strsplit(s, delimiter)
local result = {}
for match in (s .. delimiter):gmatch("(.-)" .. delimiter) do
Expand Down

0 comments on commit 205bcc9

Please sign in to comment.