mirror of
https://github.com/pnx/dotfiles
synced 2026-06-18 20:10:03 +02:00
nvim: fix some minor linting issues.
This commit is contained in:
parent
89ecd1070a
commit
1a3ed3453c
2 changed files with 4 additions and 2 deletions
|
|
@ -1,5 +1,6 @@
|
||||||
|
|
||||||
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
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
|
if not (vim.uv or vim.loop).fs_stat(lazypath) then
|
||||||
local lazyrepo = "https://github.com/folke/lazy.nvim.git"
|
local lazyrepo = "https://github.com/folke/lazy.nvim.git"
|
||||||
local out = vim.fn.system({ "git", "clone", "--filter=blob:none", "--branch=stable", lazyrepo, lazypath })
|
local out = vim.fn.system({ "git", "clone", "--filter=blob:none", "--branch=stable", lazyrepo, lazypath })
|
||||||
|
|
|
||||||
|
|
@ -95,8 +95,9 @@ vim.diagnostic.config({
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
float = {
|
float = {
|
||||||
|
---@diagnostic disable-next-line: assign-type-mismatch
|
||||||
border = { " " },
|
border = { " " },
|
||||||
header = false,
|
header = "",
|
||||||
source = true,
|
source = true,
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
@ -105,7 +106,7 @@ vim.diagnostic.config({
|
||||||
-- Extras
|
-- Extras
|
||||||
-------------------------------------------------------
|
-------------------------------------------------------
|
||||||
|
|
||||||
user = {}
|
user = {} ---@diagnostic disable-line: lowercase-global
|
||||||
|
|
||||||
user.highlight_yank = {
|
user.highlight_yank = {
|
||||||
enable = true,
|
enable = true,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue