-- add language support for handlebars (.hbs) return { -- glimmer is the treesitter parser for handlebars -- see https://github.com/nvim-treesitter/nvim-treesitter { "nvim-treesitter/nvim-treesitter", opts = { ensure_installed = { "glimmer" } }, }, -- we can use djLint to format handlebars { "stevearc/conform.nvim", opts = { formatters_by_ft = { handlebars = { "djlint" }, }, formatters = { djlint = { prepend_args = { "--preserve-blank-lines" }, }, }, }, }, }