mirror of
https://codeberg.org/Mo8it/dotfiles.git
synced 2024-12-04 23:40:32 +00:00
Add crates.nvim
This commit is contained in:
parent
0013ea1d91
commit
59217fbffe
2 changed files with 14 additions and 0 deletions
|
@ -108,6 +108,13 @@ return require("packer").startup({
|
|||
-- Notifications
|
||||
use("rcarriga/nvim-notify")
|
||||
|
||||
use({
|
||||
"saecki/crates.nvim",
|
||||
requires = {
|
||||
"nvim-lua/plenary.nvim",
|
||||
},
|
||||
})
|
||||
|
||||
-- null-ls
|
||||
use({
|
||||
"jose-elias-alvarez/null-ls.nvim",
|
||||
|
|
|
@ -91,6 +91,12 @@ null_ls.setup({
|
|||
on_attach = format_on_save,
|
||||
})
|
||||
|
||||
require("crates").setup({
|
||||
null_ls = {
|
||||
enabled = true,
|
||||
},
|
||||
})
|
||||
|
||||
-- luasnip setup
|
||||
local luasnip = require("luasnip")
|
||||
|
||||
|
@ -139,6 +145,7 @@ cmp.setup({
|
|||
{ name = "luasnip" },
|
||||
{ name = "buffer" },
|
||||
{ name = "path" },
|
||||
{ name = "crates" },
|
||||
},
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in a new issue