add custom mapping for filepath/filename selections

This commit is contained in:
Schistos Tega 2024-05-31 10:49:45 +03:00
parent c516919105
commit 44715b62b8
3 changed files with 49 additions and 1 deletions

View file

@ -77,7 +77,6 @@ return {
local filepath = node:get_id()
local filename = node.name
local modify = vim.fn.fnamemodify
local vals = {
['BASENAME'] = modify(filename, ':r'),
['EXTENSION'] = modify(filename, ':e'),