summaryrefslogtreecommitdiff
path: root/fnl
diff options
context:
space:
mode:
Diffstat (limited to 'fnl')
-rw-r--r--fnl/plugins/treesitter.fnl7
1 files changed, 6 insertions, 1 deletions
diff --git a/fnl/plugins/treesitter.fnl b/fnl/plugins/treesitter.fnl
index 546abc7..e3b9145 100644
--- a/fnl/plugins/treesitter.fnl
+++ b/fnl/plugins/treesitter.fnl
@@ -77,7 +77,12 @@
:goto_previous_end {"[M" "@function.outer"
"[]" "@class.outer"}
:goto_next {"]i" "@conditional.outer"}
- :goto_previous {"[i" "@conditional.outer"}}}})
+ :goto_previous {"[i" "@conditional.outer"}}
+ :lsp_interop {:enable true
+ :border :single
+ :floating_preview_opts {}
+ :peek_definition_code {:<leader>df "@function.outer"
+ :<leader>dF "@class.outer"}}}})
(fn config []
(let [treesitter (require :nvim-treesitter.configs)]