From 7475c20d79d26b397a029541d5801fb7b7324360 Mon Sep 17 00:00:00 2001 From: Elvis Claros Castro Date: Tue, 18 Feb 2025 09:55:55 -0300 Subject: feat(plugins): add json-nvim and rustowl plugins, update dependencies --- lua/plugins/json-nvim.lua | 8 ++++++++ lua/plugins/rustowl.lua | 5 +++++ 2 files changed, 13 insertions(+) create mode 100644 lua/plugins/json-nvim.lua create mode 100644 lua/plugins/rustowl.lua (limited to 'lua/plugins') diff --git a/lua/plugins/json-nvim.lua b/lua/plugins/json-nvim.lua new file mode 100644 index 0000000..3866e1b --- /dev/null +++ b/lua/plugins/json-nvim.lua @@ -0,0 +1,8 @@ +return { + "VPavliashvili/json-nvim", + ft = "json", -- only load for json filetype + config = function() + vim.keymap.set("n", "jff", "JsonFormatFile") + vim.keymap.set("n", "jmf", "JsonMinifyFile") + end, +} diff --git a/lua/plugins/rustowl.lua b/lua/plugins/rustowl.lua new file mode 100644 index 0000000..b85ec08 --- /dev/null +++ b/lua/plugins/rustowl.lua @@ -0,0 +1,5 @@ +return { + "cordx56/rustowl", + ft = { "rust" }, + dependencies = { "neovim/nvim-lspconfig" }, +} -- cgit v1.2.3