From f0f2c08e9ff934c19633371e760162b6a29fb67e Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Thu, 16 May 2024 19:35:19 +0300 Subject: [PATCH] lsp/null-ls: use string type for diagnostic format --- modules/plugins/lsp/null-ls/null-ls.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/modules/plugins/lsp/null-ls/null-ls.nix b/modules/plugins/lsp/null-ls/null-ls.nix index 8067e10..7de46a5 100644 --- a/modules/plugins/lsp/null-ls/null-ls.nix +++ b/modules/plugins/lsp/null-ls/null-ls.nix @@ -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"; };