summaryrefslogtreecommitdiff
path: root/fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2025-12-13 23:06:43 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2025-12-13 23:06:43 +0100
commit7db300fbd84619a31dc5b4fa864cd149d8b67c41 (patch)
tree10163440e9afe29b3f91a57a832680e1821b4cb3 /fnl
parentab650693713ceeadf2c064b1024379e6a58a6878 (diff)
Diffstat (limited to 'fnl')
-rw-r--r--fnl/plugins/lsp/keymaps.fnl18
-rw-r--r--fnl/plugins/treesitter.fnl1
2 files changed, 10 insertions, 9 deletions
diff --git a/fnl/plugins/lsp/keymaps.fnl b/fnl/plugins/lsp/keymaps.fnl
index 72e03cd..f312581 100644
--- a/fnl/plugins/lsp/keymaps.fnl
+++ b/fnl/plugins/lsp/keymaps.fnl
@@ -4,15 +4,15 @@
[[:n :gD "<cmd>lua vim.lsp.buf.declaration()<CR>" {:desc :Declaration}]
[:n
:gd
- "<cmd>Telescope lsp_definitions theme=dropdown<cr>"
+ "<cmd>Telescope lsp_definitions theme=get_dropdown<cr>"
{:desc :Definition}]
[:n
:gI
- "<cmd>Telescope lsp_implementations theme=dropdown<cr>"
+ "<cmd>Telescope lsp_implementations theme=get_dropdown<cr>"
{:desc :Implementation}]
[:n
:gr
- "<cmd>Telescope lsp_references theme=dropdown<cr>"
+ "<cmd>Telescope lsp_references theme=get_dropdown<cr>"
{:desc :References}]
[:n
:gl
@@ -20,24 +20,24 @@
{:desc :Diagnostics}]
[:n
:gj
- "<cmd>Telescope diagnostics theme=dropdown<cr>"
+ "<cmd>Telescope diagnostics theme=get_dropdown<cr>"
{:desc "Telescope Diagnostics"}]
[:n
:gw
- "<cmd>Telescope lsp_dynamic_workspace_symbols theme=dropdown<cr>"
+ "<cmd>Telescope lsp_dynamic_workspace_symbols theme=get_dropdown<cr>"
{:desc "Workspace Symbols"}]
[:n
:gE
- "<cmd>Telescope lsp_type_definitions theme=dropdown<cr>"
- {:desc "Workspace Symbols"}]
+ "<cmd>Telescope lsp_type_definitions theme=get_dropdown<cr>"
+ {:desc "Type Definitions"}]
[:n :gm "<cmd>lua vim.lsp.buf.signature_help()<CR>" {:desc :Signature}]
[:n
:gM
- "<cmd>Telescope lsp_document_symbols theme=dropdown<cr>"
+ "<cmd>Telescope lsp_document_symbols theme=get_dropdown<cr>"
{:desc "Document Symbols"}]
[:n :gh "<cmd>lua vim.lsp.buf.code_action()<cr>" {:desc "Code Action"}]
[:n :gb "<cmd>lua vim.lsp.codelens.run()<cr>" {:desc "Code Lens"}]
- [:n :K "<cmd>lua vim.lsp.hover()<cr>" {:desc "Hover documentation"}]
+ [:n :K "<cmd>lua vim.lsp.buf.hover()<cr>" {:desc "Hover documentation"}]
[:n :<leader>li :<cmd>LspInfo<cr> {:desc "Lsp Info"}]])
(λ on-attach [buffer]
diff --git a/fnl/plugins/treesitter.fnl b/fnl/plugins/treesitter.fnl
index 76a1e29..b75eba3 100644
--- a/fnl/plugins/treesitter.fnl
+++ b/fnl/plugins/treesitter.fnl
@@ -20,6 +20,7 @@
:make
:markdown
:ocaml
+ :ocaml_interface
:python
:rust
:sql