Linear Language Server
npm i -g linear-ls
If you use lspconfig
, add the following:
if not lspconfigconfigs.linear_ls then
lspconfigconfigs.linear_ls = {
default_config = {
cmd = { "linear-ls", "--stdio" },
filetypes = { "typescript" },
root_dir = function(fname)
return lspconfig.util.find_git_ancestor(fname)
end,
},
}
end
lspconfig.lls.setup({
capabilities = capabilities,
})
And have your Linear token sourced as LINEAR_API_KEY
.
Hovering on ticket identifier shows the ticket description.
Typing team key, hyphen and search term (e.g. EUC-thing
) triggers issue search. Selecting a result puts in a link to your issue.
TODO