Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lukahartwig/pnpm.nvim
Neovim plugin for pnpm
https://github.com/lukahartwig/pnpm.nvim
monorepo neovim pnpm telescope-extension
Last synced: 15 days ago
JSON representation
Neovim plugin for pnpm
- Host: GitHub
- URL: https://github.com/lukahartwig/pnpm.nvim
- Owner: lukahartwig
- License: mit
- Created: 2023-04-15T21:45:13.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-21T15:02:02.000Z (4 months ago)
- Last Synced: 2024-10-08T08:56:27.366Z (3 months ago)
- Topics: monorepo, neovim, pnpm, telescope-extension
- Language: Lua
- Homepage:
- Size: 7.81 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pnpm.nvim
neovim plugin that makes working with pnpm monorepos easier.
## Features
* Use Telescope to switch between workspace packages
## Getting started
### Required dependencies
* [pnpm](https://pnpm.io/)
* [nvim-telescope/telescope.nvim](https://github.com/nvim-telescope/telescope.nvim)### Installation
Using [packer](https://github.com/wbthomason/packer.nvim)
```lua
use {
'lukahartwig/pnpm.nvim',
requires = {
{ 'nvim-telescope/telescope.nvim' }
}
}
```### Setup
This is technically optional but makes tab completion work right away.
```lua
require('telescope').load_extension('pnpm')
```## Usage
```
:Telescope pnpm workspace
```
## Key MappingsUsing lua:
```lua
local telescope = require('telescope')
vim.keymap.set('n', 'fw', telescope.extensions.pnpm.workspace, {})
```