Skip to content

Commit

Permalink
🔧 (lazyload): avante + conform
Browse files Browse the repository at this point in the history
  • Loading branch information
elythh committed Jan 24, 2025
1 parent 849a7a2 commit 9e20d1c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions config/plug/completion/avante.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

plugins.avante = {
enable = false;
lazyLoad.settings.event = [ "BufEnter" ];
settings = {
claude = {
endpoint = "https://api.anthropic.com";
Expand Down
9 changes: 8 additions & 1 deletion config/plug/lsp/conform.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,15 @@
extraPackages = with pkgs; [ shfmt ];
plugins.conform-nvim = {
enable = true;
settings = {

lazyLoad.settings = {
cmd = [
"ConformInfo"
];
event = [ "BufWrite" ];
};

settings = {
format_on_save = {
lspFallback = true;
timeoutMs = 500;
Expand Down

0 comments on commit 9e20d1c

Please sign in to comment.