Nvim: improve blink and inlay hints, add heirline

This commit is contained in:
Robert Kmieć
2025-02-07 11:38:51 +01:00
parent ec21773823
commit 6f0948c365
9 changed files with 536 additions and 623 deletions

View File

@@ -59,13 +59,13 @@ return {
modules = {},
highlight = {
enable = true,
disable = function(lang, buf)
local max_filesize = 100 * 1024 -- 100 KB
local ok, stats = pcall(vim.loop.fs_stat, vim.api.nvim_buf_get_name(buf))
if ok and stats and stats.size > max_filesize then
return true
end
end,
-- disable = function(lang, buf)
-- local max_filesize = 100 * 1024 -- 100 KB
-- local ok, stats = pcall(vim.loop.fs_stat, vim.api.nvim_buf_get_name(buf))
-- if ok and stats and stats.size > max_filesize then
-- return true
-- end
-- end,
additional_vim_regex_highlighting = false,
},
indent = {