feat: bash language server

This commit is contained in:
raf 2023-09-23 18:36:25 +03:00
commit 6e448cf958
No known key found for this signature in database
GPG key ID: 02D1DD3FA08B6B29
7 changed files with 221 additions and 14 deletions

View file

@ -1,7 +1,4 @@
# From home-manager: https://github.com/nix-community/home-manager/blob/master/modules/lib/booleans.nix
{lib}: {
# Converts a boolean to a yes/no string. This is used in lots of
# configuration formats.
diagnosticsToLua = {
lang,
config,
@ -22,4 +19,11 @@
value = diagnostics.${type}.nullConfig package;
})
config);
mkEnable = desc:
lib.mkOption {
description = "Turn on ${desc} for enabled languages by default";
type = lib.types.bool;
default = false;
};
}