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
47 changes: 17 additions & 30 deletions npins/sources.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@
"version_upper_bound": null,
"release_prefix": null,
"submodules": false,
"version": "v0.30.0",
"revision": "0ab7cd809d7da8e2e797902955f0da6a21ab253e",
"url": "https://api.github.com/repos/augmentcode/augment.vim/tarball/v0.30.0",
"hash": "0in4aab1ynhjr659f5gwmh2yih41gifdg8rnxzw5cl5zmwkqrhba"
"version": "v0.31.0",
"revision": "df56563fe534eb7d0daeaa8c8de3b54700fbbaf8",
"url": "https://api.github.com/repos/augmentcode/augment.vim/tarball/v0.31.0",
"hash": "0j0kyrmcw8py931islm65zjz68nh83hphz9w3dyzwd09dbaddbka"
},
"nvim-catppuccin": {
"type": "Git",
Expand Down Expand Up @@ -94,6 +94,19 @@
"url": "https://github.com/antoinemadec/FixCursorHold.nvim/archive/1900f89dc17c603eec29960f57c00bd9ae696495.tar.gz",
"hash": "0p7xh31qp836xvxbm1y3r4djv3r7ivxhx7jxwzgd380d029ql1hz"
},
"nvim-flash": {
"type": "Git",
"repository": {
"type": "GitHub",
"owner": "folke",
"repo": "flash.nvim"
},
"branch": "main",
"submodules": false,
"revision": "3c942666f115e2811e959eabbdd361a025db8b63",
"url": "https://github.com/folke/flash.nvim/archive/3c942666f115e2811e959eabbdd361a025db8b63.tar.gz",
"hash": "1xil2lkyr404zni1qmkwrl9hvbwjjk52fmncg59vqmvdybwsnqni"
},
"nvim-gitsigns": {
"type": "Git",
"repository": {
Expand All @@ -120,19 +133,6 @@
"url": "https://github.com/lukas-reineke/indent-blankline.nvim/archive/005b56001b2cb30bfa61b7986bc50657816ba4ba.tar.gz",
"hash": "1rmpi866bg7hyw620hbgmmmksxgll9ilbpigd1kk9b0lpvwxbbyj"
},
"nvim-leap": {
"type": "Git",
"repository": {
"type": "GitHub",
"owner": "ggandor",
"repo": "leap.nvim"
},
"branch": "main",
"submodules": false,
"revision": "189102b07cdd24de3bd7132e57da8c9614c385fc",
"url": "https://github.com/ggandor/leap.nvim/archive/189102b07cdd24de3bd7132e57da8c9614c385fc.tar.gz",
"hash": "0rdvrxdq43szm360rrnmxzmrm5wp6l91xkysnkl4d9p6rlyx01nz"
},
"nvim-ledger": {
"type": "Git",
"repository": {
Expand Down Expand Up @@ -350,19 +350,6 @@
"url": "https://github.com/nvim-lua/plenary.nvim/archive/857c5ac632080dba10aae49dba902ce3abf91b35.tar.gz",
"hash": "0jxx9nfga7z87v78cifglqs8w4mrpf99wcp483kb0hbv6537jmgh"
},
"nvim-precognition": {
"type": "Git",
"repository": {
"type": "GitHub",
"owner": "tris203",
"repo": "precognition.nvim"
},
"branch": "main",
"submodules": false,
"revision": "80ac0a99064eba71894dd164e891cc5d7e05827e",
"url": "https://github.com/tris203/precognition.nvim/archive/80ac0a99064eba71894dd164e891cc5d7e05827e.tar.gz",
"hash": "1v1knpvd3wxvixmfyzrjwg9r7xbixg53n4dvvk7r8d05y5cgbzmc"
},
"nvim-promis-async": {
"type": "GitRelease",
"repository": {
Expand Down
3 changes: 1 addition & 2 deletions plugins/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
notify = false;
nui = false;
plenary = false;
precognition = false;
promis-async = false;
rainbow = false;
telescope = false;
Expand All @@ -39,7 +38,7 @@
# optional plugins (aka opt)
augment = true;
crates = true;
leap = true;
flash = true;
ledger = true;
lspsaga = true;
markdown = true;
Expand Down
17 changes: 17 additions & 0 deletions plugins/nobbz/lua/nobbz/flash.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
require("nobbz.lazy").add_specs({ {
"flash",
after = function()
local flash = require("flash")

flash.setup({})
Copy link

Copilot AI May 26, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] Consider documenting the rationale for using an empty configuration object here, or add comments explaining how users can extend the flash setup if needed.

Copilot uses AI. Check for mistakes.

WK.add({
{ "s", function() flash.jump({}) end, desc = "flash jump", },
{ "S", function() flash.treesitter({}) end, desc = "flash treesitter", },
})
end,
keys = {
{ "s", mode = "n", },
{ "S", mode = "n", },
},
}, })
45 changes: 22 additions & 23 deletions plugins/nobbz/lua/nobbz/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -31,29 +31,28 @@ local function rs(submodule)
return require(this_module .. "." .. submodule)
end

rs("augment") -- Some AI thingy
rs("blink") -- foundations for completions
rs("git") -- set up neogit (kind of magit)
rs("leap") -- some easier motions
rs("ledger") -- set up ledger/hledger PTA
rs("lsp") -- LSP and related setup
rs("lspsaga") -- set up lspsaga
rs("lualine") -- Set up the status bar at the bottom
rs("luasnip") -- Snippet tool
rs("markdown") -- Set up markdown editing
rs("mini") -- set up mini.nvim
rs("misc") -- miscelanous editor settings
rs("noice") -- setup noice for nicer notifications and messages
rs("oil") -- manage files as if it was a text buffer
rs("precognition") -- set up precognition, which helps with motions
rs("rainbow") -- set up rainbow parenthesis
rs("surround") -- gelps with surrounding in parens or quotes
rs("telescope") -- some fuzzy finders
rs("theme") -- how shall everything look like
rs("treesitter") -- set up treesitter
rs("trouble") -- load trouble
rs("ufo") -- set up ufo
rs("whichkey") -- set up whichkey, which provides help as you type
rs("augment") -- Some AI thingy
rs("blink") -- foundations for completions
rs("flash") -- some easier motions
rs("git") -- set up neogit (kind of magit)
rs("ledger") -- set up ledger/hledger PTA
rs("lsp") -- LSP and related setup
rs("lspsaga") -- set up lspsaga
rs("lualine") -- Set up the status bar at the bottom
rs("luasnip") -- Snippet tool
rs("markdown") -- Set up markdown editing
rs("mini") -- set up mini.nvim
rs("misc") -- miscelanous editor settings
rs("noice") -- setup noice for nicer notifications and messages
rs("oil") -- manage files as if it was a text buffer
rs("rainbow") -- set up rainbow parenthesis
rs("surround") -- gelps with surrounding in parens or quotes
rs("telescope") -- some fuzzy finders
rs("theme") -- how shall everything look like
rs("treesitter") -- set up treesitter
rs("trouble") -- load trouble
rs("ufo") -- set up ufo
rs("whichkey") -- set up whichkey, which provides help as you type

if vim.g.neovide then rs("neovide") end

Expand Down
17 changes: 0 additions & 17 deletions plugins/nobbz/lua/nobbz/leap.lua

This file was deleted.

11 changes: 0 additions & 11 deletions plugins/nobbz/lua/nobbz/precognition.lua

This file was deleted.

15 changes: 15 additions & 0 deletions plugins/nobbz/lua/nobbz/trouble.lua
Original file line number Diff line number Diff line change
@@ -1,10 +1,25 @@
---Flag to track whether virtual diagnostic lines are enabled
---@type boolean
local virtual_lines = false

---Toggles the display of virtual diagnostic lines in the editor
---
---This function switches between showing diagnostics inline (as virtual text)
---or not showing them at all. It updates the vim.diagnostic configuration
---accordingly.
local function toggle_virtual_lines()
virtual_lines = not virtual_lines
vim.diagnostic.config({ virtual_lines = virtual_lines, })
end

WK.add({
{ "<leader>xx", "<cmd>Trouble diagnostics toggle<cr>", desc = "toggle trouble", },
{ "<leader>xX", "<cmd>Trouble diagnostics toggle filter.buf=0<cr>", desc = "toggle buffer trouble", },
{ "<leader>cs", "<cmd>Trouble symbols toggle focus=false<cr>", desc = "Symbols (Trouble)", },
{ "<leader>cl", "<cmd>Trouble lsp toggle focus=false win.position=right<cr>", desc = "LSP Definitions / references / ... (Trouble)", },
{ "<leader>xL", "<cmd>Trouble loclist toggle<cr>", desc = "Location List (Trouble)", },
{ "<leader>xQ", "<cmd>Trouble qflist toggle<cr>", desc = "Quickfix List (Trouble)", },
{ "<leader>xc", toggle_virtual_lines, desc = "toggle virtual lines", },
})

require("nobbz.lazy").add_specs({
Expand Down