Skip to content
Open

Json #1787

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
Binary file added .DS_Store
Binary file not shown.
Binary file added .github/.DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ test.sh
nvim

spell/
lazy-lock.json
# lazy-lock.json
326 changes: 293 additions & 33 deletions init.lua

Large diffs are not rendered by default.

35 changes: 35 additions & 0 deletions lazy-lock.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"LuaSnip": { "branch": "master", "commit": "458560534a73f7f8d7a11a146c801db00b081df0" },
"blink.cmp": { "branch": "main", "commit": "327fff91fe6af358e990be7be1ec8b78037d2138" },
"blink.indent": { "branch": "main", "commit": "a66ac16464f22a813c755af283af423a38bbde65" },
"claude-code.nvim": { "branch": "main", "commit": "c9a31e51069977edaad9560473b5d031fcc5d38b" },
"conform.nvim": { "branch": "master", "commit": "fbcb4fa7f34bfea9be702ffff481a8e336ebf6ed" },
"dropbar.nvim": { "branch": "master", "commit": "ce202248134e3949aac375fd66c28e5207785b10" },
"fidget.nvim": { "branch": "main", "commit": "3f5475949679953af6d78654db29b944fa826e6a" },
"friendly-snippets": { "branch": "main", "commit": "572f5660cf05f8cd8834e096d7b4c921ba18e175" },
"gitsigns.nvim": { "branch": "main", "commit": "1ee5c1fd068c81f9dd06483e639c2aa4587dc197" },
"hover.nvim": { "branch": "main", "commit": "3b49066e09e03e63be6d6f43ae2b8bcd58301f63" },
"kanso.nvim": { "branch": "main", "commit": "62e9c5d669567d086474b2b6863e0724c71c6c99" },
"lazy.nvim": { "branch": "main", "commit": "1ea3c4085785f460fb0e46d2fe1ee895f5f9e7c1" },
"lazydev.nvim": { "branch": "main", "commit": "e28ce52fc7ff79fcb76f0e79ee6fb6182fca90b9" },
"marks.nvim": { "branch": "master", "commit": "f353e8c08c50f39e99a9ed474172df7eddd89b72" },
"mason-lspconfig.nvim": { "branch": "main", "commit": "6bdb14f230de0904229ec367b410fb817e59b072" },
"mason-tool-installer.nvim": { "branch": "main", "commit": "517ef5994ef9d6b738322664d5fdd948f0fdeb46" },
"mason.nvim": { "branch": "main", "commit": "ad7146aa61dcaeb54fa900144d768f040090bff0" },
"mini.nvim": { "branch": "main", "commit": "4eaa8f4034535c372f6ca04b2772897048296dab" },
"nui.nvim": { "branch": "main", "commit": "de740991c12411b663994b2860f1a4fd0937c130" },
"nvim-lspconfig": { "branch": "master", "commit": "ac98db2f9f06a56498ec890a96928774eae412c3" },
"nvim-tree.lua": { "branch": "master", "commit": "321bc61580fd066b76861c32de3319c3a6d089e7" },
"nvim-treesitter": { "branch": "master", "commit": "42fc28ba918343ebfd5565147a42a26580579482" },
"nvim-web-devicons": { "branch": "master", "commit": "b8221e42cf7287c4dcde81f232f58d7b947c210d" },
"persistence.nvim": { "branch": "main", "commit": "51eef57272742b773468949f6bd0503ec3f83874" },
"plenary.nvim": { "branch": "master", "commit": "b9fd5226c2f76c951fc8ed5923d85e4de065e509" },
"precognition.nvim": { "branch": "main", "commit": "2aae2687207029b3611a0e19a289f9e1c7efbe16" },
"telescope-fzf-native.nvim": { "branch": "main", "commit": "1f08ed60cafc8f6168b72b80be2b2ea149813e55" },
"telescope-ui-select.nvim": { "branch": "master", "commit": "6e51d7da30bd139a6950adf2a47fda6df9fa06d2" },
"telescope.nvim": { "branch": "master", "commit": "b4da76be54691e854d3e0e02c36b0245f945c2c7" },
"todo-comments.nvim": { "branch": "main", "commit": "19d461ddd543e938eb22505fb03fa878800270b6" },
"vim-sleuth": { "branch": "master", "commit": "be69bff86754b1aa5adcbb527d7fcd1635a84080" },
"vscode-diff.nvim": { "branch": "main", "commit": "94bba113413cb660397f219d4096775338ea08e1" },
"which-key.nvim": { "branch": "main", "commit": "b4177e3eaf15fe5eb8357ebac2286d488be1ed00" }
}
Binary file added lua/.DS_Store
Binary file not shown.
13 changes: 13 additions & 0 deletions lua/custom/plugins/dropbar.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
return {
'Bekaboo/dropbar.nvim',
dependencies = {
'nvim-telescope/telescope-fzf-native.nvim',
build = 'make',
},
config = function()
local dropbar_api = require 'dropbar.api'
vim.keymap.set('n', '<Leader>;', dropbar_api.pick, { desc = 'Pick symbols in winbar' })
vim.keymap.set('n', '[;', dropbar_api.goto_context_start, { desc = 'Go to start of current context' })
vim.keymap.set('n', '];', dropbar_api.select_next_context, { desc = 'Select next context' })
end,
}
37 changes: 37 additions & 0 deletions lua/custom/plugins/hover.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
return {
'lewis6991/hover.nvim',
config = function()
require('hover').setup {
init = function()
-- Require providers
require 'hover.providers.lsp'
require 'hover.providers.diagnostic'
require 'hover.providers.man'
-- require 'hover.providers.dictionary'
end,
preview_opts = {
border = 'rounded',
},
preview_window = false,
title = true,
mouse_providers = {
'LSP',
},
mouse_delay = 1000,
}

-- Setup keymaps
vim.keymap.set('n', 'K', require('hover').hover, { desc = 'hover.nvim' })
vim.keymap.set('n', 'gK', require('hover').hover_select, { desc = 'hover.nvim (select)' })
vim.keymap.set('n', '<C-p>', function()
require('hover').hover_switch 'previous'
end, { desc = 'hover.nvim (previous source)' })
vim.keymap.set('n', '<C-n>', function()
require('hover').hover_switch 'next'
end, { desc = 'hover.nvim (next source)' })

-- Mouse support
vim.keymap.set('n', '<MouseMove>', require('hover').hover_mouse, { desc = 'hover.nvim (mouse)' })
vim.o.mousemoveevent = true
end,
}
13 changes: 12 additions & 1 deletion lua/custom/plugins/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,15 @@
-- I promise not to create any merge conflicts in this directory :)
--
-- See the kickstart.nvim README for more information
return {}

