Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vim-fall/deno-fall-std
Standard library for using Fall, a Vim/Neovim Fuzzy Finder plugin powered by Denops.
https://github.com/vim-fall/deno-fall-std
vim-fall
Last synced: about 2 months ago
JSON representation
Standard library for using Fall, a Vim/Neovim Fuzzy Finder plugin powered by Denops.
- Host: GitHub
- URL: https://github.com/vim-fall/deno-fall-std
- Owner: vim-fall
- License: mit
- Created: 2024-11-09T08:59:28.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-12-02T11:41:39.000Z (about 2 months ago)
- Last Synced: 2024-12-02T12:30:23.193Z (about 2 months ago)
- Topics: vim-fall
- Language: TypeScript
- Homepage: https://jsr.io/@vim-fall/std
- Size: 146 KB
- Stars: 3
- Watchers: 0
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🍂 fall-std
[![JSR](https://jsr.io/badges/@vim-fall/std)](https://jsr.io/@vim-fall/std)
[![Deno](https://img.shields.io/badge/Deno%202.x-333?logo=deno&logoColor=fff)](#)
[![Test](https://github.com/vim-fall/fall-std/actions/workflows/test.yml/badge.svg)](https://github.com/vim-fall/fall-std/actions/workflows/test.yml)
[![codecov](https://codecov.io/gh/vim-fall/fall-std/graph/badge.svg?token=FWTFEJT1X1)](https://codecov.io/gh/vim-fall/fall-std)
[![MIT License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)A standard library for using [Fall](https://github.com/vim-fall/fall), a
Vim/Neovim Fuzzy Finder plugin powered by
[Denops](https://github.com/vim-denops/denops.vim). Users should import this
library to use the built-in extensions and utility functions.## Usage
### Extensions
Extensions are available in the `builtin` directory. You can access them like
this:```typescript
import * as builtin from "jsr:@vim-fall/std/builtin";// Display all curators
console.log(builtin.curator);// Display all sources
console.log(builtin.source);// Display all actions
console.log(builtin.action);// ...
```### Utility Functions
Utility functions are defined in the root directory. You can access them like
this:```typescript
import * as builtin from "jsr:@vim-fall/std/builtin";
import * as std from "jsr:@vim-fall/std";// Refine a source with refiners
const refinedSource = std.refineSource(
// File source
builtin.source.file,
// Refiner to filter files based on the current working directory
builtin.refiner.cwd,
// Refiner to modify item paths to be relative from the current working directory
builtin.refiner.relativePath,
// ...
);
```### More Extensions
For more extensions (including integrations with other Vim plugins, non-standard
workflows, etc.), check out
[vim-fall/fall-extra](https://github.com/vim-fall/fall-extra)
([@vim-fall/extra](https://jsr.io/@vim-fall/extra)).## License
The code in this repository follows the MIT license, as detailed in the LICENSE.
Contributors must agree that any modifications submitted to this repository also
adhere to the license.This Markdown version will render properly when used in a Markdown environment.
Let me know if you'd like to adjust anything further!