-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(config)!: new opts, validation, modify
setup()
- New options, including `hooks` and filters for acwrite buffers! See `README.md` for all options. - `create_parent_dirs` may be set to `false` to disable the automatic creation of missing parent directories (such buffers/files will not be written then). - Fully customizable, on-the-fly buffer filtering/exclusion by returning `false` in `buf_autosave_pre()` hook. - Implement type/option module at `sos.type` which provides validation, defaults generation, and LSP type generation. - Strict runtime config checking/validation in `setup()`. - LSP types (enabling type-checking and autocompletion for `setup({...})`) for all options. Modify the behavior of `setup()`: - All-or-nothing: no longer incrementally applies config; each time `setup()` is called, what you pass is what you get. - Now behaves similar to how the `setup()` function of most other Neovim plugins behave. BREAKING-CHANGE: `should_observe_buf` is now deprecated and will be removed in the future. `on_timer` is now internal and no longer public.
- Loading branch information
Showing
15 changed files
with
1,751 additions
and
241 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.