return {
{
'esmuellert/vscode-diff.nvim',
dependencies = {
'MunifTanjim/nui.nvim',
},
config = function()
require('vscode-diff').setup()
end,
},
}
38 changes: 38 additions & 0 deletions lua/custom/plugins/marks.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
return {
'chentoast/marks.nvim',
event = 'VeryLazy',
opts = {
-- whether to map keybinds or not. default true
default_mappings = true,
-- which builtin marks to show. default {}
builtin_marks = { '.', '<', '>', '^' },
-- whether movements cycle back to the beginning/end of buffer. default true
cyclic = true,
-- whether the shada file is updated after modifying uppercase marks. default false
force_write_shada = false,
-- how often (in ms) to redraw signs/recompute mark positions
-- higher values will have better performance but may cause visual lag,
-- while lower values may cause performance penalties. default 150.
refresh_interval = 250,
-- sign priorities for each type of mark - builtin marks, uppercase marks, lowercase
-- marks, and bookmarks.
-- can be either a table with all/none of the keys, or a single number, in which case
-- the priority applies to all marks.
-- default 10.
sign_priority = { lower = 10, upper = 15, builtin = 8, bookmark = 20 },
-- disables mark tracking for specific filetypes. default {}
excluded_filetypes = {},
-- disables mark tracking for specific buftypes. default {}
excluded_buftypes = {},
-- marks.nvim allows you to configure up to 10 bookmark groups, each with its own
-- sign/virttext. Bookmarks can be used to group together positions and quickly move
-- across multiple buffers. default sign is '!@#$%^&*()' (from 0 to 9), and
-- default virt_text is "".
bookmark_0 = {
sign = '⚑',
virt_text = 'hello world',
annotate = false,
},
mappings = {},
},
}
16 changes: 16 additions & 0 deletions lua/custom/plugins/nvim-tree.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
return {
'nvim-tree/nvim-tree.lua',
dependencies = {
'nvim-tree/nvim-web-devicons', -- optional, for file icons
},
version = '*',
lazy = false,
config = function()
require('nvim-tree').setup {
sync_root_with_cwd = true,
respect_buf_cwd = true,
}
-- Keybinding to toggle nvim-tree
vim.keymap.set('n', '<leader>e', ':NvimTreeToggle<CR>', { desc = 'Toggle File Explorer (nvim-tree)' })
end,
}
29 changes: 29 additions & 0 deletions lua/custom/plugins/persistence.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
return {
'folke/persistence.nvim',
event = 'BufReadPre',
opts = {},
-- Optional keymaps for manual session control
keys = {
{
'<leader>qs',
function()
require('persistence').load()
end,
desc = 'Restore Session',
},
{
'<leader>ql',
function()
require('persistence').load { last = true }
end,
desc = 'Restore Last Session',
},
{
'<leader>qd',
function()
require('persistence').stop()
end,
desc = "Don't Save Current Session",
},
},
}
37 changes: 37 additions & 0 deletions lua/custom/plugins/precognition.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
return {
'tris203/precognition.nvim',
--event = "VeryLazy",
opts = {
startVisible = true,
-- showBlankVirtLine = true,
-- highlightColor = { link = "Comment" },
-- hints = {
-- Caret = { text = "^", prio = 2 },
-- Dollar = { text = "$", prio = 1 },
-- MatchingPair = { text = "%", prio = 5 },
-- Zero = { text = "0", prio = 1 },
-- w = { text = "w", prio = 10 },
-- b = { text = "b", prio = 9 },
-- e = { text = "e", prio = 8 },
-- W = { text = "W", prio = 7 },
-- B = { text = "B", prio = 6 },
-- E = { text = "E", prio = 5 },
-- },
-- gutterHints = {
-- G = { text = "G", prio = 10 },
-- gg = { text = "gg", prio = 9 },
-- PrevParagraph = { text = "{", prio = 8 },
-- NextParagraph = { text = "}", prio = 8 },
-- },
-- disabled_fts = {
-- "startify",
-- },
},
keys = {
{
'<leader>P',
'<cmd>Precognition toggle<CR>',
desc = 'Toggle Precognition',
},
},
}
18 changes: 13 additions & 5 deletions lua/kickstart/plugins/indent_line.lua
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
return {
{ -- Add indentation guides even on blank lines
'lukas-reineke/indent-blankline.nvim',
-- Enable `lukas-reineke/indent-blankline.nvim`
-- See `:help ibl`
main = 'ibl',
opts = {},
'saghen/blink.indent',
-- See: https://github.com/saghen/blink.indent
--- @module 'blink.indent'
--- @type blink.indent.Config
opts = {
static = {
enabled = true, -- Enable static indent guides
char = '▏', -- Thinner character (alternatives: '│', '┊', '┆', '¦', '|', '⁞')
},
scope = {
enabled = false, -- Disable scope highlighting
},
},
},
}
Loading