Compare commits
	
		
			7 Commits
		
	
	
		
			03bafd077a
			...
			6bdb8cca5b
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						 | 
					6bdb8cca5b | ||
| 
						 | 
					94416193b1 | ||
| 
						 | 
					35de5c6b06 | ||
| 
						 | 
					7e16018101 | ||
| 
						 | 
					87b17e8d2d | ||
| 
						 | 
					c29ad60bee | ||
| 
						 | 
					076695fdfb | 
@@ -1,46 +1,46 @@
 | 
			
		||||
{
 | 
			
		||||
  "blink.cmp": { "branch": "main", "commit": "327fff91fe6af358e990be7be1ec8b78037d2138" },
 | 
			
		||||
  "bufferline.nvim": { "branch": "main", "commit": "655133c3b4c3e5e05ec549b9f8cc2894ac6f51b3" },
 | 
			
		||||
  "conform.nvim": { "branch": "master", "commit": "b4aab989db276993ea5dcb78872be494ce546521" },
 | 
			
		||||
  "fidget.nvim": { "branch": "main", "commit": "b45d21d33d61ed9295308eb6571c0a5f0f7f3765" },
 | 
			
		||||
  "flash.nvim": { "branch": "main", "commit": "b68bda044d68e4026c4e1ec6df3c5afd7eb8e341" },
 | 
			
		||||
  "conform.nvim": { "branch": "master", "commit": "fbcb4fa7f34bfea9be702ffff481a8e336ebf6ed" },
 | 
			
		||||
  "fidget.nvim": { "branch": "main", "commit": "3f5475949679953af6d78654db29b944fa826e6a" },
 | 
			
		||||
  "flash.nvim": { "branch": "main", "commit": "2febce67ff9cf7638d2569d17c41af02c38401eb" },
 | 
			
		||||
  "friendly-snippets": { "branch": "main", "commit": "572f5660cf05f8cd8834e096d7b4c921ba18e175" },
 | 
			
		||||
  "fzf-lua": { "branch": "main", "commit": "3776d03a4afa967bd6c4b7f78e9e90bc21425236" },
 | 
			
		||||
  "git-blame.nvim": { "branch": "master", "commit": "9874ec1ec8bc53beb33b7cd82c092b85271a578b" },
 | 
			
		||||
  "gitsigns.nvim": { "branch": "main", "commit": "f780609807eca1f783a36a8a31c30a48fbe150c5" },
 | 
			
		||||
  "fzf-lua": { "branch": "main", "commit": "db3ccffe79480543d8e0f7b0cac0d9b220f9486e" },
 | 
			
		||||
  "git-blame.nvim": { "branch": "master", "commit": "54da04264ec5313d602aebea7c5dc90141696ad7" },
 | 
			
		||||
  "gitsigns.nvim": { "branch": "main", "commit": "1ee5c1fd068c81f9dd06483e639c2aa4587dc197" },
 | 
			
		||||
  "json-to-types.nvim": { "branch": "main", "commit": "e8dcc6ac710c59fcac354255a835f72916171ba8" },
 | 
			
		||||
  "kanagawa.nvim": { "branch": "master", "commit": "debe91547d7fb1eef34ce26a5106f277fbfdd109" },
 | 
			
		||||
  "lazy.nvim": { "branch": "main", "commit": "6c3bda4aca61a13a9c63f1c1d1b16b9d3be90d7a" },
 | 
			
		||||
  "lazydev.nvim": { "branch": "main", "commit": "258d2a5ef4a3e3d6d9ba9da72c9725c53e9afcbd" },
 | 
			
		||||
  "mason-lspconfig.nvim": { "branch": "main", "commit": "a1067cf84b4ff81b66d2bf4d01f4cbdb5de40bd0" },
 | 
			
		||||
  "kanagawa.nvim": { "branch": "master", "commit": "27f1e119f3a7e6d11d435a59e3262e6affda1f83" },
 | 
			
		||||
  "lazy.nvim": { "branch": "main", "commit": "1ea3c4085785f460fb0e46d2fe1ee895f5f9e7c1" },
 | 
			
		||||
  "lazydev.nvim": { "branch": "main", "commit": "e28ce52fc7ff79fcb76f0e79ee6fb6182fca90b9" },
 | 
			
		||||
  "mason-lspconfig.nvim": { "branch": "main", "commit": "6bdb14f230de0904229ec367b410fb817e59b072" },
 | 
			
		||||
  "mason-tool-installer.nvim": { "branch": "main", "commit": "517ef5994ef9d6b738322664d5fdd948f0fdeb46" },
 | 
			
		||||
  "mason.nvim": { "branch": "main", "commit": "7dc4facca9702f95353d5a1f87daf23d78e31c2a" },
 | 
			
		||||
  "mini.icons": { "branch": "main", "commit": "f9a177c11daa7829389b7b6eaaec8b8a5c47052d" },
 | 
			
		||||
  "mason.nvim": { "branch": "main", "commit": "ad7146aa61dcaeb54fa900144d768f040090bff0" },
 | 
			
		||||
  "mini.icons": { "branch": "main", "commit": "284798619aed9f4c1ac1b9417b9a5e3b4b85ef3a" },
 | 
			
		||||
  "mini.nvim": { "branch": "main", "commit": "94cae4660a8b2d95dbbd56e1fbc6fcfa2716d152" },
 | 
			
		||||
  "mini.statusline": { "branch": "main", "commit": "3c86b8a1cb67e347e91815b21662c28fd52ac144" },
 | 
			
		||||
  "neo-tree.nvim": { "branch": "v3.x", "commit": "ed057048a281b418d5318dd5153f9486daa517a3" },
 | 
			
		||||
  "mini.statusline": { "branch": "main", "commit": "faa39777ca729c6dafe86041207ba8db9321cb29" },
 | 
			
		||||
  "neo-tree.nvim": { "branch": "v3.x", "commit": "4c60a198e3f92098778a32a1c76d2bd7ba46a3b5" },
 | 
			
		||||
  "nui.nvim": { "branch": "main", "commit": "de740991c12411b663994b2860f1a4fd0937c130" },
 | 
			
		||||
  "nvim-dap": { "branch": "master", "commit": "7367cec8e8f7a0b1e4566af9a7ef5959d11206a7" },
 | 
			
		||||
  "nvim-dap": { "branch": "master", "commit": "881f7dc17c0b4204a1d844732f95539575350e5b" },
 | 
			
		||||
  "nvim-dap-ui": { "branch": "master", "commit": "cf91d5e2d07c72903d052f5207511bf7ecdb7122" },
 | 
			
		||||
  "nvim-dap-virtual-text": { "branch": "master", "commit": "fbdb48c2ed45f4a8293d0d483f7730d24467ccb6" },
 | 
			
		||||
  "nvim-lsp-file-operations": { "branch": "master", "commit": "9744b738183a5adca0f916527922078a965515ed" },
 | 
			
		||||
  "nvim-lspconfig": { "branch": "master", "commit": "ef73a4f2a1ddf0439eb97b46de2aab265ddba1cd" },
 | 
			
		||||
  "nvim-lspconfig": { "branch": "master", "commit": "ac98db2f9f06a56498ec890a96928774eae412c3" },
 | 
			
		||||
  "nvim-nio": { "branch": "master", "commit": "21f5324bfac14e22ba26553caf69ec76ae8a7662" },
 | 
			
		||||
  "nvim-treesitter": { "branch": "master", "commit": "42fc28ba918343ebfd5565147a42a26580579482" },
 | 
			
		||||
  "nvim-treesitter-context": { "branch": "master", "commit": "41847d3dafb5004464708a3db06b14f12bde548a" },
 | 
			
		||||
  "nvim-treesitter-textobjects": { "branch": "master", "commit": "71385f191ec06ffc60e80e6b0c9a9d5daed4824c" },
 | 
			
		||||
  "nvim-vtsls": { "branch": "main", "commit": "0b5f73c9e50ce95842ea07bb3f05c7d66d87d14a" },
 | 
			
		||||
  "nvim-web-devicons": { "branch": "master", "commit": "6e51ca170563330e063720449c21f43e27ca0bc1" },
 | 
			
		||||
  "nvim-web-devicons": { "branch": "master", "commit": "b8221e42cf7287c4dcde81f232f58d7b947c210d" },
 | 
			
		||||
  "nvim-window-picker": { "branch": "main", "commit": "6382540b2ae5de6c793d4aa2e3fe6dbb518505ec" },
 | 
			
		||||
  "oil.nvim": { "branch": "master", "commit": "07f80ad645895af849a597d1cac897059d89b686" },
 | 
			
		||||
  "oil.nvim": { "branch": "master", "commit": "919e155fdf38e9148cdb5304faaaf53c20d703ea" },
 | 
			
		||||
  "plenary.nvim": { "branch": "master", "commit": "b9fd5226c2f76c951fc8ed5923d85e4de065e509" },
 | 
			
		||||
  "project.nvim": { "branch": "main", "commit": "8c6bad7d22eef1b71144b401c9f74ed01526a4fb" },
 | 
			
		||||
  "rainbow-delimiters.nvim": { "branch": "master", "commit": "687ef75fdbd497eabc9eea92b52e7b4d403b3319" },
 | 
			
		||||
  "rainbow-delimiters.nvim": { "branch": "master", "commit": "3277ad5f96eb03c9d618c88e24f683e4364e578c" },
 | 
			
		||||
  "rustaceanvim": { "branch": "master", "commit": "12504405821c05874d2d1f6b5ec919f9808e2c99" },
 | 
			
		||||
  "snacks.nvim": { "branch": "main", "commit": "d67a47739dfc652cfcf66c59e929c704a854b37a" },
 | 
			
		||||
  "snacks.nvim": { "branch": "main", "commit": "b8d838d8be274c8eecced4306cca15378cde9830" },
 | 
			
		||||
  "toggleterm.nvim": { "branch": "main", "commit": "50ea089fc548917cc3cc16b46a8211833b9e3c7c" },
 | 
			
		||||
  "trouble.nvim": { "branch": "main", "commit": "f176232e7759c4f8abd923c21e3e5a5c76cd6837" },
 | 
			
		||||
  "vim-helm": { "branch": "master", "commit": "cc5ac22444332381f38084a6c7f023c25eef6201" },
 | 
			
		||||
  "trouble.nvim": { "branch": "main", "commit": "c098362fe603d3922095e7db595961e020bdf2d0" },
 | 
			
		||||
  "vim-helm": { "branch": "master", "commit": "2c8525fd98e57472769d137317bca83e477858ce" },
 | 
			
		||||
  "vim-sleuth": { "branch": "master", "commit": "be69bff86754b1aa5adcbb527d7fcd1635a84080" },
 | 
			
		||||
  "which-key.nvim": { "branch": "main", "commit": "370ec46f710e058c9c1646273e6b225acf47cbed" }
 | 
			
		||||
  "which-key.nvim": { "branch": "main", "commit": "b4177e3eaf15fe5eb8357ebac2286d488be1ed00" }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -1,10 +1,11 @@
 | 
			
		||||
vim.o.fillchars = 'eob: ,fold: ,foldopen:,foldsep: ,foldclose:'
 | 
			
		||||
vim.o.foldcolumn = '1'
 | 
			
		||||
vim.o.fillchars = "eob: ,fold: ,foldopen:,foldsep: ,foldclose:"
 | 
			
		||||
vim.o.foldcolumn = "1"
 | 
			
		||||
vim.o.foldenable = true
 | 
			
		||||
vim.o.foldexpr = 'v:lua.vim.lsp.foldexpr()'
 | 
			
		||||
vim.o.foldexpr = "v:lua.vim.lsp.foldexpr()"
 | 
			
		||||
vim.o.foldlevel = 99
 | 
			
		||||
vim.o.foldlevelstart = 99
 | 
			
		||||
vim.o.foldmethod = 'expr'
 | 
			
		||||
vim.o.foldmethod = "expr"
 | 
			
		||||
-- vim.o.winborder = "bold"
 | 
			
		||||
 | 
			
		||||
vim.opt.langmap = "+]ü["
 | 
			
		||||
vim.keymap.set("n", "ü", "[", { remap = true })
 | 
			
		||||
@@ -28,7 +29,7 @@ vim.opt.number = true
 | 
			
		||||
vim.opt.relativenumber = true
 | 
			
		||||
 | 
			
		||||
-- Enable mouse mode, can be useful for resizing splits for example!
 | 
			
		||||
vim.opt.mouse = 'a'
 | 
			
		||||
vim.opt.mouse = "a"
 | 
			
		||||
 | 
			
		||||
-- Don't show the mode, since it's already in the status line
 | 
			
		||||
vim.opt.showmode = false
 | 
			
		||||
@@ -38,7 +39,7 @@ vim.opt.showmode = false
 | 
			
		||||
--  Remove this option if you want your OS clipboard to remain independent.
 | 
			
		||||
--  See `:help 'clipboard'`
 | 
			
		||||
vim.schedule(function()
 | 
			
		||||
  vim.opt.clipboard = 'unnamedplus'
 | 
			
		||||
  vim.opt.clipboard = "unnamedplus"
 | 
			
		||||
end)
 | 
			
		||||
 | 
			
		||||
-- Enable break indent
 | 
			
		||||
@@ -52,7 +53,7 @@ vim.opt.ignorecase = true
 | 
			
		||||
vim.opt.smartcase = true
 | 
			
		||||
 | 
			
		||||
-- Keep signcolumn on by default
 | 
			
		||||
vim.opt.signcolumn = 'yes'
 | 
			
		||||
vim.opt.signcolumn = "yes"
 | 
			
		||||
 | 
			
		||||
-- Decrease update time
 | 
			
		||||
vim.opt.updatetime = 250
 | 
			
		||||
@@ -68,10 +69,10 @@ vim.opt.splitbelow = true
 | 
			
		||||
--  See `:help 'list'`
 | 
			
		||||
--  and `:help 'listchars'`
 | 
			
		||||
vim.opt.list = true
 | 
			
		||||
vim.opt.listchars = { tab = '» ', trail = '·', nbsp = '␣' }
 | 
			
		||||
vim.opt.listchars = { tab = "» ", trail = "·", nbsp = "␣" }
 | 
			
		||||
 | 
			
		||||
-- Preview substitutions live, as you type!
 | 
			
		||||
vim.opt.inccommand = 'split'
 | 
			
		||||
vim.opt.inccommand = "split"
 | 
			
		||||
 | 
			
		||||
-- Show which line your cursor is on
 | 
			
		||||
vim.opt.cursorline = true
 | 
			
		||||
@@ -96,10 +97,10 @@ vim.diagnostic.config({ virtual_text = true })
 | 
			
		||||
 | 
			
		||||
-- Clear highlights on search when pressing <Esc> in normal mode
 | 
			
		||||
--  See `:help hlsearch`
 | 
			
		||||
vim.keymap.set('n', '<Esc>', '<cmd>nohlsearch<CR>')
 | 
			
		||||
vim.keymap.set("n", "<Esc>", "<cmd>nohlsearch<CR>")
 | 
			
		||||
 | 
			
		||||
-- Diagnostic keymaps
 | 
			
		||||
vim.keymap.set('n', '<leader>q', vim.diagnostic.setloclist, { desc = 'Open diagnostic [Q]uickfix list' })
 | 
			
		||||
vim.keymap.set("n", "<leader>q", vim.diagnostic.setloclist, { desc = "Open diagnostic [Q]uickfix list" })
 | 
			
		||||
 | 
			
		||||
-- Exit terminal mode in the builtin terminal with a shortcut that is a bit easier
 | 
			
		||||
-- for people to discover. Otherwise, you normally need to press <C-\><C-n>, which
 | 
			
		||||
@@ -107,7 +108,7 @@ vim.keymap.set('n', '<leader>q', vim.diagnostic.setloclist, { desc = 'Open diagn
 | 
			
		||||
--
 | 
			
		||||
-- NOTE: This won't work in all terminal emulators/tmux/etc. Try your own mapping
 | 
			
		||||
-- or just use <C-\><C-n> to exit terminal mode
 | 
			
		||||
vim.keymap.set('t', '<Esc><Esc>', '<C-\\><C-n>', { desc = 'Exit terminal mode' })
 | 
			
		||||
vim.keymap.set("t", "<Esc><Esc>", "<C-\\><C-n>", { desc = "Exit terminal mode" })
 | 
			
		||||
 | 
			
		||||
-- TIP: Disable arrow keys in normal mode
 | 
			
		||||
-- vim.keymap.set('n', '<left>', '<cmd>echo "Use h to move!!"<CR>')
 | 
			
		||||
@@ -119,17 +120,17 @@ vim.keymap.set('t', '<Esc><Esc>', '<C-\\><C-n>', { desc = 'Exit terminal mode' }
 | 
			
		||||
--  Use CTRL+<hjkl> to switch between windows
 | 
			
		||||
--
 | 
			
		||||
--  See `:help wincmd` for a list of all window commands
 | 
			
		||||
vim.keymap.set('n', '<C-h>', '<C-w><C-h>', { desc = 'Move focus to the left window' })
 | 
			
		||||
vim.keymap.set('n', '<C-l>', '<C-w><C-l>', { desc = 'Move focus to the right window' })
 | 
			
		||||
vim.keymap.set('n', '<C-j>', '<C-w><C-j>', { desc = 'Move focus to the lower window' })
 | 
			
		||||
vim.keymap.set('n', '<C-k>', '<C-w><C-k>', { desc = 'Move focus to the upper window' })
 | 
			
		||||
vim.keymap.set("n", "<C-h>", "<C-w><C-h>", { desc = "Move focus to the left window" })
 | 
			
		||||
vim.keymap.set("n", "<C-l>", "<C-w><C-l>", { desc = "Move focus to the right window" })
 | 
			
		||||
vim.keymap.set("n", "<C-j>", "<C-w><C-j>", { desc = "Move focus to the lower window" })
 | 
			
		||||
vim.keymap.set("n", "<C-k>", "<C-w><C-k>", { desc = "Move focus to the upper window" })
 | 
			
		||||
 | 
			
		||||
-- Highlight when yanking (copying) text
 | 
			
		||||
--  Try it with `yap` in normal mode
 | 
			
		||||
--  See `:help vim.highlight.on_yank()`
 | 
			
		||||
vim.api.nvim_create_autocmd('TextYankPost', {
 | 
			
		||||
  desc = 'Highlight when yanking (copying) text',
 | 
			
		||||
  group = vim.api.nvim_create_augroup('kickstart-highlight-yank', { clear = true }),
 | 
			
		||||
vim.api.nvim_create_autocmd("TextYankPost", {
 | 
			
		||||
  desc = "Highlight when yanking (copying) text",
 | 
			
		||||
  group = vim.api.nvim_create_augroup("kickstart-highlight-yank", { clear = true }),
 | 
			
		||||
  callback = function()
 | 
			
		||||
    vim.highlight.on_yank()
 | 
			
		||||
  end,
 | 
			
		||||
 
 | 
			
		||||
@@ -10,6 +10,7 @@ return {
 | 
			
		||||
    },
 | 
			
		||||
  },
 | 
			
		||||
  opts = {
 | 
			
		||||
    async = true,
 | 
			
		||||
    formatters_by_ft = {
 | 
			
		||||
      lua = { "stylua" },
 | 
			
		||||
      -- Conform will run multiple formatters sequentially
 | 
			
		||||
 
 | 
			
		||||
@@ -4,7 +4,7 @@ return {
 | 
			
		||||
  dependencies = {
 | 
			
		||||
    "rcarriga/nvim-dap-ui",
 | 
			
		||||
    "nvim-neotest/nvim-nio",
 | 
			
		||||
    "theHamsta/nvim-dap-virtual-text"
 | 
			
		||||
    "theHamsta/nvim-dap-virtual-text",
 | 
			
		||||
  },
 | 
			
		||||
  keys = {
 | 
			
		||||
    {
 | 
			
		||||
@@ -22,5 +22,24 @@ return {
 | 
			
		||||
  },
 | 
			
		||||
  config = function()
 | 
			
		||||
    require("dapui").setup()
 | 
			
		||||
    require("dap").adapters["pwa-node"] = {
 | 
			
		||||
      type = "server",
 | 
			
		||||
      host = "localhost",
 | 
			
		||||
      port = "${port}",
 | 
			
		||||
    }
 | 
			
		||||
    require("dap").configurations.typescript = {
 | 
			
		||||
      type = "pwa-node",
 | 
			
		||||
      request = "launch",
 | 
			
		||||
      name = "Launch file",
 | 
			
		||||
      program = "${file}",
 | 
			
		||||
      cwd = "${workspaceFolder}",
 | 
			
		||||
    }
 | 
			
		||||
    require("dap").configurations.javascript = {
 | 
			
		||||
      type = "pwa-node",
 | 
			
		||||
      request = "launch",
 | 
			
		||||
      name = "Launch file",
 | 
			
		||||
      program = "${file}",
 | 
			
		||||
      cwd = "${workspaceFolder}",
 | 
			
		||||
    }
 | 
			
		||||
  end,
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -1,20 +1,20 @@
 | 
			
		||||
return {
 | 
			
		||||
  "echasnovski/mini.nvim",
 | 
			
		||||
  "nvim-mini/mini.nvim",
 | 
			
		||||
  version = "*",
 | 
			
		||||
  config = function()
 | 
			
		||||
    require("mini.pairs").setup({})
 | 
			
		||||
    require("mini.surround").setup({
 | 
			
		||||
      mappings = {
 | 
			
		||||
        add = "gza", -- Add surrounding in Normal and Visual modes
 | 
			
		||||
        delete = "gzd", -- Delete surrounding
 | 
			
		||||
        find = "gzf", -- Find surrounding (to the right)
 | 
			
		||||
        find_left = "gzF", -- Find surrounding (to the left)
 | 
			
		||||
        highlight = "gzh", -- Highlight surrounding
 | 
			
		||||
        replace = "gzr", -- Replace surrounding
 | 
			
		||||
        add = "gza",            -- Add surrounding in Normal and Visual modes
 | 
			
		||||
        delete = "gzd",         -- Delete surrounding
 | 
			
		||||
        find = "gzf",           -- Find surrounding (to the right)
 | 
			
		||||
        find_left = "gzF",      -- Find surrounding (to the left)
 | 
			
		||||
        highlight = "gzh",      -- Highlight surrounding
 | 
			
		||||
        replace = "gzr",        -- Replace surrounding
 | 
			
		||||
        update_n_lines = "gzn", -- Update `n_lines`
 | 
			
		||||
 | 
			
		||||
        suffix_last = "l", -- Suffix to search with "prev" method
 | 
			
		||||
        suffix_next = "n", -- Suffix to search with "next" method
 | 
			
		||||
        suffix_last = "l",      -- Suffix to search with "prev" method
 | 
			
		||||
        suffix_next = "n",      -- Suffix to search with "next" method
 | 
			
		||||
      },
 | 
			
		||||
    })
 | 
			
		||||
  end,
 | 
			
		||||
 
 | 
			
		||||
@@ -21,6 +21,13 @@ return {
 | 
			
		||||
    words = { enabled = true },
 | 
			
		||||
  },
 | 
			
		||||
  keys = {
 | 
			
		||||
    {
 | 
			
		||||
      "<leader>gl",
 | 
			
		||||
      function()
 | 
			
		||||
        Snacks.git.blame_line()
 | 
			
		||||
      end,
 | 
			
		||||
      desc = "Snacks blame line",
 | 
			
		||||
    },
 | 
			
		||||
    {
 | 
			
		||||
      "<leader>gg",
 | 
			
		||||
      function()
 | 
			
		||||
@@ -49,8 +56,8 @@ return {
 | 
			
		||||
        Snacks.toggle.diagnostics():map("<leader>ud")
 | 
			
		||||
        Snacks.toggle.line_number():map("<leader>ul")
 | 
			
		||||
        Snacks.toggle
 | 
			
		||||
          .option("conceallevel", { off = 0, on = vim.o.conceallevel > 0 and vim.o.conceallevel or 2 })
 | 
			
		||||
          :map("<leader>uc")
 | 
			
		||||
            .option("conceallevel", { off = 0, on = vim.o.conceallevel > 0 and vim.o.conceallevel or 2 })
 | 
			
		||||
            :map("<leader>uc")
 | 
			
		||||
        Snacks.toggle.treesitter():map("<leader>uT")
 | 
			
		||||
        Snacks.toggle.option("background", { off = "light", on = "dark", name = "Dark Background" }):map("<leader>ub")
 | 
			
		||||
        Snacks.toggle.inlay_hints():map("<leader>uh")
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user