add lualine and play a bit with astroui

This commit is contained in:
Prunebutt 2025-11-22 00:19:13 +01:00
parent e0dfc1e2d1
commit c42f7a4d8f
7 changed files with 58 additions and 7 deletions

25
plugins/astrolsp.nix Normal file
View file

@ -0,0 +1,25 @@
{pkgs, lib, ...}:let
inherit (lib.nixvim.lua) toLuaObject;
options = {
features = {
codelens = true; # enable/disable codelens refresh on start
inlay_hints = false; # enable/disable inlay hints on start
semantic_tokens = true; # enable/disable semantic token highlighting
};
formatting = {
format_on_save = {
enabled = true;
};
};
servers = [
"bash-language-server"
];
};
in {
extraPlugins = [pkgs.vimPlugins.astrolsp];
extraConfigLua = /*lua*/ ''
require('astroui').setup(${toLuaObject options});
'';
}