While the name is a bit misleading since it talks about Vim, CPVim is a plugin that allows you to use create and use templates in neovim
xuhan
Check their projects out: Gomoku, The Unconventional Units Converter, Extract: Zombie Shooter
sonicx180
Check their projects out: Hackclub Mail Bot, Personal Website , FindYourCut Backend, FindYourCut
Once you ship this you can't edit the description of the project, but you'll be able to add more devlogs and re-ship it as you add new features!
In this MASSIVE session(s), I made the whole app as it is currently. I first had to research more about the nvim and vim api in order to understand how to do split tab functionality. Then I started on the plugin itself. I first tried to use JSON and other packages in Lua through luarocks but deemed it to be too complicated for the user, so I decided to make my own JSON parser. The reason I needed to use JSON in the first place was so that I can branch off easily from CPCli. Since most of my data and testing was already done in CPCli (my other project) I could just use the same files and same data from CPVim. I added a dashboard feature that takes info from the config and streak.json files. I also added a similar feature to the --use
flag in CPCli. This feature allows you to use a template in a certain file. If you use the command while not already in a file, it just takes the name of template, appends Main
to it and puts the according extension.