From 1a86ff55e5c69c25efe35d7be925e1dd9888798d Mon Sep 17 00:00:00 2001 From: Micah Halter Date: Mon, 3 Jun 2024 11:12:22 -0400 Subject: [PATCH] refactor(julia): import the `cmp-latex-symbols` source --- lua/astrocommunity/pack/julia/init.lua | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/lua/astrocommunity/pack/julia/init.lua b/lua/astrocommunity/pack/julia/init.lua index e2c22095d..f96e453be 100644 --- a/lua/astrocommunity/pack/julia/init.lua +++ b/lua/astrocommunity/pack/julia/init.lua @@ -1,5 +1,6 @@ return { { import = "astrocommunity.pack.toml" }, + { import = "astrocommunity.completion.cmp-latex-symbols" }, { "nvim-treesitter/nvim-treesitter", optional = true, @@ -23,14 +24,4 @@ return { opts.ensure_installed = require("astrocore").list_insert_unique(opts.ensure_installed, { "julia-lsp" }) end, }, - { - "hrsh7th/nvim-cmp", - optional = true, - -- add cmp latex symbols for easier julia editing - dependencies = { "kdheepak/cmp-latex-symbols" }, - opts = function(_, opts) - if not opts.sources then opts.sources = {} end - table.insert(opts.sources, { name = "latex_symbols", priority = 700 }) - end, - }, }