Skip to content

Commit 214faad

Browse files
authored
fix(kulala-nvim): fix lsp keymaps (#1551)
1 parent 219e54c commit 214faad

File tree

1 file changed

+5
-2
lines changed
  • lua/astrocommunity/programming-language-support/kulala-nvim

1 file changed

+5
-2
lines changed

lua/astrocommunity/programming-language-support/kulala-nvim/init.lua

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
return {
22
"mistweaverco/kulala.nvim",
33
ft = { "http", "rest" },
4+
keys = {
5+
{ "<leader>r", desc = "KulalaNvim" },
6+
},
47
dependencies = {
58
{
69
"nvim-treesitter/nvim-treesitter",
@@ -20,8 +23,8 @@ return {
2023
},
2124
opts = {
2225
global_keymaps = true,
23-
global_keymaps_prefix = "<leader>R",
24-
lsp = { keymaps = true },
26+
global_keymaps_prefix = "<leader>r",
27+
lsp = { on_attach = require("astrolsp").on_attach },
2528
},
2629
config = function(_, opts)
2730
require("kulala").setup(opts)

0 commit comments

Comments
 (0)