mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
nvim: qol on lualine, bufferline, use nixd as nix lsp
This commit is contained in:
parent
6fb3efd1dc
commit
cd9c91b9bc
11 changed files with 76 additions and 67 deletions
|
|
@ -1,18 +1,22 @@
|
|||
-- I forgot why I keep this plugin, I use snacks.nvim currently
|
||||
|
||||
return {}
|
||||
|
||||
-- 2025-03-03
|
||||
-- If current session is not spawn by neovide, do not load image.nvim
|
||||
-- neovide did not support image viewer yet
|
||||
-- https://github.com/neovide/neovide/issues/2088
|
||||
-- Disable on: Neovide, alacritty and windows
|
||||
if vim.g.neovide then
|
||||
return {}
|
||||
elseif vim.env.TERM_PROGRAM == "alacritty" then
|
||||
return {}
|
||||
elseif vim.loop.os_uname().sysname:lower() == "windows_nt" then
|
||||
return {}
|
||||
else
|
||||
return {
|
||||
"3rd/image.nvim",
|
||||
opts = {},
|
||||
event = "BufReadPre",
|
||||
}
|
||||
end
|
||||
-- if vim.g.neovide then
|
||||
-- return {}
|
||||
-- elseif vim.env.TERM_PROGRAM == "alacritty" then
|
||||
-- return {}
|
||||
-- elseif vim.loop.os_uname().sysname:lower() == "windows_nt" then
|
||||
-- return {}
|
||||
-- else
|
||||
-- return {
|
||||
-- "3rd/image.nvim",
|
||||
-- opts = {},
|
||||
-- event = "BufReadPre",
|
||||
-- }
|
||||
-- end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue