
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
dot-language-server
Advanced tools
A language Server for the DOT language/Graphviz.
>=18
npm
npm i -g dot-language-server
If you want to request or implement new features, head over to dot-language-support.
{
"languageserver": {
"dot": {
"command": "dot-language-server",
"args": ["--stdio"],
"filetypes": ["dot"]
}
}
}
if executable('dot-language-server')
augroup lsp
autocmd!
autocmd User lsp_setup call lsp#register_server({
\ 'name': 'dot',
\ 'cmd': {server_info->['dot-language-server', '--stdio']},
\ 'whitelist': ['dot'],
\ })
augroup END
endif
vim.api.nvim_create_autocmd({ "BufEnter" }, {
pattern = { "*.dot" },
callback = function()
vim.lsp.start({
name = "dot",
cmd = { "dot-language-server", "--stdio" }
})
end,
})
TODO: There's an Extension for that.
Install Package
-> LSP
Preferences: LSP Settings
{
"clients": {
"dot-language-server": {
"command": ["dot-language-server", "--stdio"],
"enabled": true,
"languageId": "dot",
"scopes": ["source.dot"],
"syntaxes": ["Packages/Graphviz/DOT.sublime-syntax"]
}
}
}
Note for Windows Users: You have to append .cmd
to the first entry in the command
array (or, if possible, enable shell execution).
For Emacs users, you need to use lsp-mode
which supports the DOT Language Server out of the box.
...and you're done!
FAQs
Language server for the DOT language
We found that dot-language-server demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.