mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
Merge c3b6460554 into 7ebed5349d
This commit is contained in:
commit
bdb59c3c9a
1 changed files with 34 additions and 0 deletions
34
lua/lazyvim/plugins/extras/lang/julia.lua
Normal file
34
lua/lazyvim/plugins/extras/lang/julia.lua
Normal 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 },
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
Loading…
Add table
Reference in a new issue