This commit is contained in:
RingOfStorms (Joshua Bell) 2023-07-07 17:10:41 -05:00
parent 9ca3c33cd2
commit f703852dd5
13 changed files with 166 additions and 437 deletions

View file

@ -1,24 +0,0 @@
# Plugins to look into
- https://github.com/lvimuser/lsp-inlayhints.nvim/tree/anticonceal
- https://github.com/theHamsta/nvim-dap-virtual-text/tree/inline-text
- https://github.com/andythigpen/nvim-coverage
- https://github.com/lukas-reineke/indent-blankline.nvim
- https://github.com/johmsalas/text-case.nvim
- gitsigns?
- casing plugins?
["<leader>,"] = { name = " Misc Tools" },
["<leader>,c"] = { name = " Casing" },
["<leader>,cs"] = { ":Snek<CR>", desc = "To Snek Case" },
["<leader>,cc"] = { ":Camel<CR>", desc = "To Camel Case" },
["<leader>,cp"] = { ":CamelB<CR>", desc = "To Pascal Case" },
["<leader>,ck"] = { ":Kebab<CR>", desc = "To Kebab Case" },
["<leader>,ce"] = { ":Screm<CR>", desc = "To Screm Case" },
- https://github.com/tpope/vim-fugitive
- https://github.com/folke/noice.nvim
- greg's: https://github.com/gblock0/dotfiles/blob/master/nvim/.config/nvim/lua/gb/plugins.lua
- others: https://nvimluau.dev/
- https://github.com/NvChad/nvim-colorizer.lua
- https://github.com/numToStr/Comment.nvim
- https://github.com/windwp/nvim-autopairs
- https://github.com/lukas-reineke/indent-blankline.nvim

View file

@ -0,0 +1,3 @@
return {
"tpope/vim-fugitive",
}

View file

@ -1,8 +1,23 @@
vim.cmd([[highlight IndentBlanklineIndent1 guifg=#E06C75 gui=nocombine]])
vim.cmd([[highlight IndentBlanklineIndent2 guifg=#E5C07B gui=nocombine]])
vim.cmd([[highlight IndentBlanklineIndent3 guifg=#98C379 gui=nocombine]])
vim.cmd([[highlight IndentBlanklineIndent4 guifg=#61AFEF gui=nocombine]])
vim.cmd([[highlight IndentBlanklineIndent5 guifg=#C678DD gui=nocombine]])
-- Rainbow verison
--vim.cmd([[highlight IndentBlanklineIndent1 guifg=#E06C75 gui=nocombine]])
--vim.cmd([[highlight IndentBlanklineIndent2 guifg=#E5C07B gui=nocombine]])
--vim.cmd([[highlight IndentBlanklineIndent3 guifg=#98C379 gui=nocombine]])
--vim.cmd([[highlight IndentBlanklineIndent4 guifg=#61AFEF gui=nocombine]])
--vim.cmd([[highlight IndentBlanklineIndent5 guifg=#C678DD gui=nocombine]])
-- Grayscale version
--vim.cmd([[highlight IndentBlanklineIndent1 guifg=#707070 gui=nocombine]])
--vim.cmd([[highlight IndentBlanklineIndent2 guifg=#808080 gui=nocombine]])
--vim.cmd([[highlight IndentBlanklineIndent3 guifg=#909090 gui=nocombine]])
--vim.cmd([[highlight IndentBlanklineIndent4 guifg=#a0a0a0 gui=nocombine]])
--vim.cmd([[highlight IndentBlanklineIndent5 guifg=#b0b0b0 gui=nocombine]])
-- Dull version
vim.cmd([[highlight IndentBlanklineIndent1 guifg=#915053 gui=nocombine]])
vim.cmd([[highlight IndentBlanklineIndent2 guifg=#A27F3E gui=nocombine]])
vim.cmd([[highlight IndentBlanklineIndent3 guifg=#6B7F6E gui=nocombine]])
vim.cmd([[highlight IndentBlanklineIndent4 guifg=#5A747D gui=nocombine]])
vim.cmd([[highlight IndentBlanklineIndent5 guifg=#6B6282 gui=nocombine]])
vim.opt.list = true
-- vim.opt.listchars:append "space:⋅"

30
lua/plugins/lazygit.lua Normal file
View file

@ -0,0 +1,30 @@
function prereqs()
local output = vim.fn.system({
"which",
"lazygit",
})
if output == nil or output == "" then
print("Installing lazygit with rtx")
-- if v:shell_error != 0 then
vim.fn.system({
"rtx",
"global",
"lazygit@latest",
})
vim.fn.system({
"rtx",
"install",
})
end
end
return {
"kdheepak/lazygit.nvim",
dependencies = {
"nvim-lua/plenary.nvim",
},
build = prereqs,
keys = {
{ "<leader>gg", "<cmd>LazyGit<cr>", desc = "Open lazy git ui" },
},
}

View file

@ -74,5 +74,8 @@ return {
},
},
},
tabline = {
lualine_a = { "filename" }
},
},
}

View file

@ -1,23 +1,24 @@
-- npm install -g cspell@latest
local output = vim.fn.system({
"which",
"cspell",
})
if output == nil or output == "" then
-- if v:shell_error != 0 then
vim.fn.system({
"npm",
"install",
"-g",
"cspell@latest",
function prereqs()
local output = vim.fn.system({
"which",
"cspell",
})
if output == nil or output == "" then
print("Installing cspell globally with npm")
vim.fn.system({
"npm",
"install",
"-g",
"cspell@latest",
})
end
end
return {
{
"jose-elias-alvarez/null-ls.nvim",
dependencies = { "williamboman/mason.nvim" },
build = prereqs,
opts = function(_, config)
-- config variable is the default definitions table for the setup function call
local null_ls = require("null-ls")

View file

@ -2,6 +2,6 @@ return {
"Almo7aya/openingh.nvim",
event = "BufEnter",
keys = {
{ "<leader>gf", ":OpenInGHFile <CR>", desc = "Open in git" },
{ "<leader>gf", "<cmd>OpenInGHFile<CR>", desc = "Open in git" },
},
}