From 0710614c8eb0fb5c43ba17ef8e578fb5f0485ae4 Mon Sep 17 00:00:00 2001 From: Von Random Date: Fri, 2 Feb 2024 12:46:24 +0200 Subject: nvim: lualine, gui tweaks --- cli/.config/nvim/lua/plugins.lua | 12 ++++++++++-- cli/.config/nvim/lua/settings.lua | 6 +++--- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/cli/.config/nvim/lua/plugins.lua b/cli/.config/nvim/lua/plugins.lua index 5f423be..e3d1ff0 100644 --- a/cli/.config/nvim/lua/plugins.lua +++ b/cli/.config/nvim/lua/plugins.lua @@ -1,8 +1,7 @@ -- [[ plugins bootstrap ]] local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" local lazyurl = "https://github.com/folke/lazy.nvim.git" -local lazycmd = {"git", "clone", "--filter=blob:none", "--branch=stable", - lazyurl, lazypath} +local lazycmd = {"git", "clone", "--filter=blob:none", "--branch=stable", lazyurl, lazypath} if not vim.loop.fs_stat(lazypath) then vim.fn.system(lazycmd) end vim.opt.rtp:prepend(lazypath) @@ -16,6 +15,7 @@ require('lazy').setup { {'w0rp/ale', cmd = 'ALEEnable', ft = {'bash', 'go', 'lua', 'python', 'sh', 'zsh'}}, 'lewis6991/gitsigns.nvim', 'lifepillar/vim-cheat40', + 'nvim-lualine/lualine.nvim', 'tpope/vim-rsi', 'tpope/vim-vinegar', } @@ -27,6 +27,14 @@ require('nvim-treesitter.configs').setup { enable = true } } +require('lualine').setup { + options = { + icons_enabled = false, + theme = 'gruvbox', + component_separators = { left = "\u{2022}", right = "\u{2022}"}, + section_separators = { left = nil, right = nil}, + } +} map('n', 'g', 'LazyGit') map('n', 'L', 'Lazy') diff --git a/cli/.config/nvim/lua/settings.lua b/cli/.config/nvim/lua/settings.lua index 7de994f..ec5680a 100644 --- a/cli/.config/nvim/lua/settings.lua +++ b/cli/.config/nvim/lua/settings.lua @@ -25,6 +25,6 @@ vim.o.keymap = 'russian-jcukenwintype' vim.o.iminsert = 0 vim.o.imsearch = 0 -local fsize = '11' -if vim.loop.os_uname().sysname == 'Darwin' then fsize = '14' end -vim.o.guifont = 'VascadiaMod:h' .. fsize +local fsize = '13' +if vim.loop.os_uname().sysname == 'Darwin' then fsize = '16' end +vim.o.guifont = 'Fantasque Sans Mono:h' .. fsize -- cgit v1.2.3