feat(extras): lang julia

Adds julia as one the extras/lang with sensible and minimalist defaults.
This commit is contained in:
Jose Storopoli 2024-09-14 05:00:26 -03:00
parent a1c3ec4cd4
commit c3b6460554
No known key found for this signature in database
GPG key ID: 29E00111DE172C28

View file

@ -0,0 +1,34 @@
return {
recommended = function()
return LazyVim.extras.wants({
ft = { "julia" },
root = { "Project.toml" },
})
end,
{
"nvim-treesitter/nvim-treesitter",
opts = { ensure_installed = { "julia" } },
},
{
"neovim/nvim-lspconfig",
opts = {
servers = {
julials = {
settings = {
-- use the same default settings as the Julia VS Code extension
julia = {
completionmode = "qualify",
lint = { missingrefs = "none" },
inlayHints = {
static = {
enabled = false,
variableTypes = { enabled = true },
},
},
},
},
},
},
},
},
}