mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-01-18 08:08:40 +00:00
Compare commits
10 commits
55e11e543b
...
17d876b0b4
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
17d876b0b4 |
||
|
|
09f2e1d524 |
||
|
a1806457ca |
|||
|
|
edbfc120af | ||
|
99f1200c8d |
|||
|
d3c7f7125c |
|||
|
f07468e13a |
|||
|
d330db08e0 |
|||
|
|
9e94587102 | ||
|
|
61be6cf405 |
4 changed files with 7 additions and 6 deletions
2
.github/labels.yml
vendored
2
.github/labels.yml
vendored
|
|
@ -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:
|
||||||
|
|
|
||||||
|
|
@ -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"
|
||||||
|
|
|
||||||
|
|
@ -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(
|
||||||
|
|
|
||||||
|
|
@ -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`
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue