mirror of
https://github.com/NvChad/NvChad.git
synced 2025-08-15 00:00:50 -04:00
Compare commits
2 Commits
0f95575937
...
020b8e4428
Author | SHA1 | Date | |
---|---|---|---|
|
020b8e4428 | ||
|
e7d4ff89e9 |
@ -10,7 +10,6 @@ M.on_attach = function(client, bufnr)
|
||||
|
||||
map("n", "gD", vim.lsp.buf.declaration, opts "Go to declaration")
|
||||
map("n", "gd", vim.lsp.buf.definition, opts "Go to definition")
|
||||
map("n", "K", vim.lsp.buf.hover, opts "hover information")
|
||||
map("n", "gi", vim.lsp.buf.implementation, opts "Go to implementation")
|
||||
map("n", "<leader>sh", vim.lsp.buf.signature_help, opts "Show signature help")
|
||||
map("n", "<leader>wa", vim.lsp.buf.add_workspace_folder, opts "Add workspace folder")
|
||||
|
@ -26,10 +26,7 @@ map("n", "<leader>fm", function()
|
||||
end, { desc = "format files" })
|
||||
|
||||
-- global lsp mappings
|
||||
map("n", "<leader>lf", vim.diagnostic.open_float, { desc = "lsp floating diagnostics" })
|
||||
map("n", "[d", vim.diagnostic.goto_prev, { desc = "lsp prev diagnostic" })
|
||||
map("n", "]d", vim.diagnostic.goto_next, { desc = "lsp next diagnostic" })
|
||||
map("n", "<leader>q", vim.diagnostic.setloclist, { desc = "lsp diagnostic loclist" })
|
||||
map("n", "<leader>ds", vim.diagnostic.setloclist, { desc = "lsp diagnostic loclist" })
|
||||
|
||||
-- tabufline
|
||||
map("n", "<leader>b", "<cmd>enew<CR>", { desc = "buffer new" })
|
||||
|
@ -63,7 +63,7 @@ M.ui = {
|
||||
|
||||
cheatsheet = {
|
||||
theme = "grid", -- simple/grid
|
||||
excluded_groups = { "terminal (t)", "autopairs", "Nvim" }, -- can add group name or with mode
|
||||
excluded_groups = { "terminal (t)", "autopairs", "Nvim", "Opens" }, -- can add group name or with mode
|
||||
},
|
||||
|
||||
lsp = { signature = true },
|
||||
|
Loading…
x
Reference in New Issue
Block a user