We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
filetype plugin on
1 parent cde2e2e commit 48c7c02Copy full SHA for 48c7c02
autoload/doge.vim
@@ -76,6 +76,11 @@ endfunction
76
"
77
" arg: Either a count (0 by default) or a string (empty by default).
78
function! doge#generate(arg) abort
79
+ if !exists('b:doge_supported_doc_standards')
80
+ echoerr "[vim-doge] It seems like you forgot to set `filetype plugin on` in your .vimrc"
81
+ return 1
82
+ endif
83
+
84
" Immediately validate if the doc standard is allowed.
85
if index(b:doge_supported_doc_standards, b:doge_doc_standard) < 0
86
echoerr printf(
0 commit comments