astro-nvim-v3 - uptostate

This commit is contained in:
huyjaky
2025-08-16 19:57:11 +07:00
parent 182ad7856a
commit 4b6f99b5a8
16 changed files with 248 additions and 228 deletions

View File

@@ -27,3 +27,22 @@ vim.g.copilot_no_tab_map = true
require("lazy_setup")
require("polish")
require("core.lsp")
-- local function silent_hover()
-- local params = vim.lsp.util.make_position_params()
-- vim.lsp.buf_request(0, 'textDocument/hover', params, function(err, result, ctx, config)
-- if err then
-- -- Silently ignore errors instead of showing them
-- return
-- end
-- if result and result.contents then
-- vim.lsp.util.stylize_markdown(result.contents.value or result.contents, {})
-- end
-- end)
-- end
-- -- Remap K to use silent hover
-- vim.keymap.set({'n', 'v'}, 'K', silent_hover, { silent = true })
-- Keep K for documentation in normal mode, but disable in visual mode