mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-02-24 12:28:32 +00:00
Compare commits
2 commits
ec1b574eb0
...
386c513e23
Author | SHA1 | Date | |
---|---|---|---|
![]() |
386c513e23 | ||
![]() |
e378a2f213 |
1 changed files with 24 additions and 8 deletions
|
@ -28,10 +28,11 @@ configuration formats.
|
||||||
|
|
||||||
### `vim.maps` rewrite {#sec-vim-maps-rewrite}
|
### `vim.maps` rewrite {#sec-vim-maps-rewrite}
|
||||||
|
|
||||||
Instead of specifying map modes using submodules (eg.: `vim.maps.normal`), a new `vim.keymaps`
|
Instead of specifying map modes using submodules (eg.: `vim.maps.normal`), a new
|
||||||
submodule with support for a `mode` option has been introduced. It can be either a string, or a
|
`vim.keymaps` submodule with support for a `mode` option has been introduced. It
|
||||||
list of strings, where a string represents the short-name of the map mode(s), that the mapping
|
can be either a string, or a list of strings, where a string represents the
|
||||||
should be set for. See `:help map-modes` for more information.
|
short-name of the map mode(s), that the mapping should be set for. See
|
||||||
|
`:help map-modes` for more information.
|
||||||
|
|
||||||
For example:
|
For example:
|
||||||
|
|
||||||
|
@ -62,7 +63,6 @@ Note that we are looking to add more alternatives in the future like
|
||||||
dressing.nvim and actions-preview.nvim, in case fastaction doesn't work for
|
dressing.nvim and actions-preview.nvim, in case fastaction doesn't work for
|
||||||
everyone.
|
everyone.
|
||||||
|
|
||||||
|
|
||||||
## Changelog {#sec-release-0.7-changelog}
|
## Changelog {#sec-release-0.7-changelog}
|
||||||
|
|
||||||
[ItsSorae](https://github.com/ItsSorae):
|
[ItsSorae](https://github.com/ItsSorae):
|
||||||
|
@ -150,12 +150,29 @@ everyone.
|
||||||
- Replace `vim.lsp.nvimCodeActionMenu` with `vim.ui.fastaction`, see the
|
- Replace `vim.lsp.nvimCodeActionMenu` with `vim.ui.fastaction`, see the
|
||||||
breaking changes section above for more details
|
breaking changes section above for more details
|
||||||
|
|
||||||
- Add a `setupOpts` option to nvim-surround, which allows modifying options that aren't defined in nvf. Move the alternate nvim-surround keybinds to use `setupOpts`.
|
- Add a `setupOpts` option to nvim-surround, which allows modifying options that
|
||||||
|
aren't defined in nvf. Move the alternate nvim-surround keybinds to use
|
||||||
|
`setupOpts`.
|
||||||
|
|
||||||
|
- Remove `autopairs.type`, and rename `autopairs.enable` to
|
||||||
|
`autopairs.nvim-autopairs.enable`. The new
|
||||||
|
[](#opt-vim.autopairs.nvim-autopairs.enable) supports `setupOpts` format by
|
||||||
|
default.
|
||||||
|
|
||||||
|
- Refactor of `nvim-cmp` and completion related modules
|
||||||
|
- Remove `autocomplete.type` in favor of per-plugin enable options such as
|
||||||
|
[](#opt-vim.autocomplete.nvim-cmp.enable).
|
||||||
|
- Deprecate legacy Vimsnip in favor of Luasnip, and integrate
|
||||||
|
friendly-snippets for bundled snippets. [](#opt-vim.snippets.luasnip.enable)
|
||||||
|
can be used to toggle Luasnip.
|
||||||
|
- Add sorting function options for completion sources under
|
||||||
|
[](#opt-vim.autocomplete.nvim-cmp.sorting.comparators)
|
||||||
|
|
||||||
[Neovim documentation on `vim.cmd`]: https://neovim.io/doc/user/lua.html#vim.cmd()
|
[Neovim documentation on `vim.cmd`]: https://neovim.io/doc/user/lua.html#vim.cmd()
|
||||||
|
|
||||||
- Make Neovim's configuration file entirely Lua based. This comes with a few
|
- Make Neovim's configuration file entirely Lua based. This comes with a few
|
||||||
breaking changes:
|
breaking changes:
|
||||||
|
|
||||||
- `vim.configRC` has been removed. You will need to migrate your entries to
|
- `vim.configRC` has been removed. You will need to migrate your entries to
|
||||||
Neovim-compliant Lua code, and add them to `vim.luaConfigRC` instead.
|
Neovim-compliant Lua code, and add them to `vim.luaConfigRC` instead.
|
||||||
Existing vimscript configurations may be preserved in `vim.cmd` functions.
|
Existing vimscript configurations may be preserved in `vim.cmd` functions.
|
||||||
|
@ -248,4 +265,3 @@ everyone.
|
||||||
- Add support for [base16 theming](https://github.com/RRethy/base16-nvim) under
|
- Add support for [base16 theming](https://github.com/RRethy/base16-nvim) under
|
||||||
`vim.theme`
|
`vim.theme`
|
||||||
- Fix internal breakage in `elixir-tools` setup.
|
- Fix internal breakage in `elixir-tools` setup.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue