Closed Yolo390 closed 1 year ago
Update: I just removed the bg
color and size is smaller :)
But there is still an issue with Lualine status bar when you set vim.opt.laststatus = 2
you can use symbols = { "─", "│", "┌", "┐", "└", "┘" },
Hey @denstiny !
Still have the issue as you can see on screenshots below.
Here is my packer.lua config
-- Automatically source and re-sync packer whenever you save.
local packer_group = vim.api.nvim_create_augroup('Packer', { clear = true })
vim.api.nvim_create_autocmd('BufWritePost', {
command = 'source <afile> | PackerSync',
group = packer_group,
pattern = vim.fn.expand 'packer.lua'
})
-- Plugins
return require'packer'.startup({
function(use)
-- Packer manager
use 'wbthomason/packer.nvim'
-- Colorscheme
use 'folke/tokyonight.nvim'
-- use { 'catppuccin/nvim', as = 'catppuccin' }
-- Display
use 'glepnir/dashboard-nvim'
use 'kyazdani42/nvim-web-devicons'
use {
'kyazdani42/nvim-tree.lua',
requires = { 'kyazdani42/nvim-web-devicons' },
tag = 'nightly'
}
use 'TaDaa/vimade'
-- Lualine => status bar (bottom)
use 'nvim-lualine/lualine.nvim'
-- Windows bar => top
use 'fgheng/winbar.nvim'
use 'nvim-zh/colorful-winsep.nvim'
-- Wilder => wildmenu
use 'gelguy/wilder.nvim'
-- Telescope => fuzzy finder
use {
'nvim-telescope/telescope.nvim',
branch = '0.1.x', -- tag = '0.1.0',
requires = { 'nvim-lua/plenary.nvim' }
}
-- Telescope => Fuzzy Finder Algorithm which requires local dependencies to be built. Only load if `make` is available
use {
'nvim-telescope/telescope-fzf-native.nvim',
run = 'make',
-- run = 'cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release && cmake --build build --config Release && cmake --install build --prefix build',
cond = vim.fn.executable 'make' == 1
}
-- Telescope => more Telescope plugins integration.
use 'benfowler/telescope-luasnip.nvim'
use 'jvgrootveld/telescope-zoxide'
use 'cljoly/telescope-repo.nvim'
use 'AckslD/nvim-neoclip.lua'
use 'nvim-telescope/telescope-symbols.nvim'
use 'sudormrfbin/cheatsheet.nvim'
use 'nvim-telescope/telescope-packer.nvim'
use {
'dhruvmanila/telescope-bookmarks.nvim',
-- Uncomment if the selected browser is Firefox or buku
requires = {
'kkharji/sqlite.lua'
}
}
-- Harpoon => navigation between files
use 'ThePrimeagen/harpoon'
-- Nvim-treesitter => highlighting and indenting code
use {
'nvim-treesitter/nvim-treesitter',
run = function()
pcall(require'nvim-treesitter.install'.update { with_sync = true })
end
}
use 'p00f/nvim-ts-rainbow'
-- Language Server Protocol => LSP
use {
'neovim/nvim-lspconfig',
requires = {
-- Automatically install LSPs to stdpath for neovim
'williamboman/mason.nvim',
'williamboman/mason-lspconfig.nvim',
-- Useful status updates for LSP
'j-hui/fidget.nvim',
-- Additional lua configuration, makes nvim stuff amazing
'folke/neodev.nvim',
'RRethy/vim-illuminate'
}
}
-- Nvim-cmp => autocompletion
use {
'hrsh7th/nvim-cmp',
requires = {
'hrsh7th/cmp-nvim-lsp',
'hrsh7th/cmp-path',
'hrsh7th/cmp-buffer',
'hrsh7th/cmp-cmdline',
'L3MON4D3/LuaSnip',
'saadparwaiz1/cmp_luasnip',
'rafamadriz/friendly-snippets',
'onsails/lspkind.nvim'
}
}
-- Databases
use 'tpope/vim-dadbod'
use 'kristijanhusak/vim-dadbod-ui'
-- Commentaries
use 'numToStr/Comment.nvim'
-- Notifications
use 'rcarriga/nvim-notify'
-- GIT
use 'lewis6991/gitsigns.nvim'
-- MARKDOWN
use 'ellisonleao/glow.nvim'
-- Documentation
use 'nanotee/luv-vimdocs'
use 'milisims/nvim-luaref'
-- RUST
use 'simrat39/rust-tools.nvim'
-- Debug
use 'mfussenegger/nvim-dap'
-- HTML
-- use 'AndrewRadev/tagalong.vim' -- Change an HTML(ish) opening/closing tag
use 'tpope/vim-surround'
use 'windwp/nvim-ts-autotag'
-- Tabs
use 'gcmt/taboo.vim'
-- Marks
use 'kshenoy/vim-signature'
-- Tmux
use 'christoomey/vim-tmux-navigator'
-- Others
use 'windwp/nvim-autopairs'
use 'norcalli/nvim-colorizer.lua'
use 'lukas-reineke/indent-blankline.nvim'
end,
config = {
display = {
open_fn = function()
return require('packer.util').float({ border = 'single' })
end
}
}
Here is my colorful-winsep.lua config
require("colorful-winsep").setup({
highlight = {
-- bg = '#eb6f92',
fg = '#eb6f92'
},
-- timer refresh rate
interval = 10,
-- This plugin will not be activated for filetype in the following table.
no_exec_files = { 'packer', 'TelescopePrompt', 'mason', 'NvimTree' },
symbols = { "━", '┃', '┏', '┓', '┗', '┛' },
close_event = function()
-- Executed after closing the window separator
end,
create_event = function()
-- Executed after creating the window separator
end
})
Here is my lualine.lua config
require'lualine'.setup({
options = {
theme = 'nord', -- nightfly, nord, grubbox_dark, material, tokyionight
disabled_filetypes = {
statusline = { 'dashboard', 'NvimTree' },
winbar = { 'dashboard', 'NvimTree' }
}
},
sections = {
lualine_a = { 'mode' },
lualine_b = { 'branch' },
lualine_c = { 'filename' },
lualine_x = { '' },
lualine_y = { 'filetype' },
lualine_z = { 'progress' }
},
inactive_sections = {
lualine_a = {},
lualine_b = {},
lualine_c = {},
lualine_x = {},
lualine_y = {},
lualine_z = {}
},
extensions = { 'fugitive', 'fzf', 'quickfix' }
})
Here is my options.lua config where I set vim.opt.laststatus = 2
.
Setting to 3 and you will have an unique lualine status bar.
-- ###########
-- # OPTIONS #
-- ###########
local vim = vim
local options = {
-- DISPLAY
title = true,
number = true,
relativenumber = true,
wrap = true,
scrolloff = 10,
sidescrolloff = 10,
mouse = 'a',
cursorline = true,
colorcolumn = '80',
numberwidth = 4,
textwidth = 80,
shiftwidth = 4,
tabstop = 4,
softtabstop = 4,
fileencoding = 'utf-8',
signcolumn = 'yes',
cmdheight = 2,
showmode = false,
splitbelow = true,
splitright = true,
smartindent = true,
clipboard = 'unnamedplus',
laststatus = 2, -- set to 3 for an unique lualine bar.
termguicolors = true,
updatetime = 1000,
-- SAVING
backup = false,
writebackup = false,
swapfile = false,
undodir = vim.fn.expand('~') .. '/Flo/Dotfiles/neovim/lua/FloSlv/undodir',
undofile = true,
undolevels = 500,
-- SEARCH
ignorecase = true,
smartcase = true,
hlsearch = false,
-- COMPLETION
wildignore = '*.o,*.r,*.so,*.sl',
completeopt = { 'menu', 'menuone', 'noselect' }, -- need it for nvim-cmp
-- REMOVE BEEP
visualbell = true,
errorbells = false
}
for key, value in pairs(options) do
vim.opt[key] = value
end
Thanks, Flo
@Flo-Slv try this in colorful-winsep.lua
config
require("colorful-winsep").setup({
highlight = {
-- bg = '#eb6f92',
fg = '#eb6f92'
},
-- timer refresh rate
interval = 10,
-- This plugin will not be activated for filetype in the following table.
no_exec_files = { 'packer', 'TelescopePrompt', 'mason', 'NvimTree' },
symbols = { "─", "│", "┌", "┐", "└", "┘" },
close_event = function()
-- Executed after closing the window separator
end,
create_event = function()
-- Executed after creating the window separator
end
})
Hey @crivotz !
Thanks for your answer but I already tried with smaller symbols.
As you can see on screenshots above, it's not related to border size. It's related to Lualine when you set laststatus = 2
to have an unique status line for each open buffer.
Okay, sorry but I had still seen the thick edge in the configuration and that's why I had reposted.
Unfortunately I do not use Lualine but Feline which does not have the problem with laststatus = 2
Wait for @denstiny
Oh! I know. Give me two days, I'm infected with the novel coronavirus 🤧
Okay, sorry but I had still seen the thick edge in the configuration and that's why I had reposted. Unfortunately I do not use Lualine but Feline which does not have the problem with
laststatus = 2
Wait for @denstiny
It's not a critical issue so I can wait for @denstiny answer :)
But, maybe it's time for me to use Feline instead of Lualine !
Oh! I know. Give me two days, I'm infected with the novel coronavirus sneezing_face
Sure ! No worries ! Health first !
Okay, sorry but I had still seen the thick edge in the configuration and that's why I had reposted. Unfortunately I do not use Lualine but Feline which does not have the problem with
laststatus = 2
Wait for @denstinyIt's not a critical issue so I can wait for @denstiny answer :)
But, maybe it's time for me to use Feline instead of Lualine !
I've been using lualine.
@Flo-Slv The example you provided cannot be reproduced
@Flo-Slv The example you provided cannot be reproduced
Okey, I need to investigate on my side !
Thanks
symbols = { "─", "│", "┌", "┐", "└", "┘" }
This should be the default
Hi there,
thanks for your work !
Is-it possible to change border size ? Because it's huge with my config.
Not sure, but it seems this behaviour is due to a conflict with Lualine status bar when set to
vim.opt.laststatus = 2
Thanks, Flo