1
0
Fork 0
This commit is contained in:
Luca Bilke 2024-04-13 22:35:59 +02:00
parent c5bc828d58
commit 779b25218e
3 changed files with 21 additions and 5 deletions

View file

@ -1,6 +1,6 @@
local M = {}
---@returns table<string, function>
---@return table<string, function>
function M.generate_shortcut_maps()
local shortcuts = Custom.shortcuts
local fs = require("neo-tree.sources.filesystem")
@ -12,4 +12,5 @@ function M.generate_shortcut_maps()
end
return maps
end
return M

View file

@ -4,6 +4,9 @@ return {
opts = {
auto_install = true,
ensure_installed = Custom.language.treesitter_install,
highlight = {
additional_vim_regex_highlighting = { "markdown" },
},
},
},
{
@ -31,6 +34,9 @@ return {
"williamboman/mason.nvim",
opts = {
ensure_installed = Custom.language.mason_install,
registries = {
"github:mason-org/mason-registry",
},
},
},
{
@ -50,10 +56,9 @@ return {
end,
}
opts.mapping = {
['<Up>'] = cmp.mapping.select_prev_item({ behavior = cmp.SelectBehavior.Select }),
['<Down>'] = cmp.mapping.select_next_item({ behavior = cmp.SelectBehavior.Select }),
-- TODO: https://github.com/hrsh7th/nvim-cmp/wiki/Example-mappings#confirm-candidate-on-tab-immediately-when-theres-only-one-completion-entry
['<C-Space>'] = cmp.mapping(function(fallback)
["<Up>"] = cmp.mapping.select_prev_item({ behavior = cmp.SelectBehavior.Select }),
["<Down>"] = cmp.mapping.select_next_item({ behavior = cmp.SelectBehavior.Select }),
["<C-Space>"] = cmp.mapping(function(fallback)
if cmp.visible() then
if luasnip.expandable() then
luasnip.expand()

View file

@ -0,0 +1,10 @@
ansible
submodules
roundcube
postgres
binpkgs
hostdir
config
wireguard
Webchecks
fail2ban