plugins.oil.settings.view_options.is_always_hidden

This function defines what will never be shown, even when show_hidden is set.

Plugin default:

function(name, bufnr)
  return false
end

Type: null or lua function string

Default: null

Declared by:

plugins.oil.settings.view_options.is_hidden_file

This function defines what is considered a ‘hidden’ file.

Plugin default:

function(name, bufnr)
  return vim.startswith(name, ".")
end

Type: null or lua function string

Default: null

Declared by:

plugins.oil.settings.view_options.natural_order

Sort file names in a more intuitive order for humans. Is less performant, so you may want to set to false if you work with large directories.

Plugin default: true

Type: null or boolean or raw lua code

Default: null

Declared by:

plugins.oil.settings.view_options.show_hidden

Show files and directories that start with “.”

Plugin default: false

Type: null or boolean or raw lua code

Default: null

Declared by:

plugins.oil.settings.view_options.sort

Sort order can be “asc” or “desc”. See :help oil-columns to see which columns are sortable.

Plugin default:

[
  ["type" "asc"]
  ["name" "asc"]
]

Type: null or (list of ((list of string) or raw lua code))

Default: null

Declared by: