summaryrefslogtreecommitdiff
path: root/nixvim/plugins/trouble.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixvim/plugins/trouble.nix')
-rw-r--r--nixvim/plugins/trouble.nix17
1 files changed, 17 insertions, 0 deletions
diff --git a/nixvim/plugins/trouble.nix b/nixvim/plugins/trouble.nix
new file mode 100644
index 0000000..a971991
--- /dev/null
+++ b/nixvim/plugins/trouble.nix
@@ -0,0 +1,17 @@
+{
+ keymaps = [
+ {
+ action = "Trouble diagnostics toggle";
+ key = "<leader>p";
+ mode = "n";
+ options = {
+ noremap = true;
+ silent = true;
+ };
+ }
+ ];
+
+ plugins.trouble = {
+ enable = true;
+ };
+}