master
Rachel Lambda Samuelsson 2024-03-14 15:03:28 +01:00
parent 081d5068c2
commit a7f1a8f845
1 changed files with 33 additions and 4 deletions

View File

@ -186,7 +186,7 @@ in
require('nvim-treesitter.configs').setup({
highlight = {
enable = true,
disable = { "c" },
disable = { "c", "lua" },
additional_vim_regex_highlighting = {'org'},
},
})
@ -194,6 +194,37 @@ in
require('lean').setup({
mappings = true,
})
require('lualine').setup {
options = {
icons_enabled = true,
theme = 'gruvbox',
component_separators = { left = "", right = ""},
section_separators = { left = "", right = ""},
always_divide_middle = true,
globalstatus = false,
refresh = {
statusline = 1000,
tabline = 1000,
winbar = 1000,
}
},
sections = {
lualine_a = {'mode'},
lualine_b = { { 'diagnostics', always_visible = true } },
lualine_c = {'filename'},
lualine_x = {'encoding', 'filetype'},
lualine_y = {'progress'},
lualine_z = {'location'}
},
inactive_sections = {
lualine_a = {},
lualine_b = {},
lualine_c = {'filename'},
lualine_x = {'location'},
lualine_y = {},
lualine_z = {}
},
}
vim.api.nvim_create_autocmd('LspAttach', {
callback = function(args)
@ -241,7 +272,6 @@ in
set signcolumn=no
set linebreak
let g:cornelis_use_global_binary = 1
let g:lightline = { 'colorscheme': 'gruvbox' }
set conceallevel=2 concealcursor=nc
colorscheme gruvbox
hi Normal guibg=NONE ctermbg=NONE
@ -302,8 +332,6 @@ in
comment-nvim
vimtex
gruvbox-nvim
lightline-vim
lightline-gruvbox-vim
tmux-nvim
cornelis-vim
nvim-lspconfig
@ -318,6 +346,7 @@ in
lean-nvim
bqn-vim
bqn-nvim
lualine-nvim
];
};