Saturday, February 18, 2023

Re: vim9 exported func badly indented


Thanks but this is a workaround.  
Since when do you need semicolons in a vim script to indicate the end of a statement?
Le lundi 13 février 2023 à 19:28:41 UTC+1, Owajigbanam Ogbuluijah a écrit :
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.

--
--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/b3b0d1e2-3896-4b60-98c6-7f533a5a0231n%40googlegroups.com.

No comments: