Skip to content

deepskyblue86/bard-nvim

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bard CLI Neovim plugin

Installation

in your neovim config, add the following plugin

Plug 'mosajjal/bard-cli', {'rtp': 'nvim'}

by default, the plugin looks for bard-cli in $HOME/go/bin/bard-cli and the configuration file at $HOME/.bardcli.yaml

to change that, run the setup function of bard using the following

lua require('bard').setup({bardcli_path="$HOME/go/bin/bard-cli", bardcli_config_path="$HOME/.bardcli.yaml"})

Usage

:Askbard "write hello world in javascript"

the above will open a new vsplit and return the results in the new buffer

About

Google Bard in NeoVim

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Lua 92.3%
  • Makefile 7.7%