refactor(nvim): better support 0.10.0
release
Some checks failed
Check Formatting of Files / Check-Formatting (push) Has been cancelled
Some checks failed
Check Formatting of Files / Check-Formatting (push) Has been cancelled
This commit is contained in:
parent
b67d4c0c20
commit
c30e8b1164
@ -122,9 +122,6 @@ M.setup = function()
|
||||
opt.modeline = true
|
||||
opt.modelines = 5
|
||||
|
||||
-- Set command bar height
|
||||
opt.cmdheight = 1
|
||||
|
||||
-- Set splitkeep
|
||||
vim.opt.splitkeep = "cursor"
|
||||
|
||||
|
@ -557,7 +557,11 @@ return {
|
||||
},
|
||||
{
|
||||
provider = function(self)
|
||||
return " " .. (vim.diagnostic.is_disabled(self.bufnr) and " " or " ")
|
||||
return " "
|
||||
.. (
|
||||
(not vim.diagnostic.is_enabled({ bufnr = self.bufnr })) and " "
|
||||
or " "
|
||||
)
|
||||
end,
|
||||
hl = {
|
||||
bg = colors.oniViolet,
|
||||
|
@ -2,6 +2,9 @@ return {
|
||||
{
|
||||
"folke/noice.nvim",
|
||||
lazy = false,
|
||||
init = function()
|
||||
vim.opt.cmdheight = 0
|
||||
end,
|
||||
opts = {
|
||||
lsp = {
|
||||
override = {
|
||||
|
Loading…
Reference in New Issue
Block a user