You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Without the neomake#configure#automake('w') command, neovim starts and I can run :Neomake manually with some success (the log window hangs and I have to press enter before it shows me any linting).
Then neovim opens with E117: Unknown function: neomake#configure#automake.
Output from :NeomakeInfo
#### Neomake debug information
Async support: 1
Current filetype:
Windows: 0
[shell, shellcmdflag, shellslash]: ['/bin/bash', '-c', 0]
makeprg=make
##### Enabled makers
For the current filetype ("", used with :Neomake):
None.
NOTE: the current buffer does not have a filetype.
For the project (used with :Neomake!):
- makeprg
- append_file: 0
- args: []
- auto_enabled: 1
- errorformat: '%*[^"]"%f"%*\D%l: %m,"%f"%*\D%l: %m,%-G%f:%l: (Each undeclared identifier is reported only once,%-G%f:%l: for each function it appears in.),%-GIn file included from %f:%l:%c:,%-GIn file included from %f:%l:%c\,,%-GIn file included from %f:%l:%c,%-GIn file included from %f:%l,%-G%*[ ]from %f:%l:%c,%-G%*[ ]from %f:%l:,%-G%*[ ]from %f:%l\,,%-G%*[ ]from %f:%l,%f:%l:%c:%m,%f(%l):%m,%f:%l:%m,"%f"\, line %l%*\D%c%*[^ ] %m,%D%*\a[%*\d]: Entering directory %*[`'']%f'',%X%*\a[%*\d]: Leaving directory %*[`'']%f'',%D%*\a: Entering directory %*[`'']%f'',%X%*\a: Leaving directory %*[`'']%f'',%DMaking %*\a in %f,%f|%l| %m'
- exe: 'make'
- version information (/usr/bin/make --version): GNU Make 4.2.1
Built for x86_64-redhat-linux-gnu
Copyright (C) 1988-2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
NOTE: you can define g:neomake_enabled_makers to configure it.
Default maker settings:
- output_stream: 'both'
- remove_invalid_entries: 0
- buffer_output: 1
##### Settings
###### New-style (dict, overrides old-style)
```
g:neomake: unset
b:neomake: unset
```
###### Old-style
```
g:neomake_place_signs = 1
```
#### :version
```
NVIM v0.4.3
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
Compilation: /usr/bin/cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=1 -O2 -g -DMIN_LOG_LEVEL=3 -Og -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fno-common -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -I/builddir/build/BUILD/neovim-0.4.3/build/config -I/builddir/build/BUILD/neovim-0.4.3/src -I/usr/include -I/usr/include/lua-5.1 -I/builddir/build/BUILD/neovim-0.4.3/build/src/nvim/auto -I/builddir/build/BUILD/neovim-0.4.3/build/include
Compiled by mockbuild
Features: +acl +iconv +tui
See ":help feature-compile"
system vimrc file: "$VIM/sysinit.vim"
fall-back for $VIM: "/usr/share/nvim"
Run :checkhealth for more info
```
#### :messages
```
Error detected while processing /home/tpreston/.dotfiles/config/nvim/init.vim:
line 52:
E117: Unknown function: neomake#configure#automake
```
The text was updated successfully, but these errors were encountered:
It looks like the neomake#configure#automake function is defined in autoload/neomake/configure.vim, but this doesn't appear when I run :scriptnames in neovim. Maybe this has something to do with it?
This works for me. It appears that vimrc is sourced before neomake's autoload/neomake/configure.vim is sourced. autocmd VimEnter * call neomake#configure#automake('w')
I am using vim/neovim's native package loading. Does this require any extra steps to get
neomake#configure
commands working?This issue appears to be similar, but I have no idea how it was solved.
Expected behavior
When I add the following line to init.vim, I expect neovim to start without an error and the Neomake command to run on save, but it doesn't.
I see the following error on startup:
Without the
neomake#configure#automake('w')
command, neovim starts and I can run:Neomake
manually with some success (the log window hangs and I have to press enter before it shows me any linting).Steps to reproduce
The only line I see in
/tmp/neomake.log
is this when I close neovim:When I use the minimal.init.vim, there are no errors (expected - this issue only appears when I add config) and nothing appears in
/tmp/neomake.log
.I'm running Fedora 31, NVIM v0.4.3. I can reproduce with the following container:
Then neovim opens with
E117: Unknown function: neomake#configure#automake
.Output from :NeomakeInfo
The text was updated successfully, but these errors were encountered: