Update nvim config

This commit is contained in:
Shockwave 2024-05-26 14:52:54 +08:00
parent 30b8d668da
commit bf4fa0adcd
2 changed files with 24 additions and 8 deletions

View File

@ -1,8 +1,24 @@
local status_ok, indent_blankline = pcall(require, "ibl") local status_ok, ibl = pcall(require, "ibl")
if not status_ok then if not status_ok then
return return
end end
ibl.update(
{
exclude = {
filetypes = {
'c',
'cpp',
'java',
'json',
'json5',
'go',
'rust',
'xml',
}
}
}
)
-- vim.g.indent_blankline_buftype_exclude = { -- vim.g.indent_blankline_buftype_exclude = {
-- "terminal", -- "terminal",
-- "nofile", -- "nofile",

View File

@ -168,13 +168,13 @@ local plugins = {
}, },
}, },
-- { {
-- "HiPhish/rainbow-delimiters.nvim", "HiPhish/rainbow-delimiters.nvim",
-- lazy = false, lazy = false,
-- dependencies = { dependencies = {
-- "nvim-treesitter/nvim-treesitter", "nvim-treesitter/nvim-treesitter",
-- }, },
-- }, },
{ {
'numToStr/Comment.nvim', 'numToStr/Comment.nvim',