Skip to content
This repository has been archived by the owner on Jul 29, 2023. It is now read-only.

Neovim 0.8.0: Error detected while processing BufWinEnter Autocommands #380

Open
laanhdo opened this issue Nov 10, 2022 · 3 comments
Open

Comments

@laanhdo
Copy link

laanhdo commented Nov 10, 2022

Error detected while processing BufWinEnter Autocommands for "*"..function 139_Setup[6]..139_IndentLinesEnable[10]..139_SetConcealOption:
line 8:

@sriharshachilakapati
Copy link

sriharshachilakapati commented Nov 14, 2022

Check if your init.vim has something like this:

let g:indentLine_concealcursor = 0

Earlier NeoVim versions used to ignore this but now this is an issue since error is being reported. Correct should be having a string with characters only comprising of 'i, n, c and v'

@AravindVasudev
Copy link

I'm facing the same issue with vim 9.0 homebrew build.

➜  ~ vim --version
VIM - Vi IMproved 9.0 (2022 Jun 28, compiled Nov 09 2022 23:55:52)
macOS version - arm64
Included patches: 1-850
Compiled by Homebrew
Huge version without GUI.  Features included (+) or not (-):
+acl               +file_in_path      +mouse_urxvt       -tag_any_white
+arabic            +find_in_path      +mouse_xterm       -tcl
+autocmd           +float             +multi_byte        +termguicolors
+autochdir         +folding           +multi_lang        +terminal
-autoservername    -footer            -mzscheme          +terminfo
-balloon_eval      +fork()            +netbeans_intg     +termresponse
+balloon_eval_term +gettext           +num64             +textobjects
-browse            -hangul_input      +packages          +textprop
++builtin_terms    +iconv             +path_extra        +timers
+byte_offset       +insert_expand     +perl              +title
+channel           +ipv6              +persistent_undo   -toolbar
+cindent           +job               +popupwin          +user_commands
-clientserver      +jumplist          +postscript        +vartabs
+clipboard         +keymap            +printer           +vertsplit
+cmdline_compl     +lambda            +profile           +vim9script
+cmdline_hist      +langmap           -python            +viminfo
+cmdline_info      +libcall           +python3           +virtualedit
+comments          +linebreak         +quickfix          +visual
+conceal           +lispindent        +reltime           +visualextra
+cryptv            +listcmds          +rightleft         +vreplace
+cscope            +localmap          +ruby              +wildignore
+cursorbind        +lua               +scrollbind        +wildmenu
+cursorshape       +menu              +signs             +windows
+dialog_con        +mksession         +smartindent       +writebackup
+diff              +modify_fname      -sodium            -X11
+digraphs          +mouse             +sound             -xfontset
-dnd               -mouseshape        +spell             -xim
-ebcdic            +mouse_dec         +startuptime       -xpm
+emacs_tags        -mouse_gpm         +statusline        -xsmp
+eval              -mouse_jsbterm     -sun_workshop      -xterm_clipboard
+ex_extra          +mouse_netterm     +syntax            -xterm_save
+extra_search      +mouse_sgr         +tag_binary        
-farsi             -mouse_sysmouse    -tag_old_static    

Error message:

Error detected while processing BufWinEnter Autocommands for "*"..function <SNR>80_Setup[6]..<SNR>80_IndentLinesEnable[10]..<SNR>80_SetConcealOption:

I tried removing indentLine configs based on vim/vim#10128 (comment) but that doesn't seem to help. The only fix is removing indentLine completely.

My .vimrc config for reference: https://github.com/AravindVasudev/dotfiles/blob/main/vimrc

AravindVasudev added a commit to AravindVasudev/dotfiles that referenced this issue Nov 15, 2022
@haug1
Copy link

haug1 commented Nov 17, 2022

Thanks. Changing

let g:indentLine_concealcursor = 0

to

let g:indentLine_concealcursor = ""

in ~/.vimrc fixed it for me

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants