Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Mar 17, 2025. It is now read-only.

A command-line parser for neovim for plugin authors.

NotificationsYou must be signed in to change notification settings

winston0410/cmd-parser.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

I built this plugin to help other plugin authors to easily parse the command inputted by users and do awesome tricks with it.

Input

localparse_cmd=require'cmd-parser'.parse_cmdparse_cmd("10+2++,/hello/-3d")

Output

{ ["start_increment_number"]=4,["end_increment"]=-3,["command"]=d,["start_range"]=10,["end_increment_number"]=-3,["start_increment"]=+2++,["end_range"]=/hello/,}

Installtion

Paq.nvim

paq{'winston0410/cmd-parser.nvim'}

Testing

This plugin is well tested. To run the test case or help with testing, you need to install lester

luarocks install lester

About

A command-line parser for neovim for plugin authors.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors2

  •  
  •  

Languages


[8]ページ先頭

©2009-2025 Movatter.jp