summaryrefslogtreecommitdiffstats
path: root/ftplugin
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2017-12-06 12:56:27 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2017-12-06 12:56:27 +0100
commitdce9e8dec5ef51730291c7bbff3e3997433eabbd (patch)
tree1ca7140cd4244dfdff3d8d58f936d9dc159c9d4e /ftplugin
parent30c87b73deff05c7dd9590228c0615a3299f39ff (diff)
downloadvim-polyglot-dce9e8dec5ef51730291c7bbff3e3997433eabbd.tar.gz
vim-polyglot-dce9e8dec5ef51730291c7bbff3e3997433eabbd.zip
Update
Diffstat (limited to 'ftplugin')
-rw-r--r--ftplugin/fish.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ftplugin/fish.vim b/ftplugin/fish.vim
index f365208a..c6c1f6d8 100644
--- a/ftplugin/fish.vim
+++ b/ftplugin/fish.vim
@@ -31,7 +31,7 @@ endif
" Use the 'man' wrapper function in fish to include fish's man pages.
" Have to use a script for this; 'fish -c man' would make the the man page an
" argument to fish instead of man.
-execute 'setlocal keywordprg=fish\ '.expand('<sfile>:p:h:h').'/bin/man.fish'
+execute 'setlocal keywordprg=fish\ '.fnameescape(expand('<sfile>:p:h:h').'/bin/man.fish')
let b:match_words =
\ escape('<%(begin|function|if|switch|while|for)>:<end>', '<>%|)')