From dd1cfd2fee20f83bae4d3ed28546665a1b89f2a8 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sun, 17 Jul 2022 16:59:48 +0200 Subject: Add winbar --- README.md | 2 +- fnl/config/init.fnl | 1 + fnl/config/lualine.fnl | 8 ++++---- fnl/config/winbar.fnl | 4 ++++ 4 files changed, 10 insertions(+), 5 deletions(-) create mode 100644 fnl/config/winbar.fnl diff --git a/README.md b/README.md index 8bb633b..20e6d65 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ My neovim config written in fennel. # Dependencies ``` -neovim >= 0.7 +neovim >= 0.8 neovim-web-devicons-git xsel fzf diff --git a/fnl/config/init.fnl b/fnl/config/init.fnl index d64a6e3..2aa9da2 100644 --- a/fnl/config/init.fnl +++ b/fnl/config/init.fnl @@ -26,4 +26,5 @@ config.which-key config.window-picker config.zen + config.winbar config.lsp]}) diff --git a/fnl/config/lualine.fnl b/fnl/config/lualine.fnl index 5bc85c4..f439f2d 100644 --- a/fnl/config/lualine.fnl +++ b/fnl/config/lualine.fnl @@ -52,13 +52,13 @@ :disabled_filetypes ignore :always_divide_middle true} :sections {:lualine_a [:mode] - :lualine_b [branch diff :filename] + :lualine_b [branch diff] :lualine_c {} - :lualine_x [filetype] - :lualine_y [language-server diagnostics] + :lualine_x [language-server diagnostics] + :lualine_y [filetype] :lualine_z [:location :progress]} :inactive_sections {:lualine_a [:mode] - :lualine_b [:filename] + :lualine_b {} :lualine_c {} :lualine_x {} :lualine_y {} diff --git a/fnl/config/winbar.fnl b/fnl/config/winbar.fnl new file mode 100644 index 0000000..6b1c548 --- /dev/null +++ b/fnl/config/winbar.fnl @@ -0,0 +1,4 @@ +;; Winbar settings +(module config.winbar) + +(tset vim.opt :winbar :%t%m) -- cgit v1.2.3-70-g09d2