Compare commits

..

5 Commits

Author SHA1 Message Date
c42ebc216a chore(main): release 2.12.1 ()
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-28 15:26:43 +02:00
bdddb215cc chore(build): auto-generate vimdoc 2023-04-28 09:48:21 +00:00
eb143ebe11 fix(format): only do null-ls formatting logic when null-ls is availble. Fixes 2023-04-28 11:47:37 +02:00
86ac9989ea chore(build): auto-generate vimdoc 2023-04-25 07:13:27 +00:00
dc1d48f436 style: Change description of notify.dismiss() binding () 2023-04-25 09:12:41 +02:00
4 changed files with 11 additions and 3 deletions

@ -1,5 +1,12 @@
# Changelog
## [2.12.1](https://github.com/LazyVim/LazyVim/compare/v2.12.0...v2.12.1) (2023-04-28)
### Bug Fixes
* **format:** only do null-ls formatting logic when null-ls is availble. Fixes [#684](https://github.com/LazyVim/LazyVim/issues/684) ([eb143eb](https://github.com/LazyVim/LazyVim/commit/eb143ebe110995fb208fc480958a55858944c5f9))
## [2.12.0](https://github.com/LazyVim/LazyVim/compare/v2.11.0...v2.12.0) (2023-04-24)

@ -1,4 +1,4 @@
*LazyVim.txt* For Neovim >= 0.8.0 Last change: 2023 April 24
*LazyVim.txt* For Neovim >= 0.8.0 Last change: 2023 April 28
==============================================================================
Table of Contents *LazyVim-table-of-contents*

@ -25,7 +25,8 @@ function M.format(opts)
return
end
local ft = vim.bo[buf].filetype
local have_nls = #require("null-ls.sources").get_available(ft, "NULL_LS_FORMATTING") > 0
local have_nls = package.loaded["null-ls"]
and (#require("null-ls.sources").get_available(ft, "NULL_LS_FORMATTING") > 0)
vim.lsp.buf.format(vim.tbl_deep_extend("force", {
bufnr = buf,

@ -8,7 +8,7 @@ return {
function()
require("notify").dismiss({ silent = true, pending = true })
end,
desc = "Delete all Notifications",
desc = "Dismiss all Notifications",
},
},
opts = {