aboutsummaryrefslogtreecommitdiffstats
path: root/after/plugin
diff options
context:
space:
mode:
authorAriel D'Alessandro <ariel.dalessandro@auto1.com>2022-03-11 16:00:03 +0100
committerAriel D'Alessandro <ariel.dalessandro@auto1.com>2022-03-11 16:00:03 +0100
commit4e8faf60d8d608f81c74848d7dab5e87efb9fe2b (patch)
tree9f5e5d0103d8e8b38abaa32fb5543d7dfce46db4 /after/plugin
parente753326bfde9937a879794eac178864df1c2272b (diff)
downloadnvim-conf-4e8faf60d8d608f81c74848d7dab5e87efb9fe2b.tar.gz
nvim-conf-4e8faf60d8d608f81c74848d7dab5e87efb9fe2b.zip
update config a bit, add trouble key and work tree
Diffstat (limited to 'after/plugin')
-rw-r--r--after/plugin/trouble.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/after/plugin/trouble.lua b/after/plugin/trouble.lua
new file mode 100644
index 0000000..2fbb23d
--- /dev/null
+++ b/after/plugin/trouble.lua
@@ -0,0 +1,9 @@
+local ok, trouble = pcall(require, "trouble")
+
+if not ok then
+ return
+end
+
+trouble.setup {}
+
+vim.keymap.set('n', '<leader>tt', ':TroubleToggle<cr>')