From 830b03609db83a6248011b3d13a0d31b63c03bf5 Mon Sep 17 00:00:00 2001 From: th3gh0s8 Date: Sun, 30 Apr 2023 13:27:40 +0530 Subject: [PATCH 1/2] added packer to the path --- lua/theprimeagen/init.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/theprimeagen/init.lua b/lua/theprimeagen/init.lua index 8db3ffac..cd91a773 100644 --- a/lua/theprimeagen/init.lua +++ b/lua/theprimeagen/init.lua @@ -1,5 +1,6 @@ require("theprimeagen.set") require("theprimeagen.remap") +require("theprimeagen.packer") -- DO NOT INCLUDE THIS vim.opt.rtp:append("~/personal/streamer-tools") From 9efc697c0abdc61e933358f9204c509bb32613e2 Mon Sep 17 00:00:00 2001 From: th3gh0s8 Date: Sun, 30 Apr 2023 14:26:14 +0530 Subject: [PATCH 2/2] added lualine and vim-be-good plugins --- after/plugin/lualine.lua | 40 +++++++++++++++++++++++++++++++++++++ lua/theprimeagen/packer.lua | 7 +++++++ 2 files changed, 47 insertions(+) create mode 100644 after/plugin/lualine.lua diff --git a/after/plugin/lualine.lua b/after/plugin/lualine.lua new file mode 100644 index 00000000..56c426a8 --- /dev/null +++ b/after/plugin/lualine.lua @@ -0,0 +1,40 @@ +require('lualine').setup { + options = { + icons_enabled = true, + theme = 'auto', + component_separators = { left = '', right = ''}, + section_separators = { left = '', right = ''}, + disabled_filetypes = { + statusline = {}, + winbar = {}, + }, + ignore_focus = {}, + always_divide_middle = true, + globalstatus = false, + refresh = { + statusline = 1000, + tabline = 1000, + winbar = 1000, + } + }, + sections = { + lualine_a = {'mode'}, + lualine_b = {'branch', 'diff', 'diagnostics'}, + lualine_c = {'filename'}, + lualine_x = {'encoding', 'fileformat', 'filetype'}, + lualine_y = {'progress'}, + lualine_z = {'location'} + }, + inactive_sections = { + lualine_a = {}, + lualine_b = {}, + lualine_c = {'filename'}, + lualine_x = {'location'}, + lualine_y = {}, + lualine_z = {} + }, + tabline = {}, + winbar = {}, + inactive_winbar = {}, + extensions = {} +} diff --git a/lua/theprimeagen/packer.lua b/lua/theprimeagen/packer.lua index 96f7c6e1..eaa3b83c 100644 --- a/lua/theprimeagen/packer.lua +++ b/lua/theprimeagen/packer.lua @@ -74,5 +74,12 @@ return require('packer').startup(function(use) use("eandrju/cellular-automaton.nvim") use("laytan/cloak.nvim") + use("ThePrimeagen/vim-be-good") + + use { + 'nvim-lualine/lualine.nvim', + requires = { 'nvim-tree/nvim-web-devicons', opt = true } + } + end)