diff options
| author | Ruben Beltran del Rio <jj@r.bdr.sh> | 2025-12-14 23:38:32 +0100 |
|---|---|---|
| committer | Ruben Beltran del Rio <jj@r.bdr.sh> | 2026-04-23 11:49:30 +0200 |
| commit | d297439091c8738fde671ddfe0dacf234d0928f8 (patch) | |
| tree | 0edd40898a43181dd9ac7deb9b96812b2fef4142 /lua/tree-sitter-wmap.lua | |
| parent | c01881ae8910f11653e69d7bbded07e4413991bc (diff) | |
Update plugin for 0.12
Diffstat (limited to 'lua/tree-sitter-wmap.lua')
| -rw-r--r-- | lua/tree-sitter-wmap.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lua/tree-sitter-wmap.lua b/lua/tree-sitter-wmap.lua index 7c4a53d..df5cc4c 100644 --- a/lua/tree-sitter-wmap.lua +++ b/lua/tree-sitter-wmap.lua @@ -3,8 +3,7 @@ local M = {} function M.setup() local config_file_path = debug.getinfo(1).source:sub(2) local plugin_dir = vim.fn.fnamemodify(config_file_path, ':h:h') - local parser_config = require 'nvim-treesitter.parsers'.get_parser_configs() - parser_config.wmap = { + require('nvim-treesitter.parsers').wmap = { install_info = { url = plugin_dir, files = {'src/parser.c'}, |