summaryrefslogtreecommitdiffstats
path: root/autoload/csv.vim
diff options
context:
space:
mode:
Diffstat (limited to 'autoload/csv.vim')
-rw-r--r--autoload/csv.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/csv.vim b/autoload/csv.vim
index e05d2e13..28d85b63 100644
--- a/autoload/csv.vim
+++ b/autoload/csv.vim
@@ -2346,7 +2346,7 @@ fu! csv#ColumnWidth()
endfu
fu! csv#Map(map, name, definition, ...) "{{{3
- let keyname = substitute(a:name, '[<>]', '', 'g')
+ let keyname = substitute(substitute(a:name, '[<>]', '', 'g'), '-', '_', 'g')
let expr = (exists("a:1") && a:1 == 'expr' ? '<expr>' : '')
if !get(g:, "csv_nomap_". tolower(keyname), 0)
" All mappings are buffer local