- instead of checking for the existence of
an option whenever that option may be
accessed, initialize default settings and
merge them with user-provided settings.
- instead of looping through all excluded
filetypes and comparing them to the current
filetype, create a set from excluded
filetypes and check if the current filetype
is present.
• problem: attempt to index a nil value err
solution: check for opts table before attempting to check if
opts table contains anything else
Should be considered a temporary fix. Validating the incoming
options table should be its own functionality
• Users may now choose to pass a list of filetypes for Tidy
to ignore to the setup function. It is not required and
will be ignored if it does not exist.
Resolves#5
• remove vim source code for implementing tidy's autocommands
and instead use the Lua API from 0.7
• update README with improved explanation and new installation
instructions
Resolves#4
- add user configuration ability
- add two new patterns
- remove empty lines at top of buffer
- condense all multiple empty lines into
one
- update README
- GIFs displaying formatting options
- default config and how to modify
- new packer entry
- credits
- remove vim file and integrate aucmd into lua