Skip to content

WIP: A Neovim plugin to extend the text counting capabilities.

License

Notifications You must be signed in to change notification settings

koichincom/count.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Warning

This project is working in progress. When MVP is merged to the main branch, a release will be published, so star the repo if interested and stay tuned!

count.nvim

A Neovim plugin to extend the text counting capabilities.

Neovim already provides great built-in APIs for counting lines, byte, and words, however, they are quite basic and extending the functionalities is not always straightforward. Count.nvim aims to extends that by providing APIs for various counting functionalities, and mainly being aware of the following.

  • File type: such as ignoring code blocks and hyphens for bulleted lists in markdown files.
  • File format: such as ignoring front-matter in markdown files.
  • Natural language: such as proper sentence segmentation for various languages.

It has a core library, written in Zig, to parse the text, exclude the unwanted parts, and count the metrics. It's now being developed privately, and will be open-sourced as a general Zig library with C ABI once the MVP is ready.

About

WIP: A Neovim plugin to extend the text counting capabilities.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published