pnpm.nvim

Neovim plugin for pnpm

MIT License

Stars
4

pnpm.nvim

neovim plugin that makes working with pnpm monorepos easier.

Features

  • Use Telescope to switch between workspace packages

Getting started

Required dependencies

Installation

Using packer

use {
  'lukahartwig/pnpm.nvim',
  requires = {
    { 'nvim-telescope/telescope.nvim' }
  }
}

Setup

This is technically optional but makes tab completion work right away.

require('telescope').load_extension('pnpm')

Usage

:Telescope pnpm workspace

Key Mappings

Using lua:

local telescope = require('telescope')
vim.keymap.set('n', '<leader>fw', telescope.extensions.pnpm.workspace, {})