diff options
author | Soispha <soispha@vhack.eu> | 2023-08-19 21:28:14 +0200 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-08-19 21:28:14 +0200 |
commit | 9f7da76743ffb440b41fe4862ed47054b5d295e3 (patch) | |
tree | 7ed25eef7a549569369831102574cbbaa3c3a64f | |
parent | Fix(hm/conf/neovim/plugins/lualine): Enable (diff) | |
download | nixos-config-9f7da76743ffb440b41fe4862ed47054b5d295e3.tar.gz nixos-config-9f7da76743ffb440b41fe4862ed47054b5d295e3.zip |
Fix(hm/conf/neovim/plugins/lualine): Use anynomys functions
Diffstat (limited to '')
-rw-r--r-- | home-manager/soispha/config/neovim/nixvim/plugins/lualine/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
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 |