Hi all, I'm struggling for this issue for days after upgrading to vim 9.1.
I built from the latest version(commit c3cfdef) and still got this error when edit any go file.
I have removed share/vim and reinstalled vim but this problem sitll eixsts.
Does anyone have any idea about this? Any help is appreciated.
Error detected while processing BufRead Autocommands for "*"..function dist#ft#DetectFromExt[9]..FileType Autocommands for "go":
E518: Unknown option: note
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
cannot reproduce. What exactly is your filename? I tried vim --clean foobar.go and did not notice any issues.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
cannot reproduce. What exactly is your filename? I tried
vim --clean foobar.goand did not notice any issues.
Thanks for your reply. I got this issue with any go file. It's ok to open the files vim -u NONE xxx.go and vim --clean xxx.go. I turned off filetype detection, the unknown option error disappeared. I checked dist#ft#DetectFromExt and didn't find note. I built vim with the following configurations:
./configure --enable-python3interp=yes --with-features=huge --enable-multibyte --enable-cscope --prefix=$HOME/.local
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
If this is okay with vim --clean foo.go then it's not filetytpe detection per se, as --clean enables this. Do you have any custom filetype commands defined for go files? Please check your configuration specifically filetype autocommands and anything inside ~/.vim/ftplugin/go.vim and ~/.vim/ftplugin/after/go.vim and possibly also ~/.vim/ftdetect/go.vim. Could also be in any custom plugins or packages that you have installed
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
~/.vim/ftplugin/go.vim
Many thanks. How stupid I was! I checked all the autocmds withautocmd FileType goand found asetlocal notethere. It mighty be added by mistake. Thank you for your time really. Have a nice day!
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()