diff --git a/home/rachel.nix b/home/rachel.nix index 39925e4..596ad83 100644 --- a/home/rachel.nix +++ b/home/rachel.nix @@ -219,7 +219,7 @@ in rec { require('nvim-treesitter.configs').setup({ highlight = { enable = true, - disable = { "c" }, + disable = { "c", "lua" }, additional_vim_regex_highlighting = {'org'}, }, }) @@ -227,6 +227,37 @@ in rec { 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) @@ -274,7 +305,6 @@ in rec { 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 @@ -335,8 +365,6 @@ in rec { comment-nvim vimtex gruvbox-nvim - lightline-vim - lightline-gruvbox-vim tmux-nvim cornelis-vim nvim-lspconfig @@ -351,6 +379,7 @@ in rec { lean-nvim bqn-vim bqn-nvim + lualine-nvim ]; };