From b4686150fba49b78edb9b6738ac86a01d2e11efa Mon Sep 17 00:00:00 2001 From: Kendall Whitman Date: Tue, 21 Oct 2025 16:07:51 -0500 Subject: [PATCH] add diagnostic window on hover --- nvim/.config/nvim/lua/plugins/diagnostics.lua | 1 + nvim/.config/nvim/nvim-pack-lock.json | 72 +++++++++++++++++++ 2 files changed, 73 insertions(+) create mode 100644 nvim/.config/nvim/nvim-pack-lock.json diff --git a/nvim/.config/nvim/lua/plugins/diagnostics.lua b/nvim/.config/nvim/lua/plugins/diagnostics.lua index 162b636..4f986d3 100644 --- a/nvim/.config/nvim/lua/plugins/diagnostics.lua +++ b/nvim/.config/nvim/lua/plugins/diagnostics.lua @@ -31,4 +31,5 @@ if vim.fn.has('nvim-0.10') == 0 then sign_define('Info', opts.signs.text[levels.INFO]) end +vim.cmd [[autocmd CursorHold,CursorHoldI * lua vim.diagnostic.open_float(nil, {focus=false})]] vim.diagnostic.config(opts) diff --git a/nvim/.config/nvim/nvim-pack-lock.json b/nvim/.config/nvim/nvim-pack-lock.json new file mode 100644 index 0000000..0fefcc7 --- /dev/null +++ b/nvim/.config/nvim/nvim-pack-lock.json @@ -0,0 +1,72 @@ +{ + "plugins": { + "auto-save.nvim": { + "rev": "979b6c8", + "src": "https://github.com/Pocco81/auto-save.nvim" + }, + "cmp-buffer": { + "rev": "b74fab3", + "src": "https://github.com/hrsh7th/cmp-buffer" + }, + "cmp-nvim-lsp": { + "rev": "bd5a7d6", + "src": "https://github.com/hrsh7th/cmp-nvim-lsp" + }, + "gitsigns.nvim": { + "rev": "20ad441", + "src": "https://github.com/lewis6991/gitsigns.nvim" + }, + "gruvbox.nvim": { + "rev": "5e0a460", + "src": "https://github.com/ellisonleao/gruvbox.nvim" + }, + "indent-blankline.nvim": { + "rev": "005b560", + "src": "https://github.com/lukas-reineke/indent-blankline.nvim" + }, + "mason-lspconfig.nvim": { + "rev": "2304ff6", + "src": "https://github.com/williamboman/mason-lspconfig.nvim" + }, + "mason.nvim": { + "rev": "ad7146a", + "src": "https://github.com/williamboman/mason.nvim" + }, + "nvim-autopairs": { + "rev": "7a2c97c", + "src": "https://github.com/windwp/nvim-autopairs" + }, + "nvim-cmp": { + "rev": "a7bcf1d", + "src": "https://github.com/hrsh7th/nvim-cmp" + }, + "nvim-lspconfig": { + "rev": "ac98db2", + "src": "https://github.com/neovim/nvim-lspconfig" + }, + "nvim-tree.lua": { + "rev": "64e2192", + "src": "https://github.com/nvim-tree/nvim-tree.lua" + }, + "nvim-treesitter": { + "rev": "42fc28ba", + "src": "https://github.com/nvim-treesitter/nvim-treesitter" + }, + "nvim-web-devicons": { + "rev": "b8221e4", + "src": "https://github.com/nvim-tree/nvim-web-devicons" + }, + "plenary.nvim": { + "rev": "b9fd522", + "src": "https://github.com/nvim-lua/plenary.nvim" + }, + "render-markdown.nvim": { + "rev": "475d3ad", + "src": "https://github.com/MeanderingProgrammer/render-markdown.nvim" + }, + "telescope.nvim": { + "rev": "b4da76b", + "src": "https://github.com/nvim-telescope/telescope.nvim" + } + } +} \ No newline at end of file