add lualine and play a bit with astroui
This commit is contained in:
parent
e0dfc1e2d1
commit
c42f7a4d8f
7 changed files with 58 additions and 7 deletions
25
plugins/astrolsp.nix
Normal file
25
plugins/astrolsp.nix
Normal 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});
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue