diff --git a/docs/en/src/configuration.md b/docs/en/src/configuration.md index e3573dd..bf3983f 100644 --- a/docs/en/src/configuration.md +++ b/docs/en/src/configuration.md @@ -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. diff --git a/docs/en/src/general-config.md b/docs/en/src/general-config.md index 28a1c83..75182ed 100644 --- a/docs/en/src/general-config.md +++ b/docs/en/src/general-config.md @@ -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 diff --git a/src/init.lua b/src/init.lua index 6743080..e1e4e59 100644 --- a/src/init.lua +++ b/src/init.lua @@ -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 = {}