diff options
Diffstat (limited to 'dot_config/nvim/lua/plugins/trash/crates.luaa')
| -rw-r--r-- | dot_config/nvim/lua/plugins/trash/crates.luaa | 17 |
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, +} |
