Merge branch 'main' into docs-cleanup-again

This commit is contained in:
Ching Pei Yang 2025-05-09 04:44:45 +02:00 committed by GitHub
commit 17d876b0b4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 7 additions and 6 deletions

2
.github/labels.yml vendored
View file

@ -24,7 +24,7 @@
- any-glob-to-any-file: - any-glob-to-any-file:
- .github/workflows/*.yml - .github/workflows/*.yml
- .github/typos.toml - .github/typos.toml
. .github/dependabot.yml - .github/dependabot.yml
"topic: meta": "topic: meta":
- any: - any:

View file

@ -101,6 +101,7 @@
"eslint.config.js" "eslint.config.js"
"eslint.config.mjs" "eslint.config.mjs"
".eslintrc" ".eslintrc"
".eslintrc.cjs"
".eslintrc.json" ".eslintrc.json"
".eslintrc.js" ".eslintrc.js"
".eslintrc.yml" ".eslintrc.yml"

View file

@ -84,13 +84,13 @@ in {
group = augroup, group = augroup,
buffer = bufnr, buffer = bufnr,
callback = function() callback = function()
${
if config.vim.lsp.null-ls.enable
then ''
if vim.b.disableFormatSave then if vim.b.disableFormatSave then
return return
end end
${
if config.vim.lsp.null-ls.enable
then ''
local function is_null_ls_formatting_enabled(bufnr) local function is_null_ls_formatting_enabled(bufnr)
local file_type = vim.api.nvim_buf_get_option(bufnr, "filetype") local file_type = vim.api.nvim_buf_get_option(bufnr, "filetype")
local generators = require("null-ls.generators").get_available( local generators = require("null-ls.generators").get_available(

View file

@ -109,7 +109,7 @@ in {
type = nullOr str; type = nullOr str;
default = null; default = null;
description = '' description = ''
The indicatotor icon to use for the current buffer. The indicator icon to use for the current buffer.
::: {.warning} ::: {.warning}
This **must** be omitted while style is not `icon` This **must** be omitted while style is not `icon`