fix(plugins): update mapping casing

pull/6/head
Micah Halter 2024-01-28 09:58:38 -05:00
parent c886e9ffeb
commit f142075daa
No known key found for this signature in database
GPG Key ID: 4224A6EA9A8CAAA8
2 changed files with 3 additions and 3 deletions

View File

@ -69,7 +69,7 @@ return {
-- desc = "Declaration of current symbol",
-- cond = "textDocument/declaration",
-- },
-- ["<leader>uY"] = {
-- ["<Leader>uY"] = {
-- function() require("astrolsp.toggles").buffer_semantic_tokens() end,
-- desc = "Toggle LSP semantic highlight (buffer)",
-- cond = function(client) return client.server_capabilities.semanticTokensProvider and vim.lsp.semantic_tokens end,

View File

@ -22,7 +22,7 @@ return {
-- },
-- mappings seen under group name "Buffer"
["<leader>bD"] = {
["<Leader>bD"] = {
function()
require("astroui.status.heirline").buffer_picker(
function(bufnr) require("astrocore.buffer").close(bufnr) end
@ -32,7 +32,7 @@ return {
},
-- tables with just a `desc` key will be registered with which-key if it's installed
-- this is useful for naming menus
["<leader>b"] = { desc = "Buffers" },
["<Leader>b"] = { desc = "Buffers" },
-- quick save
-- ["<C-s>"] = { ":w!<cr>", desc = "Save File" }, -- change description but the same command
},