Update 2024-12-16 19:13 OpenBSD/amd64-t14
This commit is contained in:
15
.vim/pack/plugins/start/vim-hugo/compiler/hugo.vim
Normal file
15
.vim/pack/plugins/start/vim-hugo/compiler/hugo.vim
Normal file
@@ -0,0 +1,15 @@
|
||||
if exists('current_compiler')
|
||||
finish
|
||||
endif
|
||||
let current_compiler = 'hugo'
|
||||
|
||||
if exists(':CompilerSet') != 2 " older Vim always used :setlocal
|
||||
command -nargs=* CompilerSet setlocal <args>
|
||||
endif
|
||||
|
||||
CompilerSet makeprg=hugo
|
||||
CompilerSet errorformat=%.%#file\ \"%f\"\\,\ line\ %l\\,\ col\ %c:%m,
|
||||
\ERROR%.%#\"%f:%l:%c\":\ %m,
|
||||
\ERROR.....................%m,
|
||||
\%-G,
|
||||
\%-G%.%#
|
||||
Reference in New Issue
Block a user