From 6112bfe9960821f977301858e5ee9edf29319556 Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Sat, 18 Jun 2022 18:20:08 +1000 Subject: [PATCH] Set b:did_indent in indent plugin This has already been committed to the Vim repo. vim/vim@d592deb336523a5448779ee3d4bba80334cff1f7 --- indent/julia.vim | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/indent/julia.vim b/indent/julia.vim index 1e6a043..19d03a5 100644 --- a/indent/julia.vim +++ b/indent/julia.vim @@ -4,6 +4,12 @@ " Last Change: 2016 jun 16 " Notes: originally based on Bram Molenaar's indent file for vim +" Only load this indent file when no other was loaded. +if exists("b:did_indent") + finish +endif +let b:did_indent = 1 + setlocal autoindent setlocal indentexpr=GetJuliaIndent()