Nvim: formatted
This commit is contained in:
parent
a9436411a7
commit
db079877ab
5 changed files with 23 additions and 24 deletions
|
@ -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 ',
|
||||
|
|
|
@ -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',
|
||||
|
|
|
@ -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
|
||||
},
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -4,6 +4,5 @@ return {
|
|||
keys = {
|
||||
{ "<leader>u", "<cmd>UndotreeToggle<cr>", desc = "toggle undotree" },
|
||||
},
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue