From af45f1918a9715479d6b6bd857df319fb474254e Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Wed, 24 Jun 2026 02:49:27 +0300 Subject: Make the unwrap snippet be java only (as intended, rather than all which was just for debugging) --- .config/nvim/lua/plugins/luasnip.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.config') diff --git a/.config/nvim/lua/plugins/luasnip.lua b/.config/nvim/lua/plugins/luasnip.lua index a850d39..0e55c52 100644 --- a/.config/nvim/lua/plugins/luasnip.lua +++ b/.config/nvim/lua/plugins/luasnip.lua @@ -52,7 +52,7 @@ return { local k = require('luasnip.nodes.key_indexer').new_key local postfix_builtin = require('luasnip.extras.treesitter_postfix').builtin - ls.add_snippets('all', { + ls.add_snippets('java', { ts_postfix({ matchTSNode = postfix_builtin.tsnode_matcher.find_topmost_types({ 'identifier', -- cgit v1.3.1