lots of changes

This commit is contained in:
Ralph Azucena 2024-12-17 15:04:24 -08:00
parent dc5f555528
commit 8fc39b16f2
9 changed files with 150 additions and 152 deletions

View file

@ -1,59 +1,52 @@
{
"Comment.nvim": { "branch": "master", "commit": "e30b7f2008e52442154b66f7c519bfd2f1e32acb" },
"CopilotChat.nvim": { "branch": "canary", "commit": "78ea7304b2ae851c09b61a3f694b13f171348970" },
"LazyVim": { "branch": "main", "commit": "bb289f4345835d98df7d0dfd4a26fd0dffa7e89a" },
"bufferline.nvim": { "branch": "main", "commit": "5cc447cb2b463cb499c82eaeabbed4f5fa6a0a44" },
"catppuccin": { "branch": "main", "commit": "637d99e638bc6f1efedac582f6ccab08badac0c6" },
"cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" },
"cmp-nvim-lsp": { "branch": "main", "commit": "39e2eda76828d88b773cc27a3f61d2ad782c922d" },
"cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" },
"conform.nvim": { "branch": "master", "commit": "023f795dbcf32d4351b6a9ed2e613d471b5bb812" },
"CopilotChat.nvim": { "branch": "main", "commit": "2ebe591cff06018e265263e71e1dbc4c5aa8281e" },
"LazyVim": { "branch": "main", "commit": "447e260a62ffd50b0113c20db0e63108baf44b44" },
"blink.cmp": { "branch": "main", "commit": "ae5a4ce8f7e519e49de7ae6fcadd74547f820a52" },
"bufferline.nvim": { "branch": "main", "commit": "261a72b90d6db4ed8014f7bda976bcdc9dd7ce76" },
"catppuccin": { "branch": "main", "commit": "faf15ab0201b564b6368ffa47b56feefc92ce3f4" },
"conform.nvim": { "branch": "master", "commit": "f4e8837878fc5712d053ba3091a73d27d96a09e2" },
"crates.nvim": { "branch": "main", "commit": "8bf8358ee326d5d8c11dcd7ac0bcc9ff97dbc785" },
"dashboard-nvim": { "branch": "master", "commit": "ae309606940d26d8c9df8b048a6e136b6bbec478" },
"dressing.nvim": { "branch": "master", "commit": "fc78a3ca96f4db9f8893bb7e2fd9823e0780451b" },
"flash.nvim": { "branch": "main", "commit": "34c7be146a91fec3555c33fe89c7d643f6ef5cf1" },
"friendly-snippets": { "branch": "main", "commit": "de8fce94985873666bd9712ea3e49ee17aadb1ed" },
"gitsigns.nvim": { "branch": "main", "commit": "ac5aba6dce8c06ea22bea2c9016f51a2dbf90dc7" },
"grug-far.nvim": { "branch": "main", "commit": "9a2f78219390b47d67795ab09390d7f092e23976" },
"indent-blankline.nvim": { "branch": "master", "commit": "7871a88056f7144defca9c931e311a3134c5d509" },
"lazy.nvim": { "branch": "main", "commit": "7967abe55752aa90532e6bb4bd4663fe27a264cb" },
"lazydev.nvim": { "branch": "main", "commit": "d5800897d9180cea800023f2429bce0a94ed6064" },
"friendly-snippets": { "branch": "main", "commit": "efff286dd74c22f731cdec26a70b46e5b203c619" },
"fzf-lua": { "branch": "main", "commit": "21849312a3eae7d8115a83b7a3f9c54a4e29c611" },
"gitsigns.nvim": { "branch": "main", "commit": "5f808b5e4fef30bd8aca1b803b4e555da07fc412" },
"grug-far.nvim": { "branch": "main", "commit": "11d0fbd6fff6f4e394af95319deeaab4ef88ce97" },
"lazy.nvim": { "branch": "main", "commit": "7e6c863bc7563efbdd757a310d17ebc95166cef3" },
"lazydev.nvim": { "branch": "main", "commit": "f59bd14a852ca43db38e3662395354cb2a9b13e0" },
"lualine.nvim": { "branch": "master", "commit": "2a5bae925481f999263d6f5ed8361baef8df4f83" },
"luvit-meta": { "branch": "main", "commit": "ce76f6f6cdc9201523a5875a4471dcfe0186eb60" },
"mason-lspconfig.nvim": { "branch": "main", "commit": "4d0e5b49363cac187326998b96aa6a2884e0e89b" },
"mason-lspconfig.nvim": { "branch": "main", "commit": "8e46de9241d3997927af12196bd8faa0ed08c29a" },
"mason-nvim-dap.nvim": { "branch": "main", "commit": "8b9363d83b5d779813cdd2819b8308651cec2a09" },
"mason.nvim": { "branch": "main", "commit": "e2f7f9044ec30067bc11800a9e266664b88cda22" },
"mini.ai": { "branch": "main", "commit": "a9b992b13d22a8db8df6beac25afa59a10b5584d" },
"mini.icons": { "branch": "main", "commit": "54686be7d58807906cb2c8c2216e0bf9c044f19a" },
"mini.icons": { "branch": "main", "commit": "44c0160526f7ae17ca8e8eab9ab235d047fcf7a6" },
"mini.pairs": { "branch": "main", "commit": "927d19cbdd0e752ab1c7eed87072e71d2cd6ff51" },
"neo-tree.nvim": { "branch": "main", "commit": "206241e451c12f78969ff5ae53af45616ffc9b72" },
"neotest": { "branch": "master", "commit": "6d3d22cdad49999ef774ebe1bc250a4994038964" },
"neotest-rspec": { "branch": "main", "commit": "53fc108a06ae43d7f873d42ee5189c2301e33623" },
"noice.nvim": { "branch": "main", "commit": "4824592317e7f5faf51adb8dfba6567aa8456d61" },
"nui.nvim": { "branch": "main", "commit": "b58e2bfda5cea347c9d58b7f11cf3012c7b3953f" },
"nvim-cmp": { "branch": "main", "commit": "f17d9b4394027ff4442b298398dfcaab97e40c4f" },
"nvim-dap": { "branch": "master", "commit": "6bf4de67dbe90271608e1c81797e5edc79ec6335" },
"neotest-rspec": { "branch": "main", "commit": "f8c91edc5dd87ca467a624652f365ac217d7cc1c" },
"noice.nvim": { "branch": "main", "commit": "eaed6cc9c06aa2013b5255349e4f26a6b17ab70f" },
"nui.nvim": { "branch": "main", "commit": "53e907ffe5eedebdca1cd503b00aa8692068ca46" },
"nvim-dap": { "branch": "master", "commit": "567da83810dd9da32f9414d941bc6848715fc102" },
"nvim-dap-ruby": { "branch": "main", "commit": "4176405d186a93ebec38a6344df124b1689cfcfd" },
"nvim-dap-ui": { "branch": "master", "commit": "ffa89839f97bad360e78428d5c740fdad9a0ff02" },
"nvim-dap-virtual-text": { "branch": "master", "commit": "76d80c3d171224315b61c006502a1e30c213a9ab" },
"nvim-lint": { "branch": "master", "commit": "ad0fe35e80f5cd31a0f19176d7b30e5c3011119d" },
"nvim-lspconfig": { "branch": "master", "commit": "87c7c83ce62971e0bdb29bb32b8ad2b19c8f95d0" },
"nvim-lint": { "branch": "master", "commit": "6b46370d02cd001509a765591a3ffc481b538794" },
"nvim-lspconfig": { "branch": "master", "commit": "9f2c279cf9abe584f03bfeb37c6658d68e3ff49d" },
"nvim-nio": { "branch": "master", "commit": "a428f309119086dc78dd4b19306d2d67be884eee" },
"nvim-snippets": { "branch": "main", "commit": "56b4052f71220144689caaa2e5b66222ba5661eb" },
"nvim-tree.lua": { "branch": "master", "commit": "28eac2801b201f301449e976d7a9e8cfde053ba3" },
"nvim-treesitter": { "branch": "master", "commit": "06611c75fec573420838369fe76ac5f8bd740240" },
"nvim-treesitter-textobjects": { "branch": "master", "commit": "3e450cd85243da99dc23ebbf14f9c70e9a0c26a4" },
"nvim-ts-autotag": { "branch": "main", "commit": "e239a560f338be31337e7abc3ee42515daf23f5e" },
"nvim-web-devicons": { "branch": "master", "commit": "19d257cf889f79f4022163c3fbb5e08639077bd8" },
"nvim-tree.lua": { "branch": "master", "commit": "f7b76cd1a75615c8d6254fc58bedd2a7304eb7d8" },
"nvim-treesitter": { "branch": "master", "commit": "c47d8d27d047634d00a07ca80a1b694624743b38" },
"nvim-treesitter-textobjects": { "branch": "master", "commit": "ad8f0a472148c3e0ae9851e26a722ee4e29b1595" },
"nvim-ts-autotag": { "branch": "main", "commit": "1cca23c9da708047922d3895a71032bc0449c52d" },
"nvim-web-devicons": { "branch": "master", "commit": "0eb18da56e2ba6ba24de7130a12bcc4e31ad11cb" },
"persistence.nvim": { "branch": "main", "commit": "f6aad7dde7fcf54148ccfc5f622c6d5badd0cc3d" },
"plenary.nvim": { "branch": "master", "commit": "2d9b06177a975543726ce5c73fca176cedbffe9d" },
"rustaceanvim": { "branch": "master", "commit": "8ece53be36515cb9e76f3d03511643636469502d" },
"snacks.nvim": { "branch": "main", "commit": "f126609b57c0ec07cfd7bcef7085e3905adb4d42" },
"telescope-fzf-native.nvim": { "branch": "main", "commit": "cf48d4dfce44e0b9a2e19a008d6ec6ea6f01a83b" },
"telescope.nvim": { "branch": "master", "commit": "85922dde3767e01d42a08e750a773effbffaea3e" },
"rustaceanvim": { "branch": "master", "commit": "0a618c1d1c05a8059880076feccb15301da6993d" },
"snacks.nvim": { "branch": "main", "commit": "972c61cc1cd254ef3b43ec1dfd51eefbdc441a7d" },
"telescope.nvim": { "branch": "master", "commit": "2eca9ba22002184ac05eddbe47a7fe2d5a384dfc" },
"todo-comments.nvim": { "branch": "main", "commit": "ae0a2afb47cf7395dc400e5dc4e05274bf4fb9e0" },
"tokyonight.nvim": { "branch": "main", "commit": "b0e7c7382a7e8f6456f2a95655983993ffda745e" },
"trouble.nvim": { "branch": "main", "commit": "3dc00c0447c016cd43e03054c3d49436a1f2076d" },
"ts-comments.nvim": { "branch": "main", "commit": "2002692ad1d3f6518d016550c20c2a890f0cbf0e" },
"which-key.nvim": { "branch": "main", "commit": "68e37e12913a66b60073906f5d3f14dee0de19f2" }
"trouble.nvim": { "branch": "main", "commit": "46cf952fc115f4c2b98d4e208ed1e2dce08c9bf6" },
"ts-comments.nvim": { "branch": "main", "commit": "872dcfa0418f4a33b7437fb4d9f4e89f2f000d74" },
"which-key.nvim": { "branch": "main", "commit": "8ab96b38a2530eacba5be717f52e04601eb59326" }
}

View file

@ -3,7 +3,7 @@
],
"news": {
"NEWS.md": "7107"
"NEWS.md": "10960"
},
"version": 7
}

View file

@ -15,6 +15,7 @@ require("lazy").setup({
-- added then proceeded to disable
{ import = "lazyvim.plugins.extras.lang.ruby" },
{ import = "lazyvim.plugins.extras.lang.rust" },
{ import = "lazyvim.plugins.extras.lang.typescript" },
{ import = "lazyvim.plugins.extras.dap.core" },
{ import = "lazyvim.plugins.extras.test.core" },
--
@ -37,7 +38,10 @@ require("lazy").setup({
-- version = "*", -- try installing the latest stable version for plugins that support semver
},
-- install = { colorscheme = { "tokyonight", "habamax" } },
checker = { enabled = true }, -- automatically check for plugin updates
checker = {
enabled = true, -- check for plugin updates periodically
notify = false, -- notify on update
}, -- automatically check for plugin updates
performance = {
rtp = {
-- disable some rtp plugins
@ -45,7 +49,7 @@ require("lazy").setup({
"gzip",
-- "matchit",
-- "matchparen",
"netrwPlugin",
-- "netrwPlugin",
"tarPlugin",
"tohtml",
"tutor",

View file

@ -3,6 +3,7 @@
-- Default options that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/options.lua
local g, opt = vim.g, vim.opt
g.snacks_animate = false -- disable annoying animations
g.autoformat = false -- disable LazyVim autoformat on save
-- g.loaded_python3_provider = 0
-- g.loaded_node_provider = 0
@ -10,7 +11,7 @@ g.autoformat = false -- disable LazyVim autoformat on save
-- g.ruby_path = vim.fn.system('rbenv prefix') -- github.com/vim-ruby/vim-ruby/issues/248
-- "set regexpengine" == "opt.regexpengine" in case I forget again
opt.regexpengine = 1 -- sourcing <nvim7-install..>/syntax/ruby.vim from ~18ms to ~9ms
-- opt.regexpengine = 1 -- sourcing <nvim7-install..>/syntax/ruby.vim from ~18ms to ~9ms
opt.colorcolumn = "90,100" -- line length guideline
opt.showbreak = "" -- show linebreak with arrow ↪
opt.linebreak = true -- break line on word, not char

View file

@ -15,7 +15,7 @@ return {
{ "nvim-neo-tree/neo-tree.nvim", enabled = false },
-- LINTING
{ "mfussenegger/nvim-lint", enabled = false },
-- { "mfussenegger/nvim-lint", enabled = false },
-- UI
{ "echasnovski/mini.indentscope", enabled = false },

View file

@ -2,7 +2,7 @@
return {
{
"nvim-tree/nvim-tree.lua",
event = "VeryLazy",
-- event = "VeryLazy",
dependencies = { "nvim-tree/nvim-web-devicons" },
keys = {
{
@ -35,14 +35,14 @@ return {
require("nvim-tree.api").tree.close()
end, -- or function() vim.cmd([[NvimTreeClose]]) end
-- Note: Copied from LazyVim config for Neo-tree
init = function()
if vim.fn.argc(-1) == 1 then
local stat = vim.uv.fs_stat(vim.fn.argv(0))
if stat and stat.type == "directory" then
require("nvim-tree")
end
end
end,
-- init = function()
-- if vim.fn.argc(-1) == 1 then
-- local stat = vim.uv.fs_stat(vim.fn.argv(0))
-- if stat and stat.type == "directory" then
-- require("nvim-tree")
-- end
-- end
-- end,
opts = {
-- https://github.com/nvim-tree/nvim-tree.lua?tab=readme-ov-file#custom-mappings
on_attach = function(bufnr)

View file

@ -1,4 +1,4 @@
return {
-- return {
-- {
-- "nvim-treesitter/nvim-treesitter",
-- opts = { ensure_installed = { "ruby" } }
@ -64,4 +64,4 @@ return {
-- },
-- },
-- },
}
-- }

View file

@ -1,62 +1,62 @@
return {
-- {
-- "nvim-treesitter/nvim-treesitter",
-- opts = function(_, opts)
-- vim.list_extend(opts.ensure_installed, {
-- "ruby",
-- })
-- end,
-- },
{
"williamboman/mason.nvim",
opts = function(_, opts)
vim.list_extend(opts.ensure_installed, {
"eslint_d",
"eslint-lsp",
})
end,
},
{
"neovim/nvim-lspconfig",
opts = {
servers = {
eslint = {},
},
},
},
-- {
-- "mfussenegger/nvim-dap",
-- dependencies = {
-- "suketa/nvim-dap-ruby",
-- config = function()
-- require("dap-ruby").setup()
-- end,
-- },
-- keys = {
-- -- https://github.com/mfussenegger/nvim-dap/blob/master/doc/dap.txt
-- { "<leader>te", function() require("dap").repl.toggle() end, desc = "DAP Toggle Term" },
-- { "<leader>tn", function() require("dap").continue() end, desc = "DAP Next/Continue" },
-- { "<leader>tb", function() require("dap").toggle_breakpoint() end, desc = "DAP Toggle Breakpoint" },
-- },
-- },
-- {
-- "nvim-neotest/neotest",
-- dependencies = {
-- "olimorris/neotest-rspec",
-- },
-- opts = {
-- adapters = {
-- ["neotest-rspec"] = {
-- -- NOTE: By default neotest-rspec uses the system wide rspec gem instead of the one through bundler
-- -- rspec_cmd = function()
-- -- return vim.tbl_flatten({
-- -- "bundle",
-- -- "exec",
-- -- "rspec",
-- -- })
-- -- end,
-- },
-- },
-- },
-- },
}
-- return {
-- -- {
-- -- "nvim-treesitter/nvim-treesitter",
-- -- opts = function(_, opts)
-- -- vim.list_extend(opts.ensure_installed, {
-- -- "ruby",
-- -- })
-- -- end,
-- -- },
-- {
-- "williamboman/mason.nvim",
-- opts = function(_, opts)
-- vim.list_extend(opts.ensure_installed, {
-- "eslint_d",
-- "eslint-lsp",
-- })
-- end,
-- },
-- {
-- "neovim/nvim-lspconfig",
-- opts = {
-- servers = {
-- eslint = {},
-- },
-- },
-- },
-- -- {
-- -- "mfussenegger/nvim-dap",
-- -- dependencies = {
-- -- "suketa/nvim-dap-ruby",
-- -- config = function()
-- -- require("dap-ruby").setup()
-- -- end,
-- -- },
-- -- keys = {
-- -- -- https://github.com/mfussenegger/nvim-dap/blob/master/doc/dap.txt
-- -- { "<leader>te", function() require("dap").repl.toggle() end, desc = "DAP Toggle Term" },
-- -- { "<leader>tn", function() require("dap").continue() end, desc = "DAP Next/Continue" },
-- -- { "<leader>tb", function() require("dap").toggle_breakpoint() end, desc = "DAP Toggle Breakpoint" },
-- -- },
-- -- },
-- -- {
-- -- "nvim-neotest/neotest",
-- -- dependencies = {
-- -- "olimorris/neotest-rspec",
-- -- },
-- -- opts = {
-- -- adapters = {
-- -- ["neotest-rspec"] = {
-- -- -- NOTE: By default neotest-rspec uses the system wide rspec gem instead of the one through bundler
-- -- -- rspec_cmd = function()
-- -- -- return vim.tbl_flatten({
-- -- -- "bundle",
-- -- -- "exec",
-- -- -- "rspec",
-- -- -- })
-- -- -- end,
-- -- },
-- -- },
-- -- },
-- -- },
-- }

View file

@ -15,42 +15,42 @@ return {
},
},
},
{
"lukas-reineke/indent-blankline.nvim",
main = "ibl",
-- Skip opts due to default values I dislike (ie. blankline char "│" vs "▏")
-- config = function(_, opts)
config = function()
local hooks = require("ibl.hooks")
local highlight = {
"DarkerRainbowRed",
"DarkerRainbowYellow",
"DarkerRainbowBlue",
"DarkerRainbowOrange",
"DarkerRainbowGreen",
"DarkerRainbowViolet",
"DarkerRainbowCyan",
}
hooks.register(hooks.type.HIGHLIGHT_SETUP, function()
-- https://mdigi.tools/darken-color/#56b6c2 40% darker
vim.api.nvim_set_hl(0, "DarkerRainbowRed", { fg = "#a4232d" })
vim.api.nvim_set_hl(0, "DarkerRainbowYellow", { fg = "#b07f23" })
vim.api.nvim_set_hl(0, "DarkerRainbowBlue", { fg = "#136db7" })
vim.api.nvim_set_hl(0, "DarkerRainbowOrange", { fg = "#8f5c2b" })
vim.api.nvim_set_hl(0, "DarkerRainbowGreen", { fg = "#59833b" })
vim.api.nvim_set_hl(0, "DarkerRainbowViolet", { fg = "#8829a3" })
vim.api.nvim_set_hl(0, "DarkerRainbowCyan", { fg = "#2d737b" })
-- vim.api.nvim_set_hl(0, "RainbowRed", { fg = "#E06C75" })
-- vim.api.nvim_set_hl(0, "RainbowYellow", { fg = "#E5C07B" })
-- vim.api.nvim_set_hl(0, "RainbowBlue", { fg = "#61AFEF" })
-- vim.api.nvim_set_hl(0, "RainbowOrange", { fg = "#D19A66" })
-- vim.api.nvim_set_hl(0, "RainbowGreen", { fg = "#98C379" })
-- vim.api.nvim_set_hl(0, "RainbowViolet", { fg = "#C678DD" })
-- vim.api.nvim_set_hl(0, "RainbowCyan", { fg = "#56B6C2" })
end)
require("ibl").setup({ indent = { highlight = highlight } })
end,
},
-- {
-- "lukas-reineke/indent-blankline.nvim",
-- main = "ibl",
-- -- Skip opts due to default values I dislike (ie. blankline char "│" vs "▏")
-- -- config = function(_, opts)
-- config = function()
-- local hooks = require("ibl.hooks")
-- local highlight = {
-- "DarkerRainbowRed",
-- "DarkerRainbowYellow",
-- "DarkerRainbowBlue",
-- "DarkerRainbowOrange",
-- "DarkerRainbowGreen",
-- "DarkerRainbowViolet",
-- "DarkerRainbowCyan",
-- }
-- hooks.register(hooks.type.HIGHLIGHT_SETUP, function()
-- -- https://mdigi.tools/darken-color/#56b6c2 40% darker
-- vim.api.nvim_set_hl(0, "DarkerRainbowRed", { fg = "#a4232d" })
-- vim.api.nvim_set_hl(0, "DarkerRainbowYellow", { fg = "#b07f23" })
-- vim.api.nvim_set_hl(0, "DarkerRainbowBlue", { fg = "#136db7" })
-- vim.api.nvim_set_hl(0, "DarkerRainbowOrange", { fg = "#8f5c2b" })
-- vim.api.nvim_set_hl(0, "DarkerRainbowGreen", { fg = "#59833b" })
-- vim.api.nvim_set_hl(0, "DarkerRainbowViolet", { fg = "#8829a3" })
-- vim.api.nvim_set_hl(0, "DarkerRainbowCyan", { fg = "#2d737b" })
-- -- vim.api.nvim_set_hl(0, "RainbowRed", { fg = "#E06C75" })
-- -- vim.api.nvim_set_hl(0, "RainbowYellow", { fg = "#E5C07B" })
-- -- vim.api.nvim_set_hl(0, "RainbowBlue", { fg = "#61AFEF" })
-- -- vim.api.nvim_set_hl(0, "RainbowOrange", { fg = "#D19A66" })
-- -- vim.api.nvim_set_hl(0, "RainbowGreen", { fg = "#98C379" })
-- -- vim.api.nvim_set_hl(0, "RainbowViolet", { fg = "#C678DD" })
-- -- vim.api.nvim_set_hl(0, "RainbowCyan", { fg = "#56B6C2" })
-- end)
-- require("ibl").setup({ indent = { highlight = highlight } })
-- end,
-- },
{
"nvim-lualine/lualine.nvim",
opts = function()