nvim-treesitter / playground

Treesitter playground integrated into Neovim
Apache License 2.0
898 stars 47 forks source link

feat: update keymaps to use new api #79

Closed mutecipher closed 2 years ago

mutecipher commented 2 years ago

Update other keymaps to use the new vim.keymap API.

clason commented 2 years ago

Thank you, but that is not an improvement -- as we cannot use a pure Lua callback for that mapping, there is zero benefit of using the new Lua API for that.

clason commented 2 years ago

(These things need a bigger refactor to avoid the string manipulation for generating the mappings.)