Skip to content

how to disable completely? #43

Description

@Sleepful

how do I check if this is enabled or not in neovim?
how do I disable it in a buffer for certain?

Activity

  1. Sleepful commented on May 10, 2025

    @Sleepful
    Author

    I think I had to use :set indentkeys-=o, very confusing

  2. Sleepful commented on May 10, 2025

    @Sleepful
    Author

    I am having an issue, if there are unbalanced params in a string or a comment, then indentation goes crazyyy

  3. Sleepful commented on May 10, 2025

    @Sleepful
    Author
    ; .................... {
    (deftest test |(and)

    enter a new line at | cursor position:

    ; .................... {
    (deftest test 
                            |(and)
  4. axvr commented on Jul 12, 2025

    @axvr
    Member

    Hi, it likely enabled. There are a number of ways to turn off the indentation. Your best bet would be to run one of the following after the file is opened:

    setlocal indentexpr=

    If you want to check if it is enabled you can do so by running setlocal indentexpr?.

    This bug will be fixed soon-ish in #31. In the meantime, while not ideal, I suggest finding a way around using unclosed { characters in comments. (If you're using them for folding, you can change the fold markers, see :help fold-marker.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions