codewindow: move to setupOpts

readme: edit

codewindow: move to setupOpts

readme: edit

format
This commit is contained in:
raf 2026-01-27 10:13:17 +03:00 committed by Yoni Firroloni
commit 24305323f7
4 changed files with 9 additions and 7 deletions

View file

@ -621,7 +621,3 @@
[JudahZF](https://github.com/JudahZF):
- Added gitFiles mapping option to telescope
[vagahbond](https://github.com/vagahbond):
- moved [codewindow](https://github.com/gorbit99/codewindow.nvim) to setupOpts

View file

@ -151,4 +151,10 @@
- Added [Selenen](https://github.com/kampfkarren/selene) for more diagnostics in
`languages.lua`.
[vagahbond](https://github.com/vagahbond): [codewindow.nvim]:
https://github.com/gorbit99/codewindow.nvim
- Add [codewindow.nvim] plugin in `vim.assistant.codewindow` with `enable` and
`setupOpts`
<!-- vim: set textwidth=80: -->

View file

@ -49,4 +49,4 @@ in
"expToLua"
"listToLuaTable"
"attrsetToLuaTable"
] (name: lib.warn "${name} is deprecated use toLuaObject instead" toLuaObject)
] (name: builtins.throw "${name} is deprecated use toLuaObject instead")

View file

@ -11,7 +11,7 @@
inherit (lib.lists) isList;
inherit (lib.attrsets) attrNames;
inherit (lib.types) bool package str listOf either enum int;
inherit (lib.nvim.lua) expToLua toLuaObject;
inherit (lib.nvim.lua) toLuaObject;
inherit (lib.nvim.attrsets) mapListToAttrs;
inherit (lib.nvim.types) mkGrammarOption mkPluginSetupOption deprecatedSingleOrListOf;
inherit (lib.nvim.dag) entryAfter entryAnywhere;
@ -169,7 +169,7 @@ in {
server = {
cmd = ${
if isList cfg.lsp.package
then expToLua cfg.lsp.package
then toLuaObject cfg.lsp.package
else ''{"${cfg.lsp.package}/bin/rust-analyzer"}''
},
default_settings = {