Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 7 additions & 12 deletions nvim/lua/plugins/lazydev.lua
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
return {
{
"folke/lazydev.nvim",
ft = "lua", -- only load on lua files
opts = {
library = {
-- See the configuration section for more details
-- Load luvit types when the `vim.uv` word is found
{ path = "luvit-meta/library", words = { "vim%.uv" } },
{ path = "snacks.nvim", words = { "Snacks" } },
{ path = "lazy.nvim", words = { "LazyVim" } },
},
"folke/lazydev.nvim",
ft = "lua",
opts = {
library = {
{ path = "${3rd}/luv/library", words = { "vim%.uv" } },
{ path = "snacks.nvim", words = { "Snacks" } },
{ path = "lazy.nvim", words = { "LazyVim" } },
},
},
{ "Bilal2453/luvit-meta", lazy = true }, -- optional `vim.uv` typings
}
20 changes: 0 additions & 20 deletions nvim/lua/plugins/lazygit.lua

This file was deleted.

29 changes: 29 additions & 0 deletions nvim/lua/plugins/mason.lua
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,24 @@ return {
"leoluz/nvim-dap-go",
"suketa/nvim-dap-ruby",
{ "rcarriga/nvim-dap-ui", dependencies = { "mfussenegger/nvim-dap", "nvim-neotest/nvim-nio" } },
{
"igorlfs/nvim-dap-view",
dependencies = { "mfussenegger/nvim-dap" },
cmd = { "DapViewOpen", "DapViewClose", "DapViewToggle", "DapViewWatch" },
opts = {
winbar = {
sections = { "watches", "scopes", "exceptions", "breakpoints", "threads", "repl" },
default_section = "scopes",
controls = {
enabled = true,
position = "right",
},
},
windows = {
position = "right",
},
},
},
},
keys = {
{
Expand Down Expand Up @@ -144,6 +162,17 @@ return {
end,
desc = "Debug: Center Scopes",
},
{
"<Leader><space>pv",
"<cmd>DapViewToggle<cr>",
desc = "Debug: Toggle DAP View",
},
{
"<Leader><space>pw",
"<cmd>DapViewWatch<cr>",
mode = { "n", "v" },
desc = "Debug: Watch Expression",
},
},
config = function()
require("mason-nvim-dap").setup({
Expand Down
2 changes: 1 addition & 1 deletion nvim/lua/plugins/neotest.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ return {
dependencies = {
"nvim-lua/plenary.nvim",
"nvim-treesitter/nvim-treesitter",
"haydenmeade/neotest-jest",
"nvim-neotest/neotest-jest",
"nvim-neotest/nvim-nio",
},
config = function()
Expand Down
29 changes: 15 additions & 14 deletions nvim/lua/plugins/nvim-colorizer.lua
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
return {
"norcalli/nvim-colorizer.lua",
event = "BufRead",
config = function()
require("colorizer").setup({ "*" }, {
RGB = true, -- #RGB hex codes
RRGGBB = true, -- #RRGGBB hex codes
names = true, -- "Name" codes like Blue
RRGGBBAA = true, -- #RRGGBBAA hex codes
rgb_fn = true, -- CSS rgb() and rgba() functions
hsl_fn = true, -- CSS hsl() and hsla() functions
css = true, -- Enable all CSS features: rgb_fn, hsl_fn, names, RGB, RRGGBB
css_fn = true, -- Enable all CSS *functions*: rgb_fn, hsl_fn
"catgoose/nvim-colorizer.lua",
event = "BufReadPre",
opts = {
filetypes = { "*" },
user_default_options = {
RGB = true,
RRGGBB = true,
names = true,
RRGGBBAA = true,
rgb_fn = true,
hsl_fn = true,
css = true,
css_fn = true,
mode = "background",
})
end,
},
},
}
2 changes: 1 addition & 1 deletion nvim/lua/plugins/obsidian.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
if vim.fn.isdirectory(vim.fn.expand("~/Vaults")) == 1 then
return {
"epwalsh/obsidian.nvim",
"obsidian-nvim/obsidian.nvim",
version = "*", -- recommended, use latest release instead of latest commit
lazy = true,
ft = "markdown",
Expand Down
23 changes: 0 additions & 23 deletions nvim/lua/plugins/oscyank.lua

This file was deleted.

7 changes: 7 additions & 0 deletions nvim/lua/plugins/snacks.lua
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,13 @@ return {
},
},
keys = {
{
"<leader>gL",
function()
require("snacks").lazygit()
end,
desc = "LazyGit",
},
{
"<leader>aA",
function()
Expand Down
2 changes: 2 additions & 0 deletions nvim/lua/plugins/which-key.lua
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,8 @@ return {
{ "<Leader><space>pr", desc = "Open REPL", icon = "" },
{ "<Leader><space>pl", desc = "Run last", icon = "󰘁" },
{ "<Leader><space>p", desc = "More DAP" },
{ "<Leader><space>pv", desc = "Toggle DAP View", icon = "󱏿" },
{ "<Leader><space>pw", desc = "Watch Expression", icon = "󰂥" },
})
end,
}