mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-02-24 12:28:32 +00:00
Compare commits
2 commits
b2293fba07
...
295eca2083
Author | SHA1 | Date | |
---|---|---|---|
![]() |
295eca2083 | ||
![]() |
74856c2031 |
1 changed files with 10 additions and 7 deletions
|
@ -28,10 +28,10 @@ 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
|
Instead of specifying map modes using submodules (eg.: `vim.maps.normal`), a new `vim.keymaps`
|
||||||
`mode` option has mode has been introduced. It can be either a string, or a list
|
submodule with support for a `mode` option has been introduced. It can be either a string, or a
|
||||||
of strings, where a string represents the short-name of the map mode(s), that
|
list of strings, where a string represents the short-name of the map mode(s), that the mapping
|
||||||
the mapping should be set for. See `:help map-modes` for more information.
|
should be set for. See `:help map-modes` for more information.
|
||||||
|
|
||||||
For example:
|
For example:
|
||||||
|
|
||||||
|
@ -42,10 +42,13 @@ vim.maps.normal."<leader>m" = { ... };
|
||||||
has to be replaced by
|
has to be replaced by
|
||||||
|
|
||||||
```nix
|
```nix
|
||||||
vim.maps."<leader>m" = {
|
vim.keymaps = [
|
||||||
mode = "n";
|
{
|
||||||
|
key = "<leader>m";
|
||||||
|
mode = "n";
|
||||||
|
}
|
||||||
...
|
...
|
||||||
};
|
];
|
||||||
```
|
```
|
||||||
|
|
||||||
### `vim.lsp.nvimCodeActionMenu` removed in favor of `vim.ui.fastaction` {#sec-nvim-code-action-menu-deprecation}
|
### `vim.lsp.nvimCodeActionMenu` removed in favor of `vim.ui.fastaction` {#sec-nvim-code-action-menu-deprecation}
|
||||||
|
|
Loading…
Add table
Reference in a new issue