From 9f7da76743ffb440b41fe4862ed47054b5d295e3 Mon Sep 17 00:00:00 2001 From: Soispha Date: Sat, 19 Aug 2023 21:28:14 +0200 Subject: Fix(hm/conf/neovim/plugins/lualine): Use anynomys functions --- home-manager/soispha/config/neovim/nixvim/plugins/lualine/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'home-manager/soispha/config/neovim/nixvim/plugins') diff --git a/home-manager/soispha/config/neovim/nixvim/plugins/lualine/default.nix b/home-manager/soispha/config/neovim/nixvim/plugins/lualine/default.nix index e60e35f0..12723cc1 100644 --- a/home-manager/soispha/config/neovim/nixvim/plugins/lualine/default.nix +++ b/home-manager/soispha/config/neovim/nixvim/plugins/lualine/default.nix @@ -2,7 +2,7 @@ programs.nixvim.plugins.lualine = let get_location_of_file = { __raw = '' - function get_location_of_file() + function() local file_lines = vim.fn.line('$'); local file_current_cursor_positon = vim.fn.getcurpos(); return file_current_cursor_positon[3] .. ":" .. file_current_cursor_positon[2] .. "/" .. file_lines -- cgit 1.4.1