Re: vim9 exported func badly indented

14 views
Skip to first unread message

Owajigbanam Ogbuluijah

unread,
Feb 13, 2023, 1:28:41 PM2/13/23
to vim...@googlegroups.com
FYI this modification indents properly

export def ProfileVimStartup(): void
  profile start $tmp/vimprofiler.log
  profile file *;
  profile func *;
enddef


On Thu, Feb 2, 2023 at 4:13 PM N i c o l a s <niva...@gmail.com> wrote:
Hi,

Got this vim9 func, visual select all lines, type =, it is indenting badly. 

export def ProfileVimStartup(): void
  profile start $tmp/vimprofiler.log
  profile file *
    profile func *
    enddef


Thank you
N i co las

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/ec6b990a-9196-4089-ae4a-fd043c9e8749n%40googlegroups.com.

N i c o l a s

unread,
Feb 18, 2023, 1:54:55 PM2/18/23
to vim_use

Thanks but this is a workaround.  
Since when do you need semicolons in a vim script to indicate the end of a statement?
Reply all
Reply to author
Forward
0 new messages