Skip to content

Commit 0577fd5

Browse files
committed
only mimic funced for files in functions dir
1 parent 15497e8 commit 0577fd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ftdetect/fish.vim

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ autocmd BufRead,BufNewFile ~/.config/fish/fish_{read_,}history setfiletype yaml
2121
autocmd BufRead,BufNewFile ~/.config/fish/fishd.* setlocal readonly
2222

2323
" Mimic `funced` when manually creating functions.
24-
autocmd BufNewFile ~/.config/fish/*.fish
24+
autocmd BufNewFile ~/.config/fish/functions/*.fish
2525
\ call append(0, ['function '.expand('%:t:r'),
2626
\repeat(' ', &shiftwidth),
2727
\'end']) |

0 commit comments

Comments
 (0)