Skip to content

44 Add settings to customize indent functions#54

Merged
wellle merged 7 commits intomasterfrom
44-indent-functions
Feb 19, 2020
Merged

44 Add settings to customize indent functions#54
wellle merged 7 commits intomasterfrom
44-indent-functions

Conversation

@wellle
Copy link
Owner

@wellle wellle commented Feb 17, 2020

Close #44
Close #43

This is a continuation from #45 (see discussion there).
I split out a separate setting to customize the border indent for #43.

maxigit and others added 4 commits February 17, 2020 19:41
g:Context_indent_function being a funcref has to start with an uppercase
(unless there is a way to get away with it)
And g:context.Indent_function -> g:context.Indent
Which defaults to the function indent(). This can be used to customize
the border indent. For example you can disable the border indent:

    let g:Context_border_indent = { -> 0 }
To make it easier to inspect for debugging
@wellle wellle force-pushed the 44-indent-functions branch from a359e76 to 29979df Compare February 18, 2020 22:45
@wellle wellle merged commit e84ff92 into master Feb 19, 2020
@wellle wellle deleted the 44-indent-functions branch February 19, 2020 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Custom indent function Feature request: Add option to draw "context border char" from the first column

2 participants