Minor fixes

pull/462/head
Arijit Basu 2 years ago
parent 0472bc3e66
commit aca6127166
No known key found for this signature in database
GPG Key ID: 0F8EF5258DC38077

@ -39,9 +39,6 @@ While `xplr.config` defines all the static parts of the configuration,
`xplr.fn` defines all the dynamic parts using functions.
See: [Lua Function Calls](https://xplr.dev/en/lua-function-calls)
### Builtin Functions
As always, `xplr.fn.builtin` is where the built-in functions are defined
that can be overwritten.
@ -65,7 +62,7 @@ Renders the fourth column in the table
Renders the fifth column in the table
### Custom Functions
#### xplr.fn.custom
This is where the custom functions can be added.

@ -211,7 +211,7 @@ The string placed after the item name for a focused row.
Type: nullable string
#### xplr.config.general.focus_ui.style({
#### xplr.config.general.focus_ui.style
Style for focused item.
Type: [Style](https://xplr.dev/en/style)
@ -309,7 +309,7 @@ Type: nullable mapping of the following key-value pairs:
- key: [Sorter](https://xplr.dev/en/sorting#sorter)
- value:
- format: nullable string
- style: [Style][https://xplr.dev/en/style]
- style: [Style](https://xplr.dev/en/style)
#### xplr.config.general.sort_and_filter_ui.filter_identifiers
@ -320,7 +320,7 @@ Type: nullable mapping of the following key-value pairs:
- key: [Filter](https://xplr.dev/en/filtering#filter)
- value:
- format: nullable string
- style: [Style][https://xplr.dev/en/style]
- style: [Style](https://xplr.dev/en/style)
#### xplr.config.general.panel_ui.default.title.format

@ -2440,8 +2440,6 @@ xplr.config.modes.custom = {}
--
-- See: [Lua Function Calls](https://xplr.dev/en/lua-function-calls)
-- ### Builtin Functions ------------------------------------------------------
--
-- As always, `xplr.fn.builtin` is where the built-in functions are defined
-- that can be overwritten.
@ -2594,8 +2592,6 @@ xplr.fn.builtin.fmt_general_table_row_cols_4 = function(m)
end
end
-- ### Custom Functions -------------------------------------------------------
--
-- This is where the custom functions can be added.
--
-- There is currently no restriction on what kind of functions can be defined
@ -2603,5 +2599,4 @@ end
--
-- You can also use nested tables such as
-- `xplr.fn.custom.my_plugin.my_function` to define custom functions.
xplr.fn.custom = {}

Loading…
Cancel
Save