pojokcodeid.nvim-lazy/lua/plugins/ui.lua
2023-02-11 09:41:39 +07:00

161 lines
3.6 KiB
Lua

return {
-- color scheme
{
"folke/tokyonight.nvim",
-- commit = "66bfc2e8f754869c7b651f3f47a2ee56ae557764",
lazy = true, -- make sure we load this during startup if it is your main colorscheme
-- priority = 1000, -- make sure to load this before all the other start plugins
config = function()
local is_transparant = false
if is_transparant then
require("user.tokyonight_transparant")
else
require("user.tokyonight")
end
end,
},
-- {
-- "navarasu/onedark.nvim",
-- init = function()
-- require("user.onedark")
-- require("onedark").load()
-- end,
-- },
-- { "lunarvim/lunar.nvim" },
-- -- { "arcticicestudio/nord-vim" },
-- {
-- "catppuccin/nvim",
-- name = "catppuccin",
-- init = function()
-- require("user.catppuccin")
-- end,
-- },
-- {
-- "ellisonleao/gruvbox.nvim",
-- init = function()
-- require("gruvbox").setup({
-- undercurl = true,
-- underline = true,
-- bold = true,
-- italic = true,
-- strikethrough = true,
-- invert_selection = false,
-- invert_signs = false,
-- invert_tabline = false,
-- invert_intend_guides = false,
-- inverse = true, -- invert background for search, diffs, statuslines and errors
-- contrast = "", -- can be "hard", "soft" or empty string
-- palette_overrides = {},
-- overrides = {},
-- dim_inactive = false,
-- transparent_mode = false,
-- })
-- vim.o.background = "dark" -- or "light" for light mode
-- end,
-- },
-- { "sainnhe/sonokai" },
-- -- { "EdenEast/nightfox.nvim" },
-- {
-- "marko-cerovac/material.nvim",
-- init = function()
-- vim.g.material_style = "darker"
-- end,
-- },
-- include treesitter
-- require("plugins.treesitter"),
-- {
-- "nvim-treesitter/nvim-treesitter",
-- commit = "8e763332b7bf7b3a426fd8707b7f5aa85823a5ac",
-- run = ":TSUpdate",
-- event = "BufWinEnter",
-- opts = function()
-- require("user.treesitter")
-- end,
-- },
-- dashboard
{
"goolord/alpha-nvim",
module = "alpha",
event = "BufWinEnter",
config = function()
require("user.alpha")
end,
},
-- line info bootom
{
"nvim-lualine/lualine.nvim",
-- dependencies = { "kyazdani42/nvim-web-devicons", opt = true },
event = "BufWinEnter",
config = function()
local model = 0
if model == 1 then
require("user.lualine1")
elseif model == 2 then
require("user.lualine2")
else
require("user.lualine")
end
end,
},
-- for show icon
{
"kyazdani42/nvim-web-devicons",
event = "BufRead",
config = function()
require("user.webdevicons")
end,
},
-- for tree exploler
{
"kyazdani42/nvim-tree.lua",
-- event = "BufRead",
cmd = "NvimTreeToggle",
-- dependencies = "kyazdani42/nvim-web-devicons",
config = function()
require("user.nvim-tree")
end,
},
-- for file tab
{
"famiu/bufdelete.nvim",
event = "BufRead",
},
{
"akinsho/bufferline.nvim",
event = "BufRead",
-- config = function()
-- require("user.bufferline")
-- end,
},
-- for delete buffers (close files) without closing your windows or messing up your layout.
{ "moll/vim-bbye", event = "BufRead" },
-- for view terminal
{
"akinsho/toggleterm.nvim",
cmd = "Toggleterm",
event = "BufWinEnter",
init = function()
require("user.toggleterm")
end,
},
-- key mapping
{
"folke/which-key.nvim",
event = "BufWinEnter",
init = function()
require("user.whichkey")
end,
},
-- for search
{
"nvim-telescope/telescope.nvim",
-- event = "BufRead",
-- dependencies = { { "nvim-lua/plenary.nvim" } },
cmd = "Telescope",
version = false, -- telescope did only one release, so use HEAD for now
config = function()
require("user.telescope")
end,
},
}