Skip to content

How to configure in neovim? - uses GetOCamlIndent by default #268

Open
@gaborigloi

Description

@gaborigloi

For some reason, by default neovim uses indentexpr=GetOCamlIndent(), even if ocp-indent is enabled.
If I manually comment out the first few lines of the vim file, it switches to ocp-indent:

" Only load this indent file when no other was loaded.                                                                                                                           
"if exists("b:did_indent")                                                                                                                                                       
"  finish                                                                                                                                                                        
"endif                                                                                                                                                                           
"let b:did_indent = 1 

My neovim configuration is here

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