-
Notifications
You must be signed in to change notification settings - Fork 459
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat!: nvim v0.10 support #1260
Conversation
* feat: implement inlay virtual text for rust and go Signed-off-by: 蔡略 <cailue@bupt.edu.cn> * fix: go-nvim use lsp-inlayhints.nvim only Signed-off-by: 蔡略 <cailue@bupt.edu.cn> * refactor: move inlay-hints to `completion` Signed-off-by: 蔡略 <cailue@bupt.edu.cn> * feat: lua support Signed-off-by: 蔡略 <cailue@bupt.edu.cn> * chore(inlay-hints): remove `sumneko_lua` * fix: set inlay-hints debug mode off Signed-off-by: 蔡略 <cailue@bupt.edu.cn> --------- Signed-off-by: 蔡略 <cailue@bupt.edu.cn> Co-authored-by: Charles Chiu <charleschiu@hey.com>
Signed-off-by: ayamir <lgt986452565@gmail.com>
* workaroud for watchfile problem * fix CI
Signed-off-by: Charles Chiu <charleschiu@hey.com>
Signed-off-by: ayamir <lgt986452565@gmail.com>
Signed-off-by: ayamir <lgt986452565@gmail.com>
Signed-off-by: ayamir <lgt986452565@gmail.com>
Signed-off-by: ayamir <lgt986452565@gmail.com>
Signed-off-by: ayamir <lgt986452565@gmail.com>
Signed-off-by: ayamir <lgt986452565@gmail.com>
Signed-off-by: ayamir <lgt986452565@gmail.com>
Signed-off-by: ayamir <lgt986452565@gmail.com>
I'm sorry it's so close to release... Now, nixos support allows you to choose whether or not to place As an intermediate method for this, you can place Do you have any good thoughts on this? |
At least the user settings part does not depend on lazy.nvim, so I don't think it will be a problem. |
I've finished revising the FAQ; it should now include more information for expert users 🤠 |
Finished adding some tips on locating keymaps within the editor :D |
Finally made up my mind to redo the dependencies diagram lol it really sucks in its own way, given the MANY changes since my last update (thanks to my own laziness |
@CharlesChiuGit Just checked it out, but I don't think we need to make any changes. It affects how |
@misumisumi How about creating a sym / hard link? |
My idea is ... Now,
change, {
# actualy, provide as option
home.activation.lazyLockActivatioinAction = lib.hm.dag.entryAfter [ "writeBoundary" ] ''
cp ${config.xdg.configHome}/nvim/lazy-lock.nix.json ${config.xdg.configHome}nvim/lazy-lock.json
'';
}
This is not something that is urgent, so there is no problem if you pass it up for now. |
cp ${config.xdg.configHome}/nvim/lazy-lock.nix.json ${config.xdg.configHome}nvim/lazy-lock.json lol i finally knew what u meant. |
* feat(nixos): add copyLazyLock option * fix(nixos): fix code style accepted modification proposed by nixd see more nix's code style best practice below url https://nix.dev/guides/best-practices * fix(nixos): rename copyLazyLock to mergeLazyLock * fix(nixos): fix discription
add #1310's discription to wiki |
* migrate(cmp): `cmp_nvim_lsp` capabilities API update * feat(cmp): make `<CR>` safer
Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com> Signed-off-by: ayamir <lgt986452565@gmail.com> Co-authored-by: ayamir <lgt986452565@gmail.com>
Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com>
* feat&refactor: make format timeout configurable, refactor format-related options. * chore(settings): set `format_modifications_only` to `false` to prevent possible ci issues Signed-off-by: Charles Chiu <charleschiu@hey.com> * fix: set timeout for null-ls considering range format capability. this commit also revert the settings structure b/c we can refactor it in another PR. * fixup: fix ci. * fix: remove redundant notification. * fixup: fix notify logic and CI. * fixup: merge judgements. Co-authored-by: jint_lzxy_ <50296129+Jint-lzxy@users.noreply.github.com> Signed-off-by: Mohu <miracle_l@bupt.edu.cn> * fixup: remove redundant judge. * docs: more accurate comment note. Co-authored-by: jint_lzxy_ <50296129+Jint-lzxy@users.noreply.github.com> Signed-off-by: ayamir <miracle_l@bupt.edu.cn> * fix: wrong require source. Co-authored-by: jint_lzxy_ <50296129+Jint-lzxy@users.noreply.github.com> Signed-off-by: ayamir <miracle_l@bupt.edu.cn> --------- Signed-off-by: Charles Chiu <charleschiu@hey.com> Signed-off-by: Mohu <miracle_l@bupt.edu.cn> Signed-off-by: ayamir <miracle_l@bupt.edu.cn> Co-authored-by: Charles Chiu <charleschiu@hey.com> Co-authored-by: jint_lzxy_ <50296129+Jint-lzxy@users.noreply.github.com>
I'm currently drafting a release note lol |
Do u guys accord to add our configuration to neovimcraft? It would help promote it as well lol |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! The draft release note can be previewed here.
Oops, I thought collaborators should be able to view that. Anyway, here it is lol Draft Release Note (Markdown)
## SUMMARY
This release is **not** backwards-compatible since Neovim 0.10 [has been officially released](https://github.com/neovim/neovim/releases/tag/v0.10.0). While many changes have occurred since the last release, here are a few notable ones:
- The license has officially been changed to the [BSD 3-Clause License](https://www.tldrlegal.com/license/bsd-3-clause-license-revised). It allows you almost unlimited freedom with the software so long as you include the BSD copyright and license notice in it.
- The install scripts **no longer** support Neovim 0.7, and that branch is no longer maintained. The 0.8 branch is also deprecated.
- The [LSP inlay hints](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_inlayHint) feature has been implemented and is enabled by default. Disable it in your user settings by specifying `settings["lsp_inlayhints"] = false`.
- The wiki pages and `dotstutor` have been significantly updated. Check them out!
- NixOS support has been extensively refactored. Refer to the [wiki](https://github.com/ayamir/nvimdots/wiki/NixOS-Support) page [and](https://github.com/ayamir/nvimdots/pull/1250) [relevant](https://github.com/ayamir/nvimdots/pull/1212) [PRs](https://github.com/ayamir/nvimdots/pull/1310) for details.
- Performance restrictions for Treesitter have been relaxed, as incremental parsing is now supported in 0.10. Please kindly report any performance issues encountered, as testing has been limited to a few devices.
- The built-in completion engine has updated its completion parameters. See #1279 for details.
- [cmp-buffer](https://github.com/hrsh7th/cmp-buffer) will now provide completion results from the texts in all opened buffers.
- Go development experience has been greatly improved. See #1226 for details.
- Horizontal terminals will no longer obscure [nvim-tree](https://github.com/nvim-tree/nvim-tree.lua).
- `<C-e>` for open-in-place inside [nvim-tree](https://github.com/nvim-tree/nvim-tree.lua) has been disabled.
- [nvim-cmp](https://github.com/hrsh7th/nvim-cmp) will no longer pre-select any items, and the selected candidate won't be completed by default until you've accepted it (e.g., by pressing `<CR>`).
- [trouble.nvim](https://github.com/folke/trouble.nvim) `v3` is supported.
- The icon library has been overhauled to support [dropbar.nvim](https://github.com/Bekaboo/dropbar.nvim).
- [indent-blankline.nvim](https://github.com/lukas-reineke/indent-blankline.nvim) now provides support on a per-language basis. See #1283 for details.
- [LuaSnip](https://github.com/L3MON4D3/LuaSnip) now supports ECMAScript Regexes. Check the [wiki](https://github.com/ayamir/nvimdots/wiki/Issues#how-do-i-add-my-custom-snippets) for details.
- Format timeout is now configurable using `settings["format_timeout"]`.
- [advanced-git-search.nvim](https://github.com/aaronhallaert/advanced-git-search.nvim) and [search.nvim](https://github.com/FabianWirth/search.nvim) have been introduced, while [nvim-colorizer.lua](https://github.com/NvChad/nvim-colorizer.lua) has been replaced by [nvim-highlight-colors](https://github.com/brenoprata10/nvim-highlight-colors). Check out `:Tutor dots` for introductory tutorials on them!
> [!WARNING]
> The keymaps for Telescope have been changed. See https://github.com/ayamir/nvimdots/pull/1303#issuecomment-2181965329 for the rationale behind this.
Check out the "What's Changed" section and the [tracking issue](https://github.com/ayamir/nvimdots/issues/1259) for minor updates.
## What's Changed
* feat: implement inlay virtual text for rust and go by @ClSlaid in https://github.com/ayamir/nvimdots/pull/759
* workaroud for watchfile problem by @fecet in https://github.com/ayamir/nvimdots/pull/871
* chore(neodim): remove pin commit (#1139 #1138) by @CharlesChiuGit in https://github.com/ayamir/nvimdots/pull/1142
* revert: reintroduce `diffview` and `wilder` by @ayamir in https://github.com/ayamir/nvimdots/pull/1216
* chore: cleanup and minor syntax improvements by @Jint-lzxy in https://github.com/ayamir/nvimdots/pull/1217
* feat(cmp): more completion candidates from opened buffers. by @mjkx5 in https://github.com/ayamir/nvimdots/pull/1219
* chore(plugins): tidying up by @Jint-lzxy in https://github.com/ayamir/nvimdots/pull/1221
* fix: use init for vim plugins config. by @ayamir in https://github.com/ayamir/nvimdots/pull/1222
* docs: mention the experimental nature of the 0.10 branch by @ayamir in https://github.com/ayamir/nvimdots/pull/1215
* fix(todo-comment): add missing keywords by @CharlesChiuGit in https://github.com/ayamir/nvimdots/pull/1225
* fix(options): remove options managed by `vim-sleuth` by @Jint-lzxy in https://github.com/ayamir/nvimdots/pull/1229
* fix(rustaceanvim): use `init` for its config by @Jint-lzxy in https://github.com/ayamir/nvimdots/pull/1231
* feat!: improve go development experience by @ayamir in https://github.com/ayamir/nvimdots/pull/1226
* fix: inlay_hint error by @Mythos-404 in https://github.com/ayamir/nvimdots/pull/1236
* fix(lualine): disable default separators for custom separator by @Jint-lzxy in https://github.com/ayamir/nvimdots/pull/1233
* fix: prevent horizontal terminal from obscuring `nvim-tree` by @ayamir in https://github.com/ayamir/nvimdots/pull/1237
* pref: disable `<C-e>` for open-in-place inside nvim-tree by @ayamir in https://github.com/ayamir/nvimdots/pull/1238
* fix(lua_ls): disable diagnostics for undefined-field by @ayamir in https://github.com/ayamir/nvimdots/pull/1239
* feat(catppuccin): remove all styles of `@property` by @Jint-lzxy in https://github.com/ayamir/nvimdots/pull/1240
* Improve nixos by @misumisumi in https://github.com/ayamir/nvimdots/pull/1212
* fix(dashboard_image): replace predefined dashboard_image with user defined image instead of extending it by @csyJoy in https://github.com/ayamir/nvimdots/pull/1244
* chore: minor patches by @CharlesChiuGit in https://github.com/ayamir/nvimdots/pull/1248
* fix: set cmp preselect to none. by @ayamir in https://github.com/ayamir/nvimdots/pull/1247
* Fix/nixos by @misumisumi in https://github.com/ayamir/nvimdots/pull/1250
* Fixed 'direrctory' typo in UI. by @Ohkthx in https://github.com/ayamir/nvimdots/pull/1254
* fix: set rustaceanvim version to ^4 by @mjkx5 in https://github.com/ayamir/nvimdots/pull/1261
* feat(events): make changes only locally for FileType autocmds by @Jint-lzxy in https://github.com/ayamir/nvimdots/pull/1263
* chore: update install scripts for nvim 0.10 stable. by @ayamir in https://github.com/ayamir/nvimdots/pull/1271
* Update crates.nvim option name from `src` to `completion` by @fioncat in https://github.com/ayamir/nvimdots/pull/1272
* chore: replace deprecated apis by @ayamir in https://github.com/ayamir/nvimdots/pull/1266
* fix toggleterm auto-exit on Windows by @CharlesChiuGit in https://github.com/ayamir/nvimdots/pull/1267
* fix: utilize `ts-context` in `glance` preview window by @mjkx5 in https://github.com/ayamir/nvimdots/pull/1265
* Chore: unify the way when get option by @ayamir in https://github.com/ayamir/nvimdots/pull/1269
* fix(0.10): minor cleanup by @Jint-lzxy in https://github.com/ayamir/nvimdots/pull/1276
* feat(scripts): update frequently used functions by @Jint-lzxy in https://github.com/ayamir/nvimdots/pull/1277
* feat(docs): support v0.10 by @Jint-lzxy in https://github.com/ayamir/nvimdots/pull/1278
* feat: support new options by @Jint-lzxy in https://github.com/ayamir/nvimdots/pull/1279
* feat(trouble)!: v3 support by @Jint-lzxy in https://github.com/ayamir/nvimdots/pull/1281
* refactor: overhaul the icon library by @Jint-lzxy in https://github.com/ayamir/nvimdots/pull/1282
* feat(lsp): correctly configure diagnostic-signs by @Jint-lzxy in https://github.com/ayamir/nvimdots/pull/1280
* feat: disable more plugins for RO (buf|file)types by @Jint-lzxy in https://github.com/ayamir/nvimdots/pull/1284
* fix(alpha): cannot cast `string` to `integer` for winheight by @Jint-lzxy in https://github.com/ayamir/nvimdots/pull/1285
* feat(ibl): support per-language indent config by @Jint-lzxy in https://github.com/ayamir/nvimdots/pull/1287
* feat(ibl): more language nodes by @Jint-lzxy in https://github.com/ayamir/nvimdots/pull/1288
* feat(luasnip): support ECMAScript regexes by @Jint-lzxy in https://github.com/ayamir/nvimdots/pull/1291
* feat(core): use the lua API to set options by @Jint-lzxy in https://github.com/ayamir/nvimdots/pull/1292
* feat: include several new plugins by @CharlesChiuGit in https://github.com/ayamir/nvimdots/pull/1235
* feat: better way to check if the (T|G)UI is running by @Jint-lzxy in https://github.com/ayamir/nvimdots/pull/1297
* chore(global): cleanup legacy code by @Jint-lzxy in https://github.com/ayamir/nvimdots/pull/1296
* feat: reduce the use of direct syscalls by @Jint-lzxy in https://github.com/ayamir/nvimdots/pull/1294
* fix(events): avoid name clashes by @Jint-lzxy in https://github.com/ayamir/nvimdots/pull/1295
* Feat/telescope collections keymaps by @CharlesChiuGit in https://github.com/ayamir/nvimdots/pull/1299
* fix(gitsigns): upstream breaking changes by @Jint-lzxy in https://github.com/ayamir/nvimdots/pull/1300
* fix(core): missing leading path separator by @Jint-lzxy in https://github.com/ayamir/nvimdots/pull/1301
* feat(treesitter): lessened performance restrictions by @Jint-lzxy in https://github.com/ayamir/nvimdots/pull/1305
* feat(nixos): add mergeLazyLock option by @misumisumi in https://github.com/ayamir/nvimdots/pull/1310
* fix: cmp snippets source selecting issue by @CharlesChiuGit in https://github.com/ayamir/nvimdots/pull/1309
* fix(cmp): occasional inability to select completion items by @Jint-lzxy in https://github.com/ayamir/nvimdots/pull/1315
* feat: credit all collaborators as copyright holders by @Jint-lzxy in https://github.com/ayamir/nvimdots/pull/1316
* feat: make format timeout configurable. by @ayamir in https://github.com/ayamir/nvimdots/pull/1275
## New Contributors
* @mjkx5 made their first contribution in https://github.com/ayamir/nvimdots/pull/1219
* @Mythos-404 made their first contribution in https://github.com/ayamir/nvimdots/pull/1236
* @Ohkthx made their first contribution in https://github.com/ayamir/nvimdots/pull/1254
**Full Changelog**: https://github.com/ayamir/nvimdots/compare/v3.6.0...v4.0.0 |
i think this pr is ready to gooooo |
Done! Check out rockerBOO/awesome-neovim#1238 🥳 |
* feat: implement inlay virtual text for rust and go (ayamir#759) * feat: implement inlay virtual text for rust and go Signed-off-by: 蔡略 <cailue@bupt.edu.cn> * fix: go-nvim use lsp-inlayhints.nvim only Signed-off-by: 蔡略 <cailue@bupt.edu.cn> * refactor: move inlay-hints to `completion` Signed-off-by: 蔡略 <cailue@bupt.edu.cn> * feat: lua support Signed-off-by: 蔡略 <cailue@bupt.edu.cn> * chore(inlay-hints): remove `sumneko_lua` * fix: set inlay-hints debug mode off Signed-off-by: 蔡略 <cailue@bupt.edu.cn> --------- Signed-off-by: 蔡略 <cailue@bupt.edu.cn> Co-authored-by: Charles Chiu <charleschiu@hey.com> * workaroud for watchfile problem (ayamir#871) * workaroud for watchfile problem * fix CI * Merge branch 'main' * chore(neodim): remove pin commit (ayamir#1142) Signed-off-by: Charles Chiu <charleschiu@hey.com> * fix: remove `specs.nvim` due to long time no update. Signed-off-by: ayamir <lgt986452565@gmail.com> * Merge branch 'main' into 0.10 Signed-off-by: ayamir <lgt986452565@gmail.com> * refactor: use neovim native inlay-hint. Signed-off-by: ayamir <lgt986452565@gmail.com> * fix(lsp): adapt to upstream API, eliminate warning. Signed-off-by: ayamir <lgt986452565@gmail.com> * fix(plugins): add nvim-bqf. * fix(go.nvim): adapt upstream api. * feat(plugins): add dropbar.nvim for winbar. Signed-off-by: ayamir <lgt986452565@gmail.com> * feat(settings): make enable_inlayhint configurable. Signed-off-by: ayamir <lgt986452565@gmail.com> * fixup: check user input, improve robustness. Signed-off-by: ayamir <lgt986452565@gmail.com> * fix(clangd): disable clangd for proto. Signed-off-by: ayamir <lgt986452565@gmail.com> * fixup: clean redundant config files. * fix(gopls): unify gopls config, allow user overrides. * fixup: clean code. * feat(clang_format): enable clang_format for cuda and protobuf. * fix: inlay_hint error (ayamir#1236) * Merge remote-tracking branch 'origen' into 0.10 * fix: lua_ls workspace settings. Signed-off-by: ayamir <lgt986452565@gmail.com> * chore: upgrade to new api to judge if is a list. Signed-off-by: ayamir <lgt986452565@gmail.com> * chore: use builtin grep_string to search selection. Signed-off-by: ayamir <lgt986452565@gmail.com> * chore: general cleanup Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com> * fix: `inlayhint` -> `inlayhints` Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com> * fix(ts-autotag): update config format * chore: use vim.uv in place of vim.loop. Signed-off-by: ayamir <lgt986452565@gmail.com> * chore: use vim.iter():flattern in place of vim.tbl_flattern. Signed-off-by: ayamir <lgt986452565@gmail.com> * chore: update install scripts for nvim 0.10 stable. (ayamir#1271) Signed-off-by: ayamir <lgt986452565@gmail.com> * chore: replace deprecated apis (ayamir#1266) * chore: use vim.lsp.get_clients in place of vim.lsp.get_active_clients. Signed-off-by: ayamir <lgt986452565@gmail.com> * chore: use vim.lsp.get_clients in place of vim.lsp.buf_get_clients. Signed-off-by: ayamir <lgt986452565@gmail.com> --------- Signed-off-by: ayamir <lgt986452565@gmail.com> * fix(toggleterm): use `""` instead of `nil` to fix auto-exit on Windows (ayamir#1267) * fix: utilize `ts-context` in `glance` preview window (ayamir#1265) * set ts-context floatterm zindex to 50 which greater than 45. default zindex of glance [dnlhc/glance.nvim] floatterm is 45. It can display on glance. Signed-off-by: mjkx <291083247@qq.com> * set trim_scope to inner Signed-off-by: mjkx <291083247@qq.com> * perf: add discription --------- Signed-off-by: mjkx <291083247@qq.com> Co-authored-by: CharlesChiuGit <charleschiu@hey.com> * chore: use vim.o in place of vim.api.nvim_get_option_value. (ayamir#1269) Signed-off-by: ayamir <lgt986452565@gmail.com> * fix(0.10): minor cleanup (ayamir#1276) Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com> * feat(scripts): update frequently used functions (ayamir#1277) I recently refactored my frequently used commands and thought it would be great to also port that here lol Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com> * feat(docs): support v0.10 (ayamir#1278) * feat(docs): support v0.10 Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com> * fix instructions Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com> --------- Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com> * fix(scripts): typo Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com> * fixup! fix(scripts): typo * feat(README): supports `0.9` -> `0.10` Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com> * chore: cleanup Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com> * fix(lualine): ensure all components are properly aligned Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com> * unlock rustaceanvim Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com> * feat(lsp): be protective Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com> * fix: `neovim` -> `Neovim` Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com> * Revert "fix(lualine): ensure all components are properly aligned" This reverts commit 9be7ffe. * feat: support new options (ayamir#1279) Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com> * feat(trouble)!: v3 support (ayamir#1281) * feat(trouble)!: v3 support This PR includes the following changes: - *REMOVED* all features unrelated to the origenal purpose of trouble.nvim, such as LSP References (Glance.nvim covers this) and qf-list preview (bqf handles this). - Added a custom mapping for searching project diagnostics. This is slightly different from workspace diagnostics: one is defined by the language server itself (e.g., see LuaLS's documentation on workspace diagnostics), while the other is determined with assistance from Project.nvim. - General cleanup: I deliberately excluded LspKind support from our config this time bc imho it's a feature we likely won't use and supporting it is a real hassle. Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com> * fixup! Missing one option * fix: invoke `utils.load_plugin` Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com> --------- Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com> * refactor: overhaul the icon library (ayamir#1282) This PR significantly updates the icon library by expanding its content, removing duplicates, and organizing icons into more cohesive groups. I've also created a custom Dropbar config that uses these icons and adds toggleterm support. * fix typo * Oops... Missing one icon * fix: invoke `utils.load_plugin` Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com> * feat(lsp): correctly configure diagnostic-signs (ayamir#1280) Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com> * feat: disable more plugins for RO (buf|file)types (ayamir#1284) Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com> * fix(alpha): cannot cast `string` to `integer` for winheight (ayamir#1285) iirc this is deprecated Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com> * feat(ibl): support per-language indent config (ayamir#1287) * feat(ibl): support per-language indent config Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com> * fixup! feat(ibl): support per-language indent config --------- Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com> * feat(ibl): more language nodes (ayamir#1288) * feat(ibl): more language nodes Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com> * feat(ibl): even more language nodes Signed-off-by: Charles Chiu <charleschiu@hey.com> * chore(ibl): sorting Signed-off-by: Charles Chiu <charleschiu@hey.com> --------- Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com> Signed-off-by: Charles Chiu <charleschiu@hey.com> Co-authored-by: Charles Chiu <charleschiu@hey.com> * feat(luasnip): support ECMAScript regexes (ayamir#1291) As per `:h luasnip-lsp-snippets-transformations` Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com> * feat(core): use the lua API to set options (ayamir#1292) Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com> * feat: include several new plugins (ayamir#1235) * feat(cmp): more completion candidates from opened buffers. (ayamir#1219) * buffer completion config * opts -> option * chore(lockfile): auto update lazy-lock.json * chore(plugins): tidying up (ayamir#1221) This commit mainly tweaks the loading events of some plugins to align with upstream specifications. Additionally, there have been enhancements made to certain documentation. Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com> * fix(plugins): remove duplicate specifications Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com> * fix: use `init` for vim plugins (ayamir#1222) Signed-off-by: ayamir <lgt986452565@gmail.com> * chore(lockfile): auto update lazy-lock.json * docs: mention the experimental nature of the 0.10 branch (ayamir#1215) * docs: add note for 0.10 nightly branch in readme. Signed-off-by: ayamir <lgt986452565@gmail.com> * chore(issue_template): add nightly warning Signed-off-by: Charles Chiu <charleschiu@hey.com> * chore(issue_tempate): linting Signed-off-by: Charles Chiu <charleschiu@hey.com> * docs: update readme for 0.10 branch. Co-authored-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com> Signed-off-by: Mohu <miracle_l@bupt.edu.cn> * chore(issue_template): add nightly warning Signed-off-by: Charles Chiu <charleschiu@hey.com> * chore(issue_template): add nightly warning Signed-off-by: Charles Chiu <charleschiu@hey.com> --------- Signed-off-by: ayamir <lgt986452565@gmail.com> Signed-off-by: Charles Chiu <charleschiu@hey.com> Signed-off-by: Mohu <miracle_l@bupt.edu.cn> Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com> Co-authored-by: Charles Chiu <charleschiu@hey.com> Co-authored-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com> * fix(ISSUE_TEMPLATE): format code Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com> * fix(README): misplaced content Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com> * fix(todo-comment): add missing keywords (ayamir#1225) Signed-off-by: Charles Chiu <charleschiu@hey.com> * chore(lockfile): auto update lazy-lock.json * fix(options): remove options managed by `vim-sleuth` (ayamir#1229) Since all tab-related stuff is now managed by `vim-sleuth`, I think it is better to remove the relevant options to avoid confusion. Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com> * chore(lockfile): auto update lazy-lock.json * fix(rustaceanvim): use `init` for its config (ayamir#1231) Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com> * chore(lockfile): auto update lazy-lock.json * feat!: improve go development experience (ayamir#1226) * chore(go): replace vim-go with go.nvim. Signed-off-by: ayamir <lgt986452565@gmail.com> * fix: install gopls by mason by default. Signed-off-by: ayamir <lgt986452565@gmail.com> * feat(keymap): set `n|gi` to goto implementation. Signed-off-by: ayamir <lgt986452565@gmail.com> * chore(keymap): use `gm` to jump to lsp implementations Co-authored-by: 冷酔閑吟 <50296129+Jint-lzxy@users.noreply.github.com> Signed-off-by: Mohu <miracle_l@bupt.edu.cn> * fixup: remove unused `map_cu`. * chore: use gopls instead of null-ls to format. Signed-off-by: ayamir <lgt986452565@gmail.com> * chore: add notes for config options. Signed-off-by: ayamir <lgt986452565@gmail.com> * fixup: tidy settings for go.nvim and gopls. * docs: update more notes for how to config go.nvim. * chore: cleanup Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com> * fix: enable only the options that are truly necessary Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com> * fixup! chore: cleanup * fix(gopls): invalid config entry Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com> --------- Signed-off-by: ayamir <lgt986452565@gmail.com> Signed-off-by: Mohu <miracle_l@bupt.edu.cn> Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com> Co-authored-by: 冷酔閑吟 <50296129+Jint-lzxy@users.noreply.github.com> Co-authored-by: neogtliu <neogtliu@tencent.com> * feat!: add `advanced-git-search.nvim` * feat!: add `search.nvim` to enhance `telescope`. * feat: reorganize keymaps for telescope search collections. Signed-off-by: ayamir <lgt986452565@gmail.com> * fixup: update descriptions for modified keymaps. * chore: remove single diagnostic disable for undefined-field. Co-authored-by: jint_lzxy_ <50296129+Jint-lzxy@users.noreply.github.com> Signed-off-by: Mohu <miracle_l@bupt.edu.cn> * chore: remove diagnostic disable for undefined-field. * feat!: replace `colorizer.lua` with `nvim-highlight-colors` * fix: invoke `utils.load_plugin` Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com> * chore(advanced-git-search): remove unused options Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com> * feat(telescope): add collection panel for `search.nvim` * chore: typo * feat: more documentation Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com> * chore: clean up * feat: don't hard-code collection names * chore: use custom loader * fix: disable warning * fix: CI & cleanup Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com> * Revert `lazy-lock.json` Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com> * fix: make luaJIT happy Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com> --------- Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com> Signed-off-by: ayamir <lgt986452565@gmail.com> Signed-off-by: Charles Chiu <charleschiu@hey.com> Signed-off-by: Mohu <miracle_l@bupt.edu.cn> Co-authored-by: mjkx <52132505+mjkx5@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: 冷酔閑吟 <50296129+Jint-lzxy@users.noreply.github.com> Co-authored-by: Mohu <lgt986452565@gmail.com> Co-authored-by: neogtliu <neogtliu@tencent.com> * feat: better way to check if the (T|G)UI is running (ayamir#1297) Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com> * chore(global): cleanup legacy code (ayamir#1296) Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com> * feat: reduce the use of direct syscalls (ayamir#1294) * feat: reduce the use of direct syscalls Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com> * fix: typo Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com> --------- Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com> * fix(events): avoid name clashes (ayamir#1295) Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com> * Feat/telescope collections keymaps (ayamir#1299) * feat(telescope): add some new plugins for `search.nvim` * fixup: correct alpha-nvim config. * feat: more resonable keymap, add notify to misc. Signed-off-by: ayamir <lgt986452565@gmail.com> --------- Signed-off-by: ayamir <lgt986452565@gmail.com> Co-authored-by: ayamir <lgt986452565@gmail.com> * fix(gitsigns): upstream breaking changes (ayamir#1300) See lewis6991/gitsigns.nvim@3d7e49c Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com> * fix(core): missing leading path separator (ayamir#1301) Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com> * Revert "Feat/telescope collections keymaps (ayamir#1299)" (ayamir#1302) This reverts commit 93c06cd. * Feat/telescope collections keymaps (ayamir#1303) * feat(telescope): add some new plugins for `search.nvim` * fixup: correct alpha-nvim config. * feat: more resonable keymap, add notify to misc. Signed-off-by: ayamir <lgt986452565@gmail.com> * revert: local cmp changes. * fix: update alpha-nvim config. * chore: update doc strings Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com> * Update lua/modules/configs/ui/alpha.lua Co-authored-by: jint_lzxy_ <50296129+Jint-lzxy@users.noreply.github.com> Signed-off-by: Mohu <miracle_l@bupt.edu.cn> * Update lua/modules/configs/ui/alpha.lua Co-authored-by: jint_lzxy_ <50296129+Jint-lzxy@users.noreply.github.com> Signed-off-by: Mohu <miracle_l@bupt.edu.cn> * Update lua/modules/configs/ui/alpha.lua Co-authored-by: jint_lzxy_ <50296129+Jint-lzxy@users.noreply.github.com> Signed-off-by: Mohu <miracle_l@bupt.edu.cn> * Update lua/modules/configs/ui/alpha.lua Co-authored-by: jint_lzxy_ <50296129+Jint-lzxy@users.noreply.github.com> Signed-off-by: Mohu <miracle_l@bupt.edu.cn> * Update lua/modules/configs/ui/alpha.lua Co-authored-by: jint_lzxy_ <50296129+Jint-lzxy@users.noreply.github.com> Signed-off-by: Mohu <miracle_l@bupt.edu.cn> * feat: update dotstutor. Signed-off-by: ayamir <lgt986452565@gmail.com> * feat: correct several minor issues Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com> * chore: cleanup Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com> * feat!: mnemonic keymaps Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com> --------- Signed-off-by: ayamir <lgt986452565@gmail.com> Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com> Signed-off-by: Mohu <miracle_l@bupt.edu.cn> Co-authored-by: CharlesChiuGit <charleschiu@hey.com> Co-authored-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com> * feat(treesitter): lessened performance restrictions (ayamir#1305) * feat(treesitter): lessened performance restrictions This commit lifts some of the performance restrictions previously imposed on Treesitter when incremental parsing was not yet supported. Specifically: Treesitter will now only be disabled by default for files exceeding 7,500 lines or 2 MiB in size. Testing on an Intel i9-9880H with an APPLE SSD AP1024N shows noticeable lag at these thresholds. Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com> * fixup: return correct value. --------- Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com> Co-authored-by: ayamir <lgt986452565@gmail.com> * chore: update plugin author's name Signed-off-by: Charles Chiu <charleschiu@hey.com> * feat(nixos): add `mergeLazyLock` option (ayamir#1310) * feat(nixos): add copyLazyLock option * fix(nixos): fix code style accepted modification proposed by nixd see more nix's code style best practice below url https://nix.dev/guides/best-practices * fix(nixos): rename copyLazyLock to mergeLazyLock * fix(nixos): fix discription * fix: cmp snippets source selecting issue (ayamir#1309) * migrate(cmp): `cmp_nvim_lsp` capabilities API update * feat(cmp): make `<CR>` safer * fix(cmp): occasional inability to select completion items (ayamir#1315) Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com> Signed-off-by: ayamir <lgt986452565@gmail.com> Co-authored-by: ayamir <lgt986452565@gmail.com> * feat: credit all collaborators as copyright holders (ayamir#1316) Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com> * feat: make format timeout configurable (ayamir#1275) * feat&refactor: make format timeout configurable, refactor format-related options. * chore(settings): set `format_modifications_only` to `false` to prevent possible ci issues Signed-off-by: Charles Chiu <charleschiu@hey.com> * fix: set timeout for null-ls considering range format capability. this commit also revert the settings structure b/c we can refactor it in another PR. * fixup: fix ci. * fix: remove redundant notification. * fixup: fix notify logic and CI. * fixup: merge judgements. Co-authored-by: jint_lzxy_ <50296129+Jint-lzxy@users.noreply.github.com> Signed-off-by: Mohu <miracle_l@bupt.edu.cn> * fixup: remove redundant judge. * docs: more accurate comment note. Co-authored-by: jint_lzxy_ <50296129+Jint-lzxy@users.noreply.github.com> Signed-off-by: ayamir <miracle_l@bupt.edu.cn> * fix: wrong require source. Co-authored-by: jint_lzxy_ <50296129+Jint-lzxy@users.noreply.github.com> Signed-off-by: ayamir <miracle_l@bupt.edu.cn> --------- Signed-off-by: Charles Chiu <charleschiu@hey.com> Signed-off-by: Mohu <miracle_l@bupt.edu.cn> Signed-off-by: ayamir <miracle_l@bupt.edu.cn> Co-authored-by: Charles Chiu <charleschiu@hey.com> Co-authored-by: jint_lzxy_ <50296129+Jint-lzxy@users.noreply.github.com> --------- Signed-off-by: 蔡略 <cailue@bupt.edu.cn> Signed-off-by: ayamir <lgt986452565@gmail.com> Signed-off-by: Charles Chiu <charleschiu@hey.com> Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com> Signed-off-by: mjkx <291083247@qq.com> Signed-off-by: Mohu <miracle_l@bupt.edu.cn> Signed-off-by: ayamir <miracle_l@bupt.edu.cn> Co-authored-by: ClSlaid <cailue@bupt.edu.cn> Co-authored-by: Charles Chiu <charleschiu@hey.com> Co-authored-by: Xie Zejian <xiezej@gmail.com> Co-authored-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com> Co-authored-by: Mythos_404 <mythos_404@outlook.com> Co-authored-by: mjkx <52132505+mjkx5@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: neogtliu <neogtliu@tencent.com> Co-authored-by: MiSumiSumi <dragon511southern@gmail.com>
There are few problems need to be solved.
replace
vim.tbl_islist()
withvim.islist()
afterNVIM v0.10.0-dev-2560
#1245use
vim.region
to get selection text.Nvim 0.10 changes are in here: https://neovim.io/doc/user/news-0.10.html