Skip to content

Commit

Permalink
feat(completion): add cmp-nerdfont (#1074)
Browse files Browse the repository at this point in the history
  • Loading branch information
manuuurino authored Jul 2, 2024
1 parent 22e2c58 commit 3cbe80a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lua/astrocommunity/completion/cmp-nerdfont/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# cmp-nerdfont

nvim-cmp source for nerdfont

**Repository:** <https://github.com/chrisgrieser/cmp-nerdfont>
9 changes: 9 additions & 0 deletions lua/astrocommunity/completion/cmp-nerdfont/init.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
return {
"hrsh7th/nvim-cmp",
optional = true,
dependencies = { "chrisgrieser/cmp-nerdfont" },
opts = function(_, opts)
if not opts.sources then opts.sources = {} end
table.insert(opts.sources, { name = "nerdfont", priority = 700 })
end,
}

0 comments on commit 3cbe80a

Please sign in to comment.