https://github.com/mtoohey31/cmp-fish
Fish shell completion source for nvim-cmp.
https://github.com/mtoohey31/cmp-fish
fish nvim-cmp
Last synced: 2 days ago
JSON representation
Fish shell completion source for nvim-cmp.
- Host: GitHub
- URL: https://github.com/mtoohey31/cmp-fish
- Owner: mtoohey31
- License: apache-2.0
- Created: 2021-09-02T04:01:15.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-06-17T15:53:05.000Z (11 months ago)
- Last Synced: 2025-04-05T03:12:39.031Z (25 days ago)
- Topics: fish, nvim-cmp
- Language: Lua
- Homepage:
- Size: 13.7 KB
- Stars: 30
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# `cmp-fish`
[Fish shell](https://fishshell.com) completion source for [nvim-cmp](https://github.com/hrsh7th/nvim-cmp).
## Usage
```lua
require("packer").use({ "mtoohey31/cmp-fish", ft = "fish" })cmp.setup({
sources = cmp.config.sources({
{ name = 'fish' }
})
})
```## Configuration
You can provide a custom Fish path using options:
```lua
cmp.setup({
sources = cmp.config.sources({
{ name = 'fish', option = { fish_path = "/usr/bin/fish" } }
})
})
```