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 bfada96 commit 59b0553
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 @@ -28,7 +28,7 @@ return {
},
opts = {
lspFeatures = {
languages = { "r", "python", "julia", "bash", "lua", "html" },
languages = { "r", "python", "julia", "bash", "lua", "html", "dot" },
},
codeRunner = {
enabled = true,
Expand Down Expand Up @@ -67,6 +67,7 @@ return {
"latex",
"html",
"css",
"dot"
},
highlight = {
enable = true,
Expand Down Expand Up @@ -296,6 +297,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 59b0553

Please sign in to comment.