Skip to content

Commit

Permalink
dev: make dev_setup actiate any languages it can find
Browse files Browse the repository at this point in the history
  • Loading branch information
jmbuhr committed Mar 17, 2024
1 parent 12894e0 commit 38f236a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/otter/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ end
--- Activate otter for the current buffer and set up keymaps.
--- Only for development purposes
M.dev_setup = function()
M.activate({ "r", "python", "lua", "html", "css" }, true)
M.activate()
vim.api.nvim_buf_set_keymap(0, "n", "gS", ":lua require'otter'.ask_document_symbols()<cr>", { silent = true })
vim.api.nvim_buf_set_keymap(0, "n", "gd", ":lua require'otter'.ask_definition()<cr>", { silent = true })
vim.api.nvim_buf_set_keymap(0, "n", "gD", ":lua require'otter'.ask_type_definition()<cr>", { silent = true })
Expand Down

0 comments on commit 38f236a

Please sign in to comment.