add diagnostic window on hover

This commit is contained in:
2025-10-21 16:07:51 -05:00
parent 91099dc9ed
commit b4686150fb
2 changed files with 73 additions and 0 deletions

View File

@@ -31,4 +31,5 @@ if vim.fn.has('nvim-0.10') == 0 then
sign_define('Info', opts.signs.text[levels.INFO]) sign_define('Info', opts.signs.text[levels.INFO])
end end
vim.cmd [[autocmd CursorHold,CursorHoldI * lua vim.diagnostic.open_float(nil, {focus=false})]]
vim.diagnostic.config(opts) vim.diagnostic.config(opts)

View File

@@ -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"
}
}
}