fixing things and cleaning up

This commit is contained in:
talksik
2023-07-02 16:33:12 -07:00
parent 63f5712acd
commit 4cc485d2e2
6 changed files with 54 additions and 43 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
## Step one ## Step one
install ripgrep: `brew install ripgrep` install ripgrep: `brew install ripgrep`
install packer (find install on their github repo)
install `packer` (find install on their github repo)
## Step two ## Step two
open nvim anywhere. `nvim .` open nvim anywhere. `nvim .`
-1
View File
@@ -1 +0,0 @@
require('fidget').setup{}
+1
View File
@@ -0,0 +1 @@
require("startup").setup({theme = "dashboard"})
+8 -3
View File
@@ -1,7 +1,7 @@
-- This file can be loaded by calling `lua require('plugins')` from your init.vim -- This file can be loaded by calling `lua require('plugins')` from your init.vim
-- Only required if you have packer configured as `opt` -- Only required if you have packer configured as `opt`
vim.cmd.packadd('packer.nvim') vim.cmd [[packadd packer.nvim]]
return require('packer').startup(function(use) return require('packer').startup(function(use)
-- Packer can manage itself -- Packer can manage itself
@@ -71,8 +71,6 @@ return require('packer').startup(function(use)
use('shaunsingh/solarized.nvim') use('shaunsingh/solarized.nvim')
use('navarasu/onedark.nvim') use('navarasu/onedark.nvim')
use({'j-hui/fidget.nvim', tag = 'legacy' })
use({ use({
"kdheepak/lazygit.nvim", "kdheepak/lazygit.nvim",
-- optional for floating window border decoration -- optional for floating window border decoration
@@ -80,5 +78,12 @@ return require('packer').startup(function(use)
"nvim-lua/plenary.nvim", "nvim-lua/plenary.nvim",
}, },
}) })
use('nvim-lua/lsp-status.nvim')
use {
"startup-nvim/startup.nvim",
requires = {"nvim-telescope/telescope.nvim", "nvim-lua/plenary.nvim"},
}
end) end)
Executable
BIN
View File
Binary file not shown.
+43 -38
View File
@@ -49,8 +49,8 @@ local function save_profiles(threshold)
end end
time([[Luarocks path setup]], true) time([[Luarocks path setup]], true)
local package_path_str = "/home/talksik-fedora/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?.lua;/home/talksik-fedora/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?/init.lua;/home/talksik-fedora/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?.lua;/home/talksik-fedora/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?/init.lua" local package_path_str = "/home/talksik/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?.lua;/home/talksik/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?/init.lua;/home/talksik/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?.lua;/home/talksik/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?/init.lua"
local install_cpath_pattern = "/home/talksik-fedora/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/lua/5.1/?.so" local install_cpath_pattern = "/home/talksik/.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 if not string.find(package.path, package_path_str, 1, true) then
package.path = package.path .. ';' .. package_path_str package.path = package.path .. ';' .. package_path_str
end end
@@ -77,162 +77,167 @@ _G.packer_plugins = {
["Comment.nvim"] = { ["Comment.nvim"] = {
config = { "\27LJ\2\n5\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\fComment\frequire\0" }, config = { "\27LJ\2\n5\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\fComment\frequire\0" },
loaded = true, loaded = true,
path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/Comment.nvim", path = "/home/talksik/.local/share/nvim/site/pack/packer/start/Comment.nvim",
url = "https://github.com/numToStr/Comment.nvim" url = "https://github.com/numToStr/Comment.nvim"
}, },
LuaSnip = { LuaSnip = {
loaded = true, loaded = true,
path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/LuaSnip", path = "/home/talksik/.local/share/nvim/site/pack/packer/start/LuaSnip",
url = "https://github.com/L3MON4D3/LuaSnip" url = "https://github.com/L3MON4D3/LuaSnip"
}, },
["cellular-automaton.nvim"] = { ["cellular-automaton.nvim"] = {
loaded = true, loaded = true,
path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/cellular-automaton.nvim", path = "/home/talksik/.local/share/nvim/site/pack/packer/start/cellular-automaton.nvim",
url = "https://github.com/eandrju/cellular-automaton.nvim" url = "https://github.com/eandrju/cellular-automaton.nvim"
}, },
["cmp-buffer"] = { ["cmp-buffer"] = {
loaded = true, loaded = true,
path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/cmp-buffer", path = "/home/talksik/.local/share/nvim/site/pack/packer/start/cmp-buffer",
url = "https://github.com/hrsh7th/cmp-buffer" url = "https://github.com/hrsh7th/cmp-buffer"
}, },
["cmp-nvim-lsp"] = { ["cmp-nvim-lsp"] = {
loaded = true, loaded = true,
path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/cmp-nvim-lsp", path = "/home/talksik/.local/share/nvim/site/pack/packer/start/cmp-nvim-lsp",
url = "https://github.com/hrsh7th/cmp-nvim-lsp" url = "https://github.com/hrsh7th/cmp-nvim-lsp"
}, },
["cmp-nvim-lua"] = { ["cmp-nvim-lua"] = {
loaded = true, loaded = true,
path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/cmp-nvim-lua", path = "/home/talksik/.local/share/nvim/site/pack/packer/start/cmp-nvim-lua",
url = "https://github.com/hrsh7th/cmp-nvim-lua" url = "https://github.com/hrsh7th/cmp-nvim-lua"
}, },
["cmp-path"] = { ["cmp-path"] = {
loaded = true, loaded = true,
path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/cmp-path", path = "/home/talksik/.local/share/nvim/site/pack/packer/start/cmp-path",
url = "https://github.com/hrsh7th/cmp-path" url = "https://github.com/hrsh7th/cmp-path"
}, },
cmp_luasnip = { cmp_luasnip = {
loaded = true, loaded = true,
path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/cmp_luasnip", path = "/home/talksik/.local/share/nvim/site/pack/packer/start/cmp_luasnip",
url = "https://github.com/saadparwaiz1/cmp_luasnip" url = "https://github.com/saadparwaiz1/cmp_luasnip"
}, },
["context.vim"] = { ["context.vim"] = {
loaded = true, loaded = true,
path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/context.vim", path = "/home/talksik/.local/share/nvim/site/pack/packer/start/context.vim",
url = "https://github.com/wellle/context.vim" url = "https://github.com/wellle/context.vim"
}, },
["copilot.vim"] = { ["copilot.vim"] = {
loaded = true, loaded = true,
path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/copilot.vim", path = "/home/talksik/.local/share/nvim/site/pack/packer/start/copilot.vim",
url = "https://github.com/github/copilot.vim" url = "https://github.com/github/copilot.vim"
}, },
["fidget.nvim"] = {
loaded = true,
path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/fidget.nvim",
url = "https://github.com/j-hui/fidget.nvim"
},
["friendly-snippets"] = { ["friendly-snippets"] = {
loaded = true, loaded = true,
path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/friendly-snippets", path = "/home/talksik/.local/share/nvim/site/pack/packer/start/friendly-snippets",
url = "https://github.com/rafamadriz/friendly-snippets" url = "https://github.com/rafamadriz/friendly-snippets"
}, },
["git-blame.nvim"] = { ["git-blame.nvim"] = {
loaded = true, loaded = true,
path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/git-blame.nvim", path = "/home/talksik/.local/share/nvim/site/pack/packer/start/git-blame.nvim",
url = "https://github.com/f-person/git-blame.nvim" url = "https://github.com/f-person/git-blame.nvim"
}, },
harpoon = { harpoon = {
loaded = true, loaded = true,
path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/harpoon", path = "/home/talksik/.local/share/nvim/site/pack/packer/start/harpoon",
url = "https://github.com/ThePrimeagen/harpoon" url = "https://github.com/ThePrimeagen/harpoon"
}, },
["lazygit.nvim"] = { ["lazygit.nvim"] = {
loaded = true, loaded = true,
path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/lazygit.nvim", path = "/home/talksik/.local/share/nvim/site/pack/packer/start/lazygit.nvim",
url = "https://github.com/kdheepak/lazygit.nvim" url = "https://github.com/kdheepak/lazygit.nvim"
}, },
["lsp-status.nvim"] = {
loaded = true,
path = "/home/talksik/.local/share/nvim/site/pack/packer/start/lsp-status.nvim",
url = "https://github.com/nvim-lua/lsp-status.nvim"
},
["lsp-zero.nvim"] = { ["lsp-zero.nvim"] = {
loaded = true, loaded = true,
path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/lsp-zero.nvim", path = "/home/talksik/.local/share/nvim/site/pack/packer/start/lsp-zero.nvim",
url = "https://github.com/VonHeikemen/lsp-zero.nvim" url = "https://github.com/VonHeikemen/lsp-zero.nvim"
}, },
["lualine.nvim"] = { ["lualine.nvim"] = {
loaded = true, loaded = true,
path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/lualine.nvim", path = "/home/talksik/.local/share/nvim/site/pack/packer/start/lualine.nvim",
url = "https://github.com/nvim-lualine/lualine.nvim" url = "https://github.com/nvim-lualine/lualine.nvim"
}, },
["mason-lspconfig.nvim"] = { ["mason-lspconfig.nvim"] = {
loaded = true, loaded = true,
path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/mason-lspconfig.nvim", path = "/home/talksik/.local/share/nvim/site/pack/packer/start/mason-lspconfig.nvim",
url = "https://github.com/williamboman/mason-lspconfig.nvim" url = "https://github.com/williamboman/mason-lspconfig.nvim"
}, },
["mason.nvim"] = { ["mason.nvim"] = {
loaded = true, loaded = true,
path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/mason.nvim", path = "/home/talksik/.local/share/nvim/site/pack/packer/start/mason.nvim",
url = "https://github.com/williamboman/mason.nvim" url = "https://github.com/williamboman/mason.nvim"
}, },
["nvim-cmp"] = { ["nvim-cmp"] = {
loaded = true, loaded = true,
path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/nvim-cmp", path = "/home/talksik/.local/share/nvim/site/pack/packer/start/nvim-cmp",
url = "https://github.com/hrsh7th/nvim-cmp" url = "https://github.com/hrsh7th/nvim-cmp"
}, },
["nvim-lspconfig"] = { ["nvim-lspconfig"] = {
loaded = true, loaded = true,
path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/nvim-lspconfig", path = "/home/talksik/.local/share/nvim/site/pack/packer/start/nvim-lspconfig",
url = "https://github.com/neovim/nvim-lspconfig" url = "https://github.com/neovim/nvim-lspconfig"
}, },
["nvim-treesitter"] = { ["nvim-treesitter"] = {
loaded = true, loaded = true,
path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/nvim-treesitter", path = "/home/talksik/.local/share/nvim/site/pack/packer/start/nvim-treesitter",
url = "https://github.com/nvim-treesitter/nvim-treesitter" url = "https://github.com/nvim-treesitter/nvim-treesitter"
}, },
["nvim-web-devicons"] = { ["nvim-web-devicons"] = {
loaded = true, loaded = true,
path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/nvim-web-devicons", path = "/home/talksik/.local/share/nvim/site/pack/packer/start/nvim-web-devicons",
url = "https://github.com/nvim-tree/nvim-web-devicons" url = "https://github.com/nvim-tree/nvim-web-devicons"
}, },
["onedark.nvim"] = { ["onedark.nvim"] = {
loaded = true, loaded = true,
path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/onedark.nvim", path = "/home/talksik/.local/share/nvim/site/pack/packer/start/onedark.nvim",
url = "https://github.com/navarasu/onedark.nvim" url = "https://github.com/navarasu/onedark.nvim"
}, },
["packer.nvim"] = { ["packer.nvim"] = {
loaded = true, loaded = true,
path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/packer.nvim", path = "/home/talksik/.local/share/nvim/site/pack/packer/start/packer.nvim",
url = "https://github.com/wbthomason/packer.nvim" url = "https://github.com/wbthomason/packer.nvim"
}, },
playground = { playground = {
loaded = true, loaded = true,
path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/playground", path = "/home/talksik/.local/share/nvim/site/pack/packer/start/playground",
url = "https://github.com/nvim-treesitter/playground" url = "https://github.com/nvim-treesitter/playground"
}, },
["plenary.nvim"] = { ["plenary.nvim"] = {
loaded = true, loaded = true,
path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/plenary.nvim", path = "/home/talksik/.local/share/nvim/site/pack/packer/start/plenary.nvim",
url = "https://github.com/nvim-lua/plenary.nvim" url = "https://github.com/nvim-lua/plenary.nvim"
}, },
["rust-tools.nvim"] = { ["rust-tools.nvim"] = {
loaded = true, loaded = true,
path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/rust-tools.nvim", path = "/home/talksik/.local/share/nvim/site/pack/packer/start/rust-tools.nvim",
url = "https://github.com/simrat39/rust-tools.nvim" url = "https://github.com/simrat39/rust-tools.nvim"
}, },
["solarized.nvim"] = { ["solarized.nvim"] = {
loaded = true, loaded = true,
path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/solarized.nvim", path = "/home/talksik/.local/share/nvim/site/pack/packer/start/solarized.nvim",
url = "https://github.com/shaunsingh/solarized.nvim" url = "https://github.com/shaunsingh/solarized.nvim"
}, },
["startup.nvim"] = {
loaded = true,
path = "/home/talksik/.local/share/nvim/site/pack/packer/start/startup.nvim",
url = "https://github.com/startup-nvim/startup.nvim"
},
["telescope.nvim"] = { ["telescope.nvim"] = {
loaded = true, loaded = true,
path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/telescope.nvim", path = "/home/talksik/.local/share/nvim/site/pack/packer/start/telescope.nvim",
url = "https://github.com/nvim-telescope/telescope.nvim" url = "https://github.com/nvim-telescope/telescope.nvim"
}, },
undotree = { undotree = {
loaded = true, loaded = true,
path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/undotree", path = "/home/talksik/.local/share/nvim/site/pack/packer/start/undotree",
url = "https://github.com/mbbill/undotree" url = "https://github.com/mbbill/undotree"
}, },
["zen-mode.nvim"] = { ["zen-mode.nvim"] = {
loaded = true, loaded = true,
path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/zen-mode.nvim", path = "/home/talksik/.local/share/nvim/site/pack/packer/start/zen-mode.nvim",
url = "https://github.com/folke/zen-mode.nvim" url = "https://github.com/folke/zen-mode.nvim"
} }
} }