v2.2.0
SUMMARY
- IMPORTANT As requested in #500 and implemented in #513 and #525, efm has now been replaced by null-ls. Please follow the steps below to complete your migration:
- If you are using the default settings, just make sure your provider is listed here.
- If you want to customize any providers, please read null-ls's docs first, and then add your entries here (following upstream's specifications). If your entry items are long, just require a config file.
clang_format
is provided as an example. - You may disable some server compatibilities in
settings.lua
.
- IMPORTANT Now all lsps require config files to perform non-default initialization. These files must match the name of the server (e.g.,
clangd
<--->clangd.lua
) and must be placed underlua/modules/configs/completion/servers/
. The contents of those files could remain unchanged. Returning a function havingopts
as a parameter is also accepted to overwrite default options. Seeclangd.lua
for an example. - Now you may set default servers/providers in
settings.lua
. We will install those servers for you during bootstrap and initialize them when appropriate. - As requested in #328, you may now use
nvim ~/.config/nvim/dots.tutor
to learn this config's basic usage interactively inneovim
. - The
FormatterToggle
command is renamed toFormatterToggleFt
.:FormatToggle
will disable lsp formatting in the current buffer, while:FormatterToggleFt
will disable lsp formatting for specific filetypes. - Several settings entries were added. Please refer to
settings.lua
for more information. - Most windows can be closed directly by pressing
q
. See #505/files for supported filetypes. - Five new plugins have been added to the base configuration:
- cmp-treesitter
- autoclose.nvim (previously nvim-autopairs)
- fcitx5.nvim (previously vim-im-select)
- paint.nvim
- codeium.nvim (optional, disabled by default)
- We now support passing parameters to the
go
debugger. See #545 for implementation detail.
Have a look at the "What's Changed" section for minor fixes.
What's Changed
- refactor(alpha): migrate to Lua API by @aarnphm in #503
- events: quitting file type with q per pattern by @aarnphm in #505
- chore(treesitter): only TSUpdate when UI is available by @aarnphm in #506
- fix:
keymap.helpers
must be required first by @CharlesChiuGit in #510 - chore(ci): disable updating lazy-lock when push commits by @CharlesChiuGit in #509
- fix: use
vim.keymap.set
for filetype by @aarnphm in #507 - feat: add/replace plugins ( #494 ) by @CharlesChiuGit in #514
- Miscellaneous updates by @Jint-lzxy in #518
- migrate: from
efm
tonull-ls
( #500 #504 ) by @CharlesChiuGit in #513 - chore(lspsaga): migrate to v0.2.7 by @Jint-lzxy in #534
- feat: add dotstutor for new users. by @ayamir in #471
- fix(treehopper): map to lua callback by @AngelontheRoad in #540
- feat(dap-dlv): add args support by @fioncat in #545
- refactor: tidy mason and null-ls handler by @aarnphm, @Jint-lzxy and @CharlesChiuGit in #525
- fix(lua-language-server): rename sumneko-lua to lua_ls by @Jint-lzxy in fa9f519
- fix(lspsaga): remove outdated options by @Jint-lzxy in 986400c
- feat(lspsaga): support version 0.2.8 by @Jint-lzxy in 42edc27
- fix(settings): disable
gopls
by default due to frequent install errors. by @ayamir in 4b572a8 - fix(lsp): add sample config for lsp, formatter not supported by mason. by @ayamir in a087e1d
- fix: stop auto closing
<
as<<
is an operator in cpp. by @ayamir in b6a2617
New Contributors
Full Changelog: v2.1.0...v2.2.0