diff --git a/lua/lazyvim/plugins/extras/lang/jsonnet.lua b/lua/lazyvim/plugins/extras/lang/jsonnet.lua new file mode 100644 index 00000000..2f005b96 --- /dev/null +++ b/lua/lazyvim/plugins/extras/lang/jsonnet.lua @@ -0,0 +1,19 @@ +return { + { "google/vim-jsonnet" }, + { + "neovim/nvim-lspconfig", + opts = { + servers = { + jsonnet_ls = {}, + }, + }, + }, + { + "nvim-treesitter/nvim-treesitter", + opts = function(_, opts) + if type(opts.ensure_installed) == "table" then + vim.list_extend(opts.ensure_installed, { "jsonnet" }) + end + end, + }, +}