From fbb33b1ea90b548f27ab206deb95ac6ff6ce7bf7 Mon Sep 17 00:00:00 2001 From: 4o1x5 <4o1x5@4o1x5.dev> Date: Mon, 20 Jan 2025 12:09:13 +0100 Subject: [PATCH 1/2] trouble: added keybind to open diagnostics --- config/keymaps.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/config/keymaps.nix b/config/keymaps.nix index 6caf954..8f25392 100644 --- a/config/keymaps.nix +++ b/config/keymaps.nix @@ -21,6 +21,13 @@ desc = "Format Buffer"; }; } + { + # Trouble diagnostics + mode = "n"; + key = "td"; + action = "Trouble diagnostics"; + } + ]; } From f0313ee843435c4e01fece02b43b1d8afdcdf512 Mon Sep 17 00:00:00 2001 From: 4o1x5 <4o1x5@4o1x5.dev> Date: Wed, 22 Jan 2025 10:04:45 +0100 Subject: [PATCH 2/2] elixir: removed comment, tweaked a bit around --- config/plugins/lang/elixir.nix | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/config/plugins/lang/elixir.nix b/config/plugins/lang/elixir.nix index 2a6bd83..686b382 100644 --- a/config/plugins/lang/elixir.nix +++ b/config/plugins/lang/elixir.nix @@ -1,8 +1,9 @@ -{ pkgs, ... }: +{ ... }: { plugins = { + + lsp.servers.nextls.enable = true; lsp.servers.elixirls.enable = true; - lsp.servers.nextls.enable = true; # idk probably needed for elixirls conform-nvim.settings = { formatters_by_ft = { @@ -10,12 +11,6 @@ }; }; - # TODO use credo to lint - #lint = { - # lintersByFt.elixir = [ "elixir" ]; - # linters.elixir.cmd = "${pkgs.elixir}/bin/mix deps.get"; - #}; - treesitter.settings.ensure_installed = [ "eex" "elixir"