enc: update config and mappings

This commit is contained in:
Pojok Code 2025-07-27 19:05:46 +07:00
parent 3f3e84aa49
commit b341ee7246
4 changed files with 16 additions and 11 deletions

View file

@ -25,6 +25,7 @@ return {
"saadparwaiz1/cmp_luasnip",
"hrsh7th/cmp-nvim-lua",
"xzbdmw/colorful-menu.nvim",
"lukas-reineke/cmp-rg",
},
opts = function()
local cmp = require("cmp")
@ -85,6 +86,7 @@ return {
{ name = "buffer" },
{ name = "path" },
{ name = "nvim_lua" },
{ name = "rg" },
}),
formatting = {
fields = { "kind", "abbr", "menu" },

View file

@ -38,6 +38,6 @@ return {
end, { desc = "Format file or range (in visual mode)" })
end,
keys = {
{ "<leader>l", "", desc = " 󰘦 Lsp" },
{ "<leader>l", "", desc = "󰘦 Lsp" },
},
}