mirror of
https://github.com/lightly-toasted/nix-config.git
synced 2025-12-10 03:49:44 +00:00
feat(nixvim): add opencode plugin
- Added opencode plugin - Added keymaps for opencode actions (<leader>oa, <leader>ox, <leader>og) - Included lsof package for opencode.nvim to function
This commit is contained in:
parent
868cc11458
commit
934f2ed339
3 changed files with 41 additions and 15 deletions
16
home/modules/cli/nixvim/plugins/opencode.nix
Normal file
16
home/modules/cli/nixvim/plugins/opencode.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{ pkgs, ...}:
|
||||
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
lsof
|
||||
];
|
||||
programs.nixvim = {
|
||||
plugins.opencode = {
|
||||
enable = true;
|
||||
settings = {
|
||||
auto_reload = true;
|
||||
};
|
||||
};
|
||||
opts.autoread = true;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue