From 09aac154e1cbbacf5fa9601a467cdd0a3b66c811 Mon Sep 17 00:00:00 2001 From: Arjun Patel Date: Tue, 7 Feb 2023 10:40:05 -0600 Subject: [PATCH] better adding in rel path for lualine --- after/plugin/lualine.lua | 7 +++++ plugin/packer_compiled.lua | 58 +++++++++++++++++++------------------- 2 files changed, 36 insertions(+), 29 deletions(-) diff --git a/after/plugin/lualine.lua b/after/plugin/lualine.lua index 0d48326..6629c4d 100644 --- a/after/plugin/lualine.lua +++ b/after/plugin/lualine.lua @@ -2,5 +2,12 @@ require('lualine').setup { options = { icons_enabled = true, theme = 'codedark', + }, + sections = { + lualine_a = { + { 'filename', + path = 1, + } + } } } diff --git a/plugin/packer_compiled.lua b/plugin/packer_compiled.lua index 84e6861..62b2aa4 100644 --- a/plugin/packer_compiled.lua +++ b/plugin/packer_compiled.lua @@ -49,8 +49,8 @@ local function save_profiles(threshold) end time([[Luarocks path setup]], true) -local package_path_str = "/Users/talksik/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?.lua;/Users/talksik/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?/init.lua;/Users/talksik/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?.lua;/Users/talksik/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?/init.lua" -local install_cpath_pattern = "/Users/talksik/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/lua/5.1/?.so" +local package_path_str = "/Users/arjun.patel/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?.lua;/Users/arjun.patel/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?/init.lua;/Users/arjun.patel/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?.lua;/Users/arjun.patel/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?/init.lua" +local install_cpath_pattern = "/Users/arjun.patel/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/lua/5.1/?.so" if not string.find(package.path, package_path_str, 1, true) then package.path = package.path .. ';' .. package_path_str end @@ -76,138 +76,138 @@ time([[Defining packer_plugins]], true) _G.packer_plugins = { LuaSnip = { loaded = true, - path = "/Users/talksik/.local/share/nvim/site/pack/packer/start/LuaSnip", + path = "/Users/arjun.patel/.local/share/nvim/site/pack/packer/start/LuaSnip", url = "https://github.com/L3MON4D3/LuaSnip" }, ["cellular-automaton.nvim"] = { loaded = true, - path = "/Users/talksik/.local/share/nvim/site/pack/packer/start/cellular-automaton.nvim", + path = "/Users/arjun.patel/.local/share/nvim/site/pack/packer/start/cellular-automaton.nvim", url = "https://github.com/eandrju/cellular-automaton.nvim" }, ["cmp-buffer"] = { loaded = true, - path = "/Users/talksik/.local/share/nvim/site/pack/packer/start/cmp-buffer", + path = "/Users/arjun.patel/.local/share/nvim/site/pack/packer/start/cmp-buffer", url = "https://github.com/hrsh7th/cmp-buffer" }, ["cmp-nvim-lsp"] = { loaded = true, - path = "/Users/talksik/.local/share/nvim/site/pack/packer/start/cmp-nvim-lsp", + path = "/Users/arjun.patel/.local/share/nvim/site/pack/packer/start/cmp-nvim-lsp", url = "https://github.com/hrsh7th/cmp-nvim-lsp" }, ["cmp-nvim-lua"] = { loaded = true, - path = "/Users/talksik/.local/share/nvim/site/pack/packer/start/cmp-nvim-lua", + path = "/Users/arjun.patel/.local/share/nvim/site/pack/packer/start/cmp-nvim-lua", url = "https://github.com/hrsh7th/cmp-nvim-lua" }, ["cmp-path"] = { loaded = true, - path = "/Users/talksik/.local/share/nvim/site/pack/packer/start/cmp-path", + path = "/Users/arjun.patel/.local/share/nvim/site/pack/packer/start/cmp-path", url = "https://github.com/hrsh7th/cmp-path" }, cmp_luasnip = { loaded = true, - path = "/Users/talksik/.local/share/nvim/site/pack/packer/start/cmp_luasnip", + path = "/Users/arjun.patel/.local/share/nvim/site/pack/packer/start/cmp_luasnip", url = "https://github.com/saadparwaiz1/cmp_luasnip" }, ["copilot.vim"] = { loaded = true, - path = "/Users/talksik/.local/share/nvim/site/pack/packer/start/copilot.vim", + path = "/Users/arjun.patel/.local/share/nvim/site/pack/packer/start/copilot.vim", url = "https://github.com/github/copilot.vim" }, ["friendly-snippets"] = { loaded = true, - path = "/Users/talksik/.local/share/nvim/site/pack/packer/start/friendly-snippets", + path = "/Users/arjun.patel/.local/share/nvim/site/pack/packer/start/friendly-snippets", url = "https://github.com/rafamadriz/friendly-snippets" }, harpoon = { loaded = true, - path = "/Users/talksik/.local/share/nvim/site/pack/packer/start/harpoon", + path = "/Users/arjun.patel/.local/share/nvim/site/pack/packer/start/harpoon", url = "https://github.com/theprimeagen/harpoon" }, ["lsp-zero.nvim"] = { loaded = true, - path = "/Users/talksik/.local/share/nvim/site/pack/packer/start/lsp-zero.nvim", + path = "/Users/arjun.patel/.local/share/nvim/site/pack/packer/start/lsp-zero.nvim", url = "https://github.com/VonHeikemen/lsp-zero.nvim" }, ["lualine.nvim"] = { loaded = true, - path = "/Users/talksik/.local/share/nvim/site/pack/packer/start/lualine.nvim", + path = "/Users/arjun.patel/.local/share/nvim/site/pack/packer/start/lualine.nvim", url = "https://github.com/nvim-lualine/lualine.nvim" }, ["mason-lspconfig.nvim"] = { loaded = true, - path = "/Users/talksik/.local/share/nvim/site/pack/packer/start/mason-lspconfig.nvim", + path = "/Users/arjun.patel/.local/share/nvim/site/pack/packer/start/mason-lspconfig.nvim", url = "https://github.com/williamboman/mason-lspconfig.nvim" }, ["mason.nvim"] = { loaded = true, - path = "/Users/talksik/.local/share/nvim/site/pack/packer/start/mason.nvim", + path = "/Users/arjun.patel/.local/share/nvim/site/pack/packer/start/mason.nvim", url = "https://github.com/williamboman/mason.nvim" }, ["null-ls.nvim"] = { loaded = true, - path = "/Users/talksik/.local/share/nvim/site/pack/packer/start/null-ls.nvim", + path = "/Users/arjun.patel/.local/share/nvim/site/pack/packer/start/null-ls.nvim", url = "https://github.com/jose-elias-alvarez/null-ls.nvim" }, ["nvim-cmp"] = { loaded = true, - path = "/Users/talksik/.local/share/nvim/site/pack/packer/start/nvim-cmp", + path = "/Users/arjun.patel/.local/share/nvim/site/pack/packer/start/nvim-cmp", url = "https://github.com/hrsh7th/nvim-cmp" }, ["nvim-lspconfig"] = { loaded = true, - path = "/Users/talksik/.local/share/nvim/site/pack/packer/start/nvim-lspconfig", + path = "/Users/arjun.patel/.local/share/nvim/site/pack/packer/start/nvim-lspconfig", url = "https://github.com/neovim/nvim-lspconfig" }, ["nvim-treesitter"] = { loaded = true, - path = "/Users/talksik/.local/share/nvim/site/pack/packer/start/nvim-treesitter", + path = "/Users/arjun.patel/.local/share/nvim/site/pack/packer/start/nvim-treesitter", url = "https://github.com/nvim-treesitter/nvim-treesitter" }, ["nvim-web-devicons"] = { loaded = true, - path = "/Users/talksik/.local/share/nvim/site/pack/packer/start/nvim-web-devicons", + path = "/Users/arjun.patel/.local/share/nvim/site/pack/packer/start/nvim-web-devicons", url = "https://github.com/nvim-tree/nvim-web-devicons" }, ["packer.nvim"] = { loaded = true, - path = "/Users/talksik/.local/share/nvim/site/pack/packer/start/packer.nvim", + path = "/Users/arjun.patel/.local/share/nvim/site/pack/packer/start/packer.nvim", url = "https://github.com/wbthomason/packer.nvim" }, playground = { loaded = true, - path = "/Users/talksik/.local/share/nvim/site/pack/packer/start/playground", + path = "/Users/arjun.patel/.local/share/nvim/site/pack/packer/start/playground", url = "https://github.com/nvim-treesitter/playground" }, ["plenary.nvim"] = { loaded = true, - path = "/Users/talksik/.local/share/nvim/site/pack/packer/start/plenary.nvim", + path = "/Users/arjun.patel/.local/share/nvim/site/pack/packer/start/plenary.nvim", url = "https://github.com/nvim-lua/plenary.nvim" }, ["rose-pine"] = { config = { "\27LJ\2\n9\0\0\3\0\3\0\0056\0\0\0009\0\1\0'\2\2\0B\0\2\1K\0\1\0\26colorscheme rose-pine\bcmd\bvim\0" }, loaded = true, - path = "/Users/talksik/.local/share/nvim/site/pack/packer/start/rose-pine", + path = "/Users/arjun.patel/.local/share/nvim/site/pack/packer/start/rose-pine", url = "https://github.com/rose-pine/neovim" }, ["telescope.nvim"] = { loaded = true, - path = "/Users/talksik/.local/share/nvim/site/pack/packer/start/telescope.nvim", + path = "/Users/arjun.patel/.local/share/nvim/site/pack/packer/start/telescope.nvim", url = "https://github.com/nvim-telescope/telescope.nvim" }, ["trouble.nvim"] = { loaded = true, - path = "/Users/talksik/.local/share/nvim/site/pack/packer/start/trouble.nvim", + path = "/Users/arjun.patel/.local/share/nvim/site/pack/packer/start/trouble.nvim", url = "https://github.com/folke/trouble.nvim" }, undotree = { loaded = true, - path = "/Users/talksik/.local/share/nvim/site/pack/packer/start/undotree", + path = "/Users/arjun.patel/.local/share/nvim/site/pack/packer/start/undotree", url = "https://github.com/mbbill/undotree" }, ["zen-mode.nvim"] = { loaded = true, - path = "/Users/talksik/.local/share/nvim/site/pack/packer/start/zen-mode.nvim", + path = "/Users/arjun.patel/.local/share/nvim/site/pack/packer/start/zen-mode.nvim", url = "https://github.com/folke/zen-mode.nvim" } }