mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-12-28 05:32:23 +00:00
docs: update changelogs
This commit is contained in:
parent
a6a06f4e72
commit
98691619ef
3 changed files with 35 additions and 8 deletions
|
@ -49,7 +49,7 @@ absence.
|
||||||
- Made Copilot's Node package configurable. It is recommended to keep as
|
- Made Copilot's Node package configurable. It is recommended to keep as
|
||||||
default, but providing a different NodeJS version is now possible.
|
default, but providing a different NodeJS version is now possible.
|
||||||
|
|
||||||
- Added [](#opt-vim.cursorlineOpt) for configuring Neovim's cursorlineOpt.
|
- Added `vim.cursorlineOpt` for configuring Neovim's `vim.o.cursorlineopt`.
|
||||||
|
|
||||||
- Added `filetree.nvimTreeLua.view.cursorline`, default false, to enable
|
- Added `filetree.nvimTreeLua.view.cursorline`, default false, to enable
|
||||||
cursorline in nvimtre.
|
cursorline in nvimtre.
|
||||||
|
|
|
@ -91,6 +91,30 @@ default. This is to avoid conflicts with other modules. You can change
|
||||||
`maplocalleader` with `vim.globals.maplocalleader`, but it's recommended to set
|
`maplocalleader` with `vim.globals.maplocalleader`, but it's recommended to set
|
||||||
it to something other than `mapleader` to avoid conflicts.
|
it to something other than `mapleader` to avoid conflicts.
|
||||||
|
|
||||||
|
### `vim.*` changes {#sec-vim-opt-changes}
|
||||||
|
|
||||||
|
Inline with the [leader changes](#sec-leader-changes), we have removed some
|
||||||
|
options that were under `vim` as convenient shorthands for `vim.o.*` options.
|
||||||
|
|
||||||
|
::: {.warning}
|
||||||
|
|
||||||
|
As v0.7 features the addition of [](#opt-vim.options), those options are now
|
||||||
|
considered as deprecated. You should migrate to the appropriate options in the
|
||||||
|
`vim.options` submodule.
|
||||||
|
|
||||||
|
:::
|
||||||
|
|
||||||
|
The changes are, in no particular order:
|
||||||
|
|
||||||
|
- `colourTerm`, `mouseSupport`, `cmdHeight`, `updateTime`, `mapTime`,
|
||||||
|
`cursorlineOpt`, `splitBelow`, `splitRight`, `autoIndent` and `wordWrap` have
|
||||||
|
been mapped to their [](#opt-vim.options) equivalents. Please see the module
|
||||||
|
definition for the updated options.
|
||||||
|
|
||||||
|
- `tabWidth` has been **removed** as it lead to confusing behaviour. You can
|
||||||
|
replicate the same functionality by setting `shiftwidth`, `tabstop` and
|
||||||
|
`softtabstop` under `vim.options` as you see fit.
|
||||||
|
|
||||||
## Changelog {#sec-release-0.7-changelog}
|
## Changelog {#sec-release-0.7-changelog}
|
||||||
|
|
||||||
[ItsSorae](https://github.com/ItsSorae):
|
[ItsSorae](https://github.com/ItsSorae):
|
||||||
|
@ -133,10 +157,10 @@ it to something other than `mapleader` to avoid conflicts.
|
||||||
recommended to go through rustacean.nvim's README to take a closer look at its
|
recommended to go through rustacean.nvim's README to take a closer look at its
|
||||||
features and usage
|
features and usage
|
||||||
|
|
||||||
- Add [lz.n] support and lazy-load some builtin plugins.
|
|
||||||
|
|
||||||
[lz.n]: https://github.com/mrcjkb/lz.n
|
[lz.n]: https://github.com/mrcjkb/lz.n
|
||||||
|
|
||||||
|
- Add [lz.n] support and lazy-load some builtin plugins.
|
||||||
|
|
||||||
[jacekpoz](https://jacekpoz.pl):
|
[jacekpoz](https://jacekpoz.pl):
|
||||||
|
|
||||||
[ocaml-lsp]: https://github.com/ocaml/ocaml-lsp
|
[ocaml-lsp]: https://github.com/ocaml/ocaml-lsp
|
||||||
|
@ -300,17 +324,22 @@ it to something other than `mapleader` to avoid conflicts.
|
||||||
spellfiles to Neovim's runtime with ease.
|
spellfiles to Neovim's runtime with ease.
|
||||||
|
|
||||||
- Add combined nvf configuration (`config.vim`) into the final package's
|
- Add combined nvf configuration (`config.vim`) into the final package's
|
||||||
passthru as `passthru.neovimConfiguration` for easier debugging.
|
`passthru` as `passthru.neovimConfiguration` for easier debugging.
|
||||||
|
|
||||||
- Add support for [tiny-devicons-auto-colors] under
|
- Add support for [tiny-devicons-auto-colors] under
|
||||||
`vim.visuals.tiny-devicons-auto-colors`
|
`vim.visuals.tiny-devicons-auto-colors`
|
||||||
|
|
||||||
|
- Move options that used to set `vim.o` values (e.g. `vim.wordWrap`) into
|
||||||
|
`vim.options` as default values. Some are left as they don't have a direct
|
||||||
|
equivalent, but expect a switch eventually.
|
||||||
|
|
||||||
[ppenguin](https://github.com/ppenguin):
|
[ppenguin](https://github.com/ppenguin):
|
||||||
|
|
||||||
- Telescope:
|
- Telescope:
|
||||||
- Fixed `project-nvim` command and keybinding
|
- Fixed `project-nvim` command and keybinding
|
||||||
- Added default ikeybind/command for `Telescope resume` (`<leader>fr`)
|
- Added default ikeybind/command for `Telescope resume` (`<leader>fr`)
|
||||||
- Add `hcl` lsp/formatter (not the same as `terraform`, which is not useful for e.g. `nomad` config files).
|
- Add `hcl` lsp/formatter (not the same as `terraform`, which is not useful for
|
||||||
|
e.g. `nomad` config files).
|
||||||
|
|
||||||
[Soliprem](https://github.com/Soliprem):
|
[Soliprem](https://github.com/Soliprem):
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
inherit (lib.lists) concatLists;
|
inherit (lib.lists) concatLists;
|
||||||
inherit (lib.nvim.config) batchRenameOptions;
|
inherit (lib.nvim.config) batchRenameOptions;
|
||||||
|
|
||||||
migrationTable = {
|
renamedVimOpts = batchRenameOptions ["vim"] ["vim" "options"] {
|
||||||
colourTerm = "termguicolors";
|
colourTerm = "termguicolors";
|
||||||
mouseSupport = "mouse";
|
mouseSupport = "mouse";
|
||||||
cmdHeight = "cmdheight";
|
cmdHeight = "cmdheight";
|
||||||
|
@ -15,8 +15,6 @@
|
||||||
autoIndent = "autoindent";
|
autoIndent = "autoindent";
|
||||||
wordWrap = "wrap";
|
wordWrap = "wrap";
|
||||||
};
|
};
|
||||||
|
|
||||||
renamedVimOpts = batchRenameOptions ["vim"] ["vim" "options"] migrationTable;
|
|
||||||
in {
|
in {
|
||||||
imports = concatLists [
|
imports = concatLists [
|
||||||
[
|
[
|
||||||
|
|
Loading…
Reference in a new issue