From 227954f664fdf78a17ec230fd72f7314b5e9a316 Mon Sep 17 00:00:00 2001 From: elkowar <5300871+elkowar@users.noreply.github.com> Date: Mon, 18 Apr 2022 20:03:25 +0200 Subject: [PATCH] Fix vim --- nvim/.config/nvim/fnl/dots/plugins.fnl | 4 +++- nvim/.config/nvim/fnl/init.fnl | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/nvim/.config/nvim/fnl/dots/plugins.fnl b/nvim/.config/nvim/fnl/dots/plugins.fnl index acbc114..3315753 100644 --- a/nvim/.config/nvim/fnl/dots/plugins.fnl +++ b/nvim/.config/nvim/fnl/dots/plugins.fnl @@ -49,7 +49,9 @@ :folke/todo-comments.nvim (cfg "dots.plugins.todo-comments") :Famiu/feline.nvim (cfg "dots.plugins.feline") - :akinsho/nvim-bufferline.lua (cfg "dots.plugins.bufferline") + :akinsho/nvim-bufferline.lua {:opt false + :config #(require "dots.plugins.bufferline") + :tag "v1.1.1"} :psliwka/vim-smoothie {} :norcalli/nvim-colorizer.lua (cfg "dots.plugins.nvim-colorizer") diff --git a/nvim/.config/nvim/fnl/init.fnl b/nvim/.config/nvim/fnl/init.fnl index 6819cac..54f9b73 100644 --- a/nvim/.config/nvim/fnl/init.fnl +++ b/nvim/.config/nvim/fnl/init.fnl @@ -191,7 +191,7 @@ (vim.api.nvim_buf_is_loaded $1) (= "" (str.join (utils.buffer-content $1))) (vim.api.nvim_buf_get_option $1 "buflisted")) - (vim.fn.range 1 (vim.api.nvim_buf_get_number "$")))] + (vim.fn.range 1 "$"))] (when (not (a.empty? bufs)) (vim.cmd (.. "bdelete " (str.join " " bufs))))))