add crates.nvim, winbar workaround, reenable auto-pairs enter mapping

This commit is contained in:
Amanda Graven 2024-03-16 11:53:10 +01:00
parent bb89043859
commit 8f87432254
Signed by: amanda
GPG key ID: F747582C5608F4CB

View file

@ -295,7 +295,6 @@ require('lazy').setup({
-- Editing
{'LunarWatcher/auto-pairs', init = function()
vim.g.AutoPairsMultilineClose = 0
vim.g.AutoPairsMapCR = 0 -- temp workaround
vim.g.AutoPairsMapBS = 1
vim.g.AutoPairsCompatibleMaps = 1
vim.g.AutoPairsShortcutToggleMultilineClose = ''
@ -610,6 +609,14 @@ require('lazy').setup({
},
}
end},
{'Saecki/crates.nvim', opts = {
lsp = {
enabled = true,
actions = true,
completion = true,
hover = true,
}
}},
{'pmizio/typescript-tools.nvim', opts = {
settings = {
tsserve_file_preferences = {
@ -630,7 +637,6 @@ require('lazy').setup({
null_ls.setup {
sources = {
null_ls.builtins.diagnostics.zsh,
null_ls.builtins.code_actions.shellcheck,
}
}
end},
@ -644,7 +650,10 @@ require('lazy').setup({
end })
end},
{'utilyre/barbecue.nvim', opts = {
show_modified = true
show_modified = true,
lead_custom_section = function()
return { {' ', 'WinBar'} }
end,
}},
-- UI Elements --