|
|
@ -82,21 +82,21 @@ require 'lualine'.setup { |
|
|
|
icons_enabled = true, |
|
|
|
icons_enabled = true, |
|
|
|
-- theme = 'ayu_dark', |
|
|
|
-- theme = 'ayu_dark', |
|
|
|
theme = 'ayu_mirage', |
|
|
|
theme = 'ayu_mirage', |
|
|
|
component_separators = { left = ' ', right = ' '}, |
|
|
|
component_separators = { left = '', right = '' }, |
|
|
|
section_separators = { left = ' ', right = ' '}, |
|
|
|
section_separators = { left = '', right = '' }, |
|
|
|
disabled_filetypes = {}, |
|
|
|
disabled_filetypes = {}, |
|
|
|
always_divide_middle = true, |
|
|
|
always_divide_middle = true, |
|
|
|
}, |
|
|
|
}, |
|
|
|
sections = { |
|
|
|
sections = { |
|
|
|
lualine_a = {'mode'}, |
|
|
|
lualine_a = {'mode'}, |
|
|
|
lualine_b = {'branch'}, |
|
|
|
lualine_b = {'filename', 'branch'}, |
|
|
|
lualine_c = { |
|
|
|
lualine_c = { |
|
|
|
{ |
|
|
|
{ |
|
|
|
'diagnostics', |
|
|
|
'diagnostics', |
|
|
|
symbols = {error = 'E', warn = 'W', info = 'I', hint = 'H'}, |
|
|
|
symbols = {error = 'Errors:', warn = 'Warns:', info = 'Info:', hint = 'Hints:'}, |
|
|
|
|
|
|
|
sources = { 'nvim_diagnostic' } |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
lualine_d = {'filename'}, |
|
|
|
|
|
|
|
lualine_w = {'encoding'}, |
|
|
|
lualine_w = {'encoding'}, |
|
|
|
lualine_x = {'filetype'}, |
|
|
|
lualine_x = {'filetype'}, |
|
|
|
lualine_y = {'progress'}, |
|
|
|
lualine_y = {'progress'}, |
|
|
@ -112,7 +112,7 @@ require 'lualine'.setup { |
|
|
|
}, |
|
|
|
}, |
|
|
|
tabline = { |
|
|
|
tabline = { |
|
|
|
lualine_a = {'tabs'}, |
|
|
|
lualine_a = {'tabs'}, |
|
|
|
lualine_b = {'filename'}, |
|
|
|
lualine_b = {}, |
|
|
|
lualine_c = {}, |
|
|
|
lualine_c = {}, |
|
|
|
lualine_x = {}, |
|
|
|
lualine_x = {}, |
|
|
|
lualine_y = {}, |
|
|
|
lualine_y = {}, |
|
|
@ -138,3 +138,6 @@ require('snippy').setup({ |
|
|
|
require('telescope').setup{} |
|
|
|
require('telescope').setup{} |
|
|
|
vim.api.nvim_set_keymap('n', '<leader><space>', '<cmd>Telescope find_files<CR>', { noremap = true, silent = true }) |
|
|
|
vim.api.nvim_set_keymap('n', '<leader><space>', '<cmd>Telescope find_files<CR>', { noremap = true, silent = true }) |
|
|
|
vim.api.nvim_set_keymap('n', '<leader>g', '<cmd>Telescope live_grep<CR>', { noremap = true, silent = true }) |
|
|
|
vim.api.nvim_set_keymap('n', '<leader>g', '<cmd>Telescope live_grep<CR>', { noremap = true, silent = true }) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-- Auto-pairs |
|
|
|
|
|
|
|
require('nvim-autopairs').setup{} |
|
|
|