summaryrefslogtreecommitdiff
path: root/dot_config/nvim/lua/plugins/trash/crates.luaa
diff options
context:
space:
mode:
authorSakamoto <me@sakamoto.network>2026-05-12 18:31:15 -0500
committerSakamoto <me@sakamoto.network>2026-05-12 18:31:15 -0500
commita623fed63460d6d810605ce1ce858a58a5b222f7 (patch)
tree2129e72acc82deaf624630ec271942000eae0aeb /dot_config/nvim/lua/plugins/trash/crates.luaa
downloaddotfiles-a623fed63460d6d810605ce1ce858a58a5b222f7.tar.xz
dotfiles-a623fed63460d6d810605ce1ce858a58a5b222f7.zip
init
Diffstat (limited to 'dot_config/nvim/lua/plugins/trash/crates.luaa')
-rw-r--r--dot_config/nvim/lua/plugins/trash/crates.luaa17
1 files changed, 17 insertions, 0 deletions
diff --git a/dot_config/nvim/lua/plugins/trash/crates.luaa b/dot_config/nvim/lua/plugins/trash/crates.luaa
new file mode 100644
index 0000000..f72a23f
--- /dev/null
+++ b/dot_config/nvim/lua/plugins/trash/crates.luaa
@@ -0,0 +1,17 @@
+return {
+ "saecki/crates.nvim",
+ tag = "stable",
+ config = function()
+ require("crates").setup({
+ lsp = {
+ enabled = true,
+ on_attach = function(client, bufnr)
+ -- the same on_attach function as for your other lsp's
+ end,
+ actions = true,
+ completion = true,
+ hover = true,
+ },
+ })
+ end,
+}