mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-11-07 14:55:59 +01: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
|
||||
inherit (lib.options) mkEnableOption mkOption;
|
||||
inherit (lib.types) attrsOf str int;
|
||||
inherit (lib.generators) mkLuaInline;
|
||||
inherit (lib.nvim.types) luaInline;
|
||||
in {
|
||||
options.vim.lsp.null-ls = {
|
||||
enable = mkEnableOption "null-ls, also enabled automatically";
|
||||
|
@ -10,8 +8,8 @@ in {
|
|||
debug = mkEnableOption "debugging information for `null-ls";
|
||||
|
||||
diagnostics_format = mkOption {
|
||||
type = luaInline;
|
||||
default = mkLuaInline "[#{m}] #{s} (#{c})";
|
||||
type = str;
|
||||
default = "[#{m}] #{s} (#{c})";
|
||||
description = "Diagnostic output format for null-ls";
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue