vim

Log | Files | Refs

ui.lua (1729B)


      1 return {
      2   -- Colorscheme
      3   {
      4     "catppuccin/nvim",
      5     name     = "catppuccin",
      6     priority = 1000,
      7     config   = function()
      8       vim.cmd.colorscheme("catppuccin-mocha")
      9     end,
     10   },
     11 
     12   -- Statusline
     13   {
     14     "nvim-lualine/lualine.nvim",
     15     dependencies = { "nvim-tree/nvim-web-devicons", "catppuccin/nvim" },
     16     opts = {
     17       options = {
     18         theme = "catppuccin-mocha",
     19         globalstatus = true,
     20       },
     21       sections = {
     22         lualine_a = { "mode" },
     23         lualine_b = { "branch", "diff", { "diagnostics", sources = { "nvim_diagnostic" } } },
     24         lualine_c = { { "filename", path = 1 } },
     25         lualine_x = { "encoding", "fileformat", "filetype" },
     26         lualine_y = { "progress" },
     27         lualine_z = { "location" },
     28       },
     29     },
     30   },
     31 
     32   -- File explorer
     33   {
     34     "nvim-tree/nvim-tree.lua",
     35     dependencies = { "nvim-tree/nvim-web-devicons" },
     36     opts = {
     37       view     = { width = 30 },
     38       renderer = { group_empty = true },
     39     },
     40   },
     41 
     42   -- Fuzzy finder
     43   {
     44     "nvim-telescope/telescope.nvim",
     45     dependencies = {
     46       "nvim-lua/plenary.nvim",
     47       { "nvim-telescope/telescope-fzf-native.nvim", build = "make" },
     48     },
     49     config = function()
     50       local telescope = require("telescope")
     51       telescope.setup({})
     52       telescope.load_extension("fzf")
     53     end,
     54   },
     55 
     56   -- LSP loading indicator (bottom-right)
     57   { "j-hui/fidget.nvim", opts = {} },
     58 
     59   -- Indent guides
     60   {
     61     "lukas-reineke/indent-blankline.nvim",
     62     main = "ibl",
     63     opts = {},
     64   },
     65 
     66   -- Git decorations in the sign column
     67   { "lewis6991/gitsigns.nvim", opts = {} },
     68 
     69   -- Popup showing available keybindings after pressing leader
     70   {
     71     "folke/which-key.nvim",
     72     event = "VeryLazy",
     73     opts  = {},
     74   },
     75 }