mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-09-06 10:21:31 +00:00
Merge branch 'main' into clipboard-module
This commit is contained in:
commit
ce08bf8d2c
6 changed files with 8 additions and 9 deletions
|
@ -143,8 +143,6 @@ in {
|
|||
})
|
||||
|
||||
(mkIf ftcfg.enable {
|
||||
lsp.enable = true;
|
||||
|
||||
startPlugins = [
|
||||
(
|
||||
if ftcfg.enableNoResolvePatch
|
||||
|
|
|
@ -101,6 +101,7 @@
|
|||
"eslint.config.js"
|
||||
"eslint.config.mjs"
|
||||
".eslintrc"
|
||||
".eslintrc.cjs"
|
||||
".eslintrc.json"
|
||||
".eslintrc.js"
|
||||
".eslintrc.yml"
|
||||
|
|
|
@ -84,13 +84,13 @@ in {
|
|||
group = augroup,
|
||||
buffer = bufnr,
|
||||
callback = function()
|
||||
if vim.b.disableFormatSave then
|
||||
return
|
||||
end
|
||||
|
||||
${
|
||||
if config.vim.lsp.null-ls.enable
|
||||
then ''
|
||||
if vim.b.disableFormatSave then
|
||||
return
|
||||
end
|
||||
|
||||
local function is_null_ls_formatting_enabled(bufnr)
|
||||
local file_type = vim.api.nvim_buf_get_option(bufnr, "filetype")
|
||||
local generators = require("null-ls.generators").get_available(
|
||||
|
|
|
@ -109,7 +109,7 @@ in {
|
|||
type = nullOr str;
|
||||
default = null;
|
||||
description = ''
|
||||
The indicatotor icon to use for the current buffer.
|
||||
The indicator icon to use for the current buffer.
|
||||
|
||||
::: {.warning}
|
||||
This **must** be omitted while style is not `icon`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue