editorconfig.enable
editorconfig plugin for neovim
Type: boolean
Default:
true
Declared by:
editorconfig.properties
The table key is a property name and the value is a callback function which accepts the number of the buffer to be modified, the value of the property in the .editorconfig file, and (optionally) a table containing all of the other properties and their values (useful for properties which depend on other properties). The value is always a string and must be coerced if necessary.
Type: attribute set of string
Default:
{ }
Example:
{
foo = ''
function(bufnr, val, opts)
if opts.charset and opts.charset ~= "utf-8" then
error("foo can only be set when charset is utf-8", 0)
end
vim.b[bufnr].foo = val
end
'';
}
Declared by: