Open Bretley opened 8 years ago
Hi, I'm not sure if I follow you. FYI the defaults are as follows: https://github.com/junegunn/limelight.vim/blob/106fb5749d227a0de72e36068ed72798c6fd48e6/autoload/limelight.vim#L46-L47
Im a bit rusty on regex, the first one is newline tab, what's the second one?
On Aug 23, 2016 12:42 PM, "Junegunn Choi" notifications@github.com wrote:
Hi, I'm not sure if I follow you. FYI the defaults are as follows: https://github.com/junegunn/limelight.vim/blob/ 106fb5749d227a0de72e36068ed72798c6fd48e6/autoload/limelight.vim#L46-L47
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/junegunn/limelight.vim/issues/34#issuecomment-241795849, or mute the thread https://github.com/notifications/unsubscribe-auth/AICBCZJZXbeVIO1wB8c-qRpK5kC6JqZeks5qiyLdgaJpZM4JqHHY .
^\s*$
matches empty line or line that only has whitespace characters.
OK ok, I just meant having named defaults for those, ie let g:something ="tab"
That would help scrubs like me out
On Aug 23, 2016 12:50 PM, "Junegunn Choi" notifications@github.com wrote:
^\s*$ matches empty line or line that only has whitespace characters.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/junegunn/limelight.vim/issues/34#issuecomment-241798120, or mute the thread https://github.com/notifications/unsubscribe-auth/AICBCeSW9uV2dlo0IzxfjZXu_Zj2aX52ks5qiyS7gaJpZM4JqHHY .
I think having a 'tab' and 'newline' would be good defaults for the eop, if there was a way to do it so you could still make your own regexes. Your regex in the example matches tab, another common one in latex is to have a newline in between two paragraphs with no indentation. Just a suggestion