diff --git a/.config/nvim/lua/plugins/extras/lang/julia.lua b/.config/nvim/lua/plugins/extras/lang/julia.lua new file mode 100644 index 00000000..affcd362 --- /dev/null +++ b/.config/nvim/lua/plugins/extras/lang/julia.lua @@ -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, + }, +} diff --git a/.config/nvim/lua/plugins/extras/lang/web/angular.lua b/.config/nvim/lua/plugins/extras/lang/web/angular.lua new file mode 100644 index 00000000..7fcd23ad --- /dev/null +++ b/.config/nvim/lua/plugins/extras/lang/web/angular.lua @@ -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, + }, +}