neovim plugin that makes working with pnpm monorepos easier.
- Use Telescope to switch between workspace packages
Using packer
use {
'lukahartwig/pnpm.nvim',
requires = {
{ 'nvim-telescope/telescope.nvim' }
}
}
This is technically optional but makes tab completion work right away.
require('telescope').load_extension('pnpm')
:Telescope pnpm workspace
Using lua:
local telescope = require('telescope')
vim.keymap.set('n', '<leader>fw', telescope.extensions.pnpm.workspace, {})