Skip to content

Commit

Permalink
refactor(julia): import the cmp-latex-symbols source
Browse files Browse the repository at this point in the history
  • Loading branch information
mehalter committed Jun 3, 2024
1 parent 8c4c003 commit 1a86ff5
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions lua/astrocommunity/pack/julia/init.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
return {
{ import = "astrocommunity.pack.toml" },
{ import = "astrocommunity.completion.cmp-latex-symbols" },
{
"nvim-treesitter/nvim-treesitter",
optional = true,
Expand All @@ -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,
},
}

0 comments on commit 1a86ff5

Please sign in to comment.