Skip to content

Commit

Permalink
feat(jab): add ~ to the default labels
Browse files Browse the repository at this point in the history
requires latest vim-kensaku

lambdalisue/vim-kensaku#20
  • Loading branch information
atusy committed Nov 26, 2024
1 parent 00b42af commit 0e7b9d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/jab/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -511,9 +511,9 @@ end

--Excludes some punctuations:
-- - ~: vim.regex(vim.fn["kensaku#query"]("a~")) raises couldn't parse regex: Vim:E33: No previous substitute regular expression
local labels_f = string2labels([[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ123456789!@#$%^&*()[]`'=-{}"+_]])
local labels_f = string2labels([[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ123456789!@#$%^&*()[]`'=~-{}"+_]])
local labels_win =
string2labels([[ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890!@#$%^&*()[]`'=-{}"+_]])
string2labels([[ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890!@#$%^&*()[]`'=-{}~"+_]])

M.f = function(labels)
return M.jab("f", labels or labels_f)
Expand Down

0 comments on commit 0e7b9d4

Please sign in to comment.