cleanup
This commit is contained in:
parent
c5bc828d58
commit
779b25218e
3 changed files with 21 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -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()
|
||||
|
|
10
.config/nvim/spell/en.utf-8.add
Normal file
10
.config/nvim/spell/en.utf-8.add
Normal file
|
@ -0,0 +1,10 @@
|
|||
ansible
|
||||
submodules
|
||||
roundcube
|
||||
postgres
|
||||
binpkgs
|
||||
hostdir
|
||||
config
|
||||
wireguard
|
||||
Webchecks
|
||||
fail2ban
|
Loading…
Add table
Reference in a new issue