Nvim: formatted

This commit is contained in:
pr0c3550r 2023-04-07 16:27:11 +02:00
parent a9436411a7
commit db079877ab
5 changed files with 23 additions and 24 deletions

View file

@ -10,8 +10,11 @@ return {
enable = true,
},
shortcut = {
{ icon = '󰚰 ', desc = 'Update', group = '@property', action = 'Lazy update', key = 'U' },
{ icon = '', desc = 'Files', group = '@property', action = 'Telescope find_files', key = 'ff' },
{ icon = '󰚰 ', desc = 'Update', group = '@property', action = 'Lazy update', key =
'U' },
{ icon = '', desc = 'Files', group = '@property', action = 'Telescope find_files',
key =
'ff' },
},
footer = { '',
' Now better then ever ',

View file

@ -12,8 +12,8 @@ return {
require('lualine').setup {
options = {
theme = custom_gruvbox,
component_separators = { left = '', right = ''},
section_separators = { left = '', right = ''},
component_separators = { left = '', right = '' },
section_separators = { left = '', right = '' },
-- section_separators = ' ',
-- component_separators = ' '
},
@ -58,7 +58,6 @@ return {
symbols = { error = "", warn = "", info = "", hint = "󰌶 " },
padding = 1,
update_in_insert = true
},
{
'diff',
@ -114,7 +113,6 @@ return {
symbols = { error = "", warn = "", info = "", hint = "󰌶 " },
padding = 1,
update_in_insert = true
},
{
'diff',

View file

@ -115,7 +115,7 @@ return {
documentation = cmp.config.window.bordered(),
},
mapping = cmp.mapping.preset.insert({
['<C-b>'] = cmp.mapping.scroll_docs( -4),
['<C-b>'] = cmp.mapping.scroll_docs(-4),
['<C-f>'] = cmp.mapping.scroll_docs(4),
-- ['<C-Space>'] = cmp.mapping.complete(),
-- ['<C-e>'] = cmp.mapping.abort(),
@ -140,12 +140,11 @@ return {
fallback()
end
end, { "i", "s" }),
["<S-Tab>"] = cmp.mapping(function(fallback)
if cmp.visible() then
cmp.select_prev_item()
elseif luasnip.jumpable( -1) then
luasnip.jump( -1)
elseif luasnip.jumpable(-1) then
luasnip.jump(-1)
else
fallback()
end
@ -160,7 +159,7 @@ return {
{
name = 'buffer',
option = {
get_bufnrs = function ()
get_bufnrs = function()
return vim.api.nvim_list_bufs()
end
},

View file

@ -2,7 +2,7 @@ return {
{
"folke/twilight.nvim",
keys = {
{ "<leader>T", "<cmd>Twilight <cr>", desc = "Twilight"},
{ "<leader>T", "<cmd>Twilight <cr>", desc = "Twilight" },
},
config = function()
require("twilight").setup {

View file

@ -4,6 +4,5 @@ return {
keys = {
{ "<leader>u", "<cmd>UndotreeToggle<cr>", desc = "toggle undotree" },
},
}
}