feat(nvim): added julia and angular extras

This commit is contained in:
Sergio Laín 2023-12-01 14:07:47 +01:00
parent 9ac2be9676
commit 4740d6f424
No known key found for this signature in database
GPG key ID: 14C9B8080681777B
2 changed files with 59 additions and 0 deletions

View file

@ -0,0 +1,34 @@
return {
{
"nvim-treesitter/nvim-treesitter",
opts = function(_, opts)
if type(opts.ensure_installed) == "table" then
vim.list_extend(opts.ensure_installed, { "julia" })
end
end,
},
{
"neovim/nvim-lspconfig",
opts = {
servers = {
julials = {},
},
},
},
{
"williamboman/mason.nvim",
opts = function(_, opts)
opts.ensure_installed = opts.ensure_installed or {}
vim.list_extend(opts.ensure_installed, { "julia-lsp" })
end,
},
{
"hrsh7th/nvim-cmp",
dependencies = {
"kdheepak/cmp-latex-symbols",
},
opts = function(_, opts)
table.insert(opts.sources, { name = "latex_symbols", priority = 700 })
end,
},
}

View file

@ -0,0 +1,25 @@
return {
{
"nvim-treesitter/nvim-treesitter",
opts = function(_, opts)
if type(opts.ensure_installed) == "table" then
vim.list_extend(opts.ensure_installed, { "angular" })
end
end,
},
{
"neovim/nvim-lspconfig",
opts = {
servers = {
angularls = {},
},
},
},
{
"williamboman/mason.nvim",
opts = function(_, opts)
opts.ensure_installed = opts.ensure_installed or {}
vim.list_extend(opts.ensure_installed, { "angular-language-server" })
end,
},
}