1
0
Fork 0
mirror of https://github.com/pnx/dotfiles synced 2026-06-16 19:30:01 +02:00

nvim: fix some minor linting issues.

This commit is contained in:
Henrik Hautakoski 2024-08-26 18:45:56 +02:00
parent 89ecd1070a
commit 1a3ed3453c
2 changed files with 4 additions and 2 deletions

View file

@ -1,5 +1,6 @@
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
---@diagnostic disable-next-line: undefined-field
if not (vim.uv or vim.loop).fs_stat(lazypath) then
local lazyrepo = "https://github.com/folke/lazy.nvim.git"
local out = vim.fn.system({ "git", "clone", "--filter=blob:none", "--branch=stable", lazyrepo, lazypath })

View file

@ -95,8 +95,9 @@ vim.diagnostic.config({
},
},
float = {
---@diagnostic disable-next-line: assign-type-mismatch
border = { " " },
header = false,
header = "",
source = true,
}
})
@ -105,7 +106,7 @@ vim.diagnostic.config({
-- Extras
-------------------------------------------------------
user = {}
user = {} ---@diagnostic disable-line: lowercase-global
user.highlight_yank = {
enable = true,