Skip to content

Auto Save doesn't seem to work #12553

@B4Dmonkey

Description

@B4Dmonkey

Summary

Hey, I'm trying to configure helix for auto save. Going based on this documentation I've updated my config but when I execute :config-reload I get an error. I've read some past threads about this so perhaps my configuration is wrong. I've just started using helix this week.

#3451

Reproduction Steps

I tried this:

  1. add the following configuration
    [editor.auto-save] after-delay.enabled=true after-delay.timeout=1000
  2. execute :config-reload

I expected this to happen:
Config save successfully and auto saving works

Instead, this happened:

Image

Helix log

note these logs don't seem relevant as they are from 2 days ago but i will attach them.

2025-01-14T12:54:46.788 helix_dap::transport [ERROR] <- DAP error Some("Failed to launch") (Some(Object {"error": Object {"format": String("Failed to launch: Build error: Check the debug console for details."), "id": Number(3000), "showUser": Bool(false)}})) for command #1 launch 2025-01-14T12:55:10.573 helix_dap::transport [ERROR] <- DAP error Some("Internal Error") (Some(Object {"error": Object {"format": String("Internal Error: runtime error: invalid memory address or nil pointer dereference"), "id": Number(8888), "showUser": Bool(false)}})) for command #2 2025-01-14T12:55:19.598 helix_dap::transport [ERROR] err: <- StreamClosed 2025-01-14T12:55:36.252 helix_dap::transport [ERROR] <- DAP error Some("Failed to launch") (Some(Object {"error": Object {"format": String("Failed to launch: Build error: Check the debug console for details."), "id": Number(3000), "showUser": Bool(false)}})) for command #1 launch

~/.cache/helix/helix.log
please provide a copy of `~/.cache/helix/helix.log` here if possible, you may need to redact some of the lines

Platform

macos

Terminal Emulator

ghostty

Installation Method

brew

Helix Version

helix 25.1 (dabfb6c)

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions