diff options
| author | Elvis Claros Castro <elvis@claros.ar> | 2025-02-18 09:55:55 -0300 |
|---|---|---|
| committer | Elvis Claros Castro <elvis@claros.ar> | 2025-02-18 09:55:55 -0300 |
| commit | 7475c20d79d26b397a029541d5801fb7b7324360 (patch) | |
| tree | fb740b999374f48ae020c56d1fd7fd809f1acd09 /lua | |
| parent | 15d2ab7726354e0bb1bd54620d05090941b66db2 (diff) | |
| download | nvim-conf-7475c20d79d26b397a029541d5801fb7b7324360.tar.gz nvim-conf-7475c20d79d26b397a029541d5801fb7b7324360.zip | |
feat(plugins): add json-nvim and rustowl plugins, update dependencies
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/plugins/json-nvim.lua | 8 | ||||
| -rw-r--r-- | lua/plugins/rustowl.lua | 5 |
2 files changed, 13 insertions, 0 deletions
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", "<leader>jff", "<cmd>JsonFormatFile<cr>") + vim.keymap.set("n", "<leader>jmf", "<cmd>JsonMinifyFile<cr>") + 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" }, +} |