summaryrefslogtreecommitdiffstats
path: root/runtime/autoload/decada.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-09-09 21:55:11 +0200
committerBram Moolenaar <Bram@vim.org>2021-09-09 21:55:11 +0200
commit6c391a74fe90190796ca0b0c010112948a6e75d7 (patch)
tree6f313c0f99a43bba9d48cee72d6ba1ed7fc95e26 /runtime/autoload/decada.vim
parentd176ca3dde47c11aae0376c31b7e1ba0939c8c6c (diff)
Update runtime files
Diffstat (limited to 'runtime/autoload/decada.vim')
-rw-r--r--runtime/autoload/decada.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/autoload/decada.vim b/runtime/autoload/decada.vim
index 5124429a75..fda2b76dac 100644
--- a/runtime/autoload/decada.vim
+++ b/runtime/autoload/decada.vim
@@ -23,7 +23,7 @@ endif
function decada#Unit_Name () dict " {{{1
" Convert filename into acs unit:
- " 1: remove the file extenstion.
+ " 1: remove the file extension.
" 2: replace all double '_' or '-' with an dot (which denotes a separate)
" 3: remove a trailing '_' (which denotes a specification)
return substitute (substitute (expand ("%:t:r"), '__\|-', ".", "g"), '_$', "", '')