mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-12-25 12:14:19 +01:00
## Description <!-- Describe the big picture of your changes to communicate to the maintainers why we should accept this pull request. --> Removed ".git" from the recommended section of lang.ember so lang.ember isn't recommended for every git directory. ## Related Issue(s) <!-- If this PR fixes any issues, please link to the issue here. - Fixes #<issue_number> --> None ## Screenshots <!-- Add screenshots of the changes if applicable. --> <img width="1249" height="748" alt="image" src="https://github.com/user-attachments/assets/594f262e-7f12-4174-ad3f-1872f388f039" /> ## Checklist - [x] I've read the [CONTRIBUTING](https://github.com/LazyVim/LazyVim/blob/main/CONTRIBUTING.md) guidelines.
30 lines
726 B
Lua
30 lines
726 B
Lua
return {
|
|
recommended = function()
|
|
return LazyVim.extras.wants({
|
|
ft = { "handlebars", "typescript", "javascript", "typescript.glimmer", "javascript.glimmer" },
|
|
root = { "ember-cli-build.js" },
|
|
})
|
|
end,
|
|
{
|
|
"nvim-treesitter/nvim-treesitter",
|
|
opts = { ensure_installed = { "css", "glimmer", "glimmer_javascript", "glimmer_typescript" } },
|
|
},
|
|
{
|
|
"neovim/nvim-lspconfig",
|
|
opts = {
|
|
servers = {
|
|
ember = {},
|
|
},
|
|
},
|
|
},
|
|
{
|
|
"conform.nvim",
|
|
opts = function(_, opts)
|
|
if LazyVim.has_extra("formatting.prettier") then
|
|
opts.formatters_by_ft = opts.formatters_by_ft or {}
|
|
opts.formatters_by_ft.glimmer = { "prettier" }
|
|
end
|
|
end,
|
|
},
|
|
}
|