Skip to content

v2.0.0

Compare
Choose a tag to compare
@Jint-lzxy Jint-lzxy released this 06 Feb 09:02
· 615 commits to main since this release
29f746e

Sorry to issue two releases in such a short interval, but we must update the major version as it introduces backward-incompatible changes.
We have completely reimplemented the project structure from scratch aiming to make the config clearer and easier to maintain. Refer to the 'SUMMARY' section for detailed instructions.

If you have problems migrating your configuration, feel free to open an issue at any time

SUMMARY

Have a look at the "What's Changed" section for minor fixes.

To complete your custom config migration, please follow the below steps:

X. For both situations

  • Please read through Wiki: Usage#structure and Wiki: Usage#how-to-customize to see how to customize plugins under the new structure. Changes all occur inside the modules folder.

  • If you make changes to the configs of default plugins, use a diff-viewer (diffmerge is recommended) to compare your contents with those in 47b3f72. Next, directly replace the entire function with your configs in the corresponding plugin's setup file configs/<scope>/<plugin-name>.lua OR directly require the config you have in the custom folder.

A. If you have customized plugins in the user directory:

B. If you add custom plugins directly after the default list:

  • Sort out your custom plugins list and extract configs (functions) one by one. Then follow Wiki: Usage#add-a-new-plugin to migrate your plugins.

Several notes if you experience config breakages

  1. lua/modules/configs is now in the search path of require. So instead of requiring modules.configs.completion.lsp you should use completion.lsp instead.
  2. The tools folder was renamed to tool
  3. modules/ui/icons.lua was moved to modules/utils/icons.lua. You need to update lua calls.
  4. The my-snippets folder was renamed to snips
  5. Debuggers and language servers now have their own config files. Specify them at the bottom of configs/tool/dap/init.lua and at mason_lspconfig.setup_handlers in configs/completion/lsp.lua.
  6. Some plugins have their default location changed:
- completion  
	- not thing to change  
- editor  
	- neoscroll -> ui  
	- smartyank -> tool  
	- specs -> ui  
	- toggleterm -> tool  
	- dap -> tool  
	- vim-im-select -> tool
	- fugitive -> tool
- lang  
	- not thing to change  
- tool  
	- not thing to change
- ui  
	- nvim-tree -> tool 

What's Changed

New Contributors

Full Changelog: v1.0.0...v2.0.0