mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-22 21:30:51 +00:00
lsp/null-ls: use string type for diagnostic format
This commit is contained in:
parent
cfbed8ceb1
commit
f0f2c08e9f
1 changed files with 2 additions and 4 deletions
|
@ -1,8 +1,6 @@
|
||||||
{lib, ...}: let
|
{lib, ...}: let
|
||||||
inherit (lib.options) mkEnableOption mkOption;
|
inherit (lib.options) mkEnableOption mkOption;
|
||||||
inherit (lib.types) attrsOf str int;
|
inherit (lib.types) attrsOf str int;
|
||||||
inherit (lib.generators) mkLuaInline;
|
|
||||||
inherit (lib.nvim.types) luaInline;
|
|
||||||
in {
|
in {
|
||||||
options.vim.lsp.null-ls = {
|
options.vim.lsp.null-ls = {
|
||||||
enable = mkEnableOption "null-ls, also enabled automatically";
|
enable = mkEnableOption "null-ls, also enabled automatically";
|
||||||
|
@ -10,8 +8,8 @@ in {
|
||||||
debug = mkEnableOption "debugging information for `null-ls";
|
debug = mkEnableOption "debugging information for `null-ls";
|
||||||
|
|
||||||
diagnostics_format = mkOption {
|
diagnostics_format = mkOption {
|
||||||
type = luaInline;
|
type = str;
|
||||||
default = mkLuaInline "[#{m}] #{s} (#{c})";
|
default = "[#{m}] #{s} (#{c})";
|
||||||
description = "Diagnostic output format for null-ls";
|
description = "Diagnostic output format for null-ls";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue