Tools to enhance development with Ember.js in Neovim. You don't need this plugin to use Ember.js in Neovim, but it implements some of the features that are not part of the standard LSP protocol.
Make sure you already have the Ember Language Server installed and running in your project.
Inspired by Ember VSCode Extension
- Navigate between related files in your Ember.js project
- Quickfix list, Telescope or Snacks.nvim picker
- Ember Language Server
- Snacks.nvim or Telescope.nvim (optional, for enhanced picking experience)
Using lazy.nvim
{
'justmejulian/ember.nvim',
opts = {
picker = 'quickfix', -- 'quickfix' (default), 'telescope' or 'snacks.picker'
},
}The plugin exposes both commands and functions.
EmberGetRelatedFiles/get_related_files- Get related files for the current Ember.js file.
EmberGetKindUsages/get_kind_usages- Get usages of the current Ember.js file
:EmberGetRelatedFiles
-- Add to your keymaps
vim.keymap.set('n', '<leader>er',
function()
require('ember').get_related_files()
end,
{ desc = 'Ember Get Related Files' })