From 2eb1bb5a3cbac750ed76b02a37c45da09cb8ca51 Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Tue, 5 Feb 2019 13:15:31 +0100 Subject: fix(snippets): we don't need to eliminate name, just transliterate it to ASCII. --- ftdetect/spec.vim | 2 +- snippets/changes.snippets | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ftdetect/spec.vim b/ftdetect/spec.vim index b1de10f..1b1fe77 100644 --- a/ftdetect/spec.vim +++ b/ftdetect/spec.vim @@ -1,2 +1,2 @@ -let &iskeyword.=",/,#" +let &iskeyword.=",/,-,#" set keywordprg=osurl diff --git a/snippets/changes.snippets b/snippets/changes.snippets index 6430952..9ff8334 100644 --- a/snippets/changes.snippets +++ b/snippets/changes.snippets @@ -1,5 +1,5 @@ snippet ch ------------------------------------------------------------------- - `strftime("%a %b %e %X %Z %Y")` - `system('rpm --eval "%{packager}"|sed -e "s/^.*<\(.*\)>$/\1/"')` + `strftime("%a %b %e %X %Z %Y")` - `system('rpm --eval "%{packager}"|iconv -f utf-8 -t us-ascii//TRANSLIT')` - ${0} -- cgit