diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2024-07-29 00:03:58 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2024-07-29 00:03:58 +0200 |
commit | 7096adce11b93787170c09b79a6170d97b4a977c (patch) | |
tree | 1ccb3901136fc31728652e4db9595c1d7b1cccf5 /fnl/plugins/lualine.fnl | |
parent | beb3ed1effdc5dbd047c583598b83615075363b7 (diff) |
Replace fn with λ and how cmds are imported
Diffstat (limited to 'fnl/plugins/lualine.fnl')
-rw-r--r-- | fnl/plugins/lualine.fnl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fnl/plugins/lualine.fnl b/fnl/plugins/lualine.fnl index 0c11537..b2f7e14 100644 --- a/fnl/plugins/lualine.fnl +++ b/fnl/plugins/lualine.fnl @@ -14,7 +14,7 @@ (local ignore [:help :packer :spectre_panel :TelescopePrompt]) -(fn active-clients [] +(λ active-clients [] (let [clients (vim.lsp.get_clients) buf_num (vim.api.nvim_buf_get_number 0) client_names []] @@ -25,7 +25,7 @@ (table.concat client_names ", ") ""))) -(fn hide-in-width [] +(λ hide-in-width [] (> (vim.fn.winwidth 0) 80)) (local diagnostics {1 :diagnostics |