Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

E15: Invalid expression: delim #449

Open
marzdgzmn opened this issue Dec 8, 2020 · 2 comments
Open

E15: Invalid expression: delim #449

marzdgzmn opened this issue Dec 8, 2020 · 2 comments

Comments

@marzdgzmn
Copy link

When I create a new file via nvim . and comment a line via <leader>cc, I get these errors:

E15: Invalid expression: delim
Error detected while processing function NERDComment[34]..44_CommentLines[9]..44_Left:
line 3:
E121: Undefined variable: b:NERDCommenterDelims
E15: Invalid expression: has_key(params, 'alt') ? b:NERDCommenterDelims['leftAlt'] : b:NERDCommenterDelims['left']
line 5:
E121: Undefined variable: delim
E15: Invalid expression: delim ==# ''
line 17:
E121: Undefined variable: delim
E15: Invalid expression: delim
Error detected while processing function NERDComment[34]..44_CommentLines[19]..44_CanCommentLine[10]..44_IsInSexyComment[1]..44_FindBoundingLinesOfSexyCom[5]..44_Multipart[1]..44_Right:
line 3:
E121: Undefined variable: b:NERDCommenterDelims
E15: Invalid expression: has_key(params, 'alt') ? b:NERDCommenterDelims['rightAlt'] : b:NERDCommenterDelims['right']
line 5:
E121: Undefined variable: delim
E15: Invalid expression: delim ==# ''
line 17:
E121: Undefined variable: delim
E15: Invalid expression: delim
Error detected while processing function NERDComment[34]..44_CommentLines[19]..44_CanCommentLine[10]..44_IsInSexyComment[1]..44_FindBoundingLinesOfSexyCom[8]..44_AltMultipart:
line 1:
E121: Undefined variable: b:NERDCommenterDelims
E15: Invalid expression: b:NERDCommenterDelims['rightAlt'] !=# ''
Error detected while processing function NERDComment[34]..44_CommentLines[19]..44_CanCommentLine[14]..44_IsCommentedNormOrSexy[4]..44_Left:
line 3:
E121: Undefined variable: b:NERDCommenterDelims
E15: Invalid expression: has_key(params, 'alt') ? b:NERDCommenterDelims['leftAlt'] : b:NERDCommenterDelims['left']
line 5:
E121: Undefined variable: delim
E15: Invalid expression: delim ==# ''
line 17:
E121: Undefined variable: delim
E15: Invalid expression: delim
Error detected while processing function NERDComment[34]..44_CommentLines[19]..44_CanCommentLine[14]..44_IsCommentedNormOrSexy[4]..44_Right:
line 3:
E121: Undefined variable: b:NERDCommenterDelims
E15: Invalid expression: has_key(params, 'alt') ? b:NERDCommenterDelims['rightAlt'] : b:NERDCommenterDelims['right']
line 5:
E121: Undefined variable: delim
E15: Invalid expression: delim ==# ''
line 17:
E121: Undefined variable: delim
E15: Invalid expression: delim
Error detected while processing function NERDComment[34]..44_CommentLines[19]..44_CanCommentLine[14]..44_IsCommentedNormOrSexy[4]..44_Left:
line 3:
E121: Undefined variable: b:NERDCommenterDelims
E15: Invalid expression: has_key(params, 'alt') ? b:NERDCommenterDelims['leftAlt'] : b:NERDCommenterDelims['left']
line 5:
E121: Undefined variable: delim
E15: Invalid expression: delim ==# ''
line 17:
E121: Undefined variable: delim
E15: Invalid expression: delim
Error detected while processing function NERDComment[34]..44_CommentLines[19]..44_CanCommentLine[14]..44_IsCommentedNormOrSexy[4]..44_Right:
line 3:
E121: Undefined variable: b:NERDCommenterDelims
E15: Invalid expression: has_key(params, 'alt') ? b:NERDCommenterDelims['rightAlt'] : b:NERDCommenterDelims['right']
line 5:
E121: Undefined variable: delim
E15: Invalid expression: delim ==# ''
line 17:
E121: Undefined variable: delim
E15: Invalid expression: delim
Error detected while processing function NERDComment[34]..44_CommentLines[19]..44_CanCommentLine[14]..44_IsCommentedNormOrSexy[9]..44_IsInSexyComment[1]..44_FindBoundingLinesOfSexyCom[5]..44_Multipart[1]..<SNR

44_Right:
line 3:
E121: Undefined variable: b:NERDCommenterDelims
E15: Invalid expression: has_key(params, 'alt') ? b:NERDCommenterDelims['rightAlt'] : b:NERDCommenterDelims['right']
line 5:
E121: Undefined variable: delim
E15: Invalid expression: delim ==# ''
line 17:
E121: Undefined variable: delim
E15: Invalid expression: delim
Error detected while processing function NERDComment[34]..44_CommentLines[19]..44_CanCommentLine[14]..44_IsCommentedNormOrSexy[9]..44_IsInSexyComment[1]..44_FindBoundingLinesOfSexyCom[8]..44_AltMultipart:
line 1:
E121: Undefined variable: b:NERDCommenterDelims
E15: Invalid expression: b:NERDCommenterDelims['rightAlt'] !=# ''
Error detected while processing function NERDComment[34]..44_CommentLines[22]..44_Nested:
line 1:
E121: Undefined variable: b:NERDCommenterDelims
E15: Invalid expression: b:NERDCommenterDelims['nested']
Error detected while processing function NERDComment[34]..44_CommentLines[23]..44_SwapOuterMultiPartDelimsForPlaceHolders[3]..44_Left:
line 3:
E121: Undefined variable: b:NERDCommenterDelims
E15: Invalid expression: has_key(params, 'alt') ? b:NERDCommenterDelims['leftAlt'] : b:NERDCommenterDelims['left']
line 5:
E121: Undefined variable: delim
E15: Invalid expression: delim ==# ''
line 17:
E121: Undefined variable: delim
E15: Invalid expression: delim
Error detected while processing function NERDComment[34]..44_CommentLines[23]..44_SwapOuterMultiPartDelimsForPlaceHolders[3]..44_Right:
line 3:
E121: Undefined variable: b:NERDCommenterDelims
E15: Invalid expression: has_key(params, 'alt') ? b:NERDCommenterDelims['rightAlt'] : b:NERDCommenterDelims['right']
line 5:
E121: Undefined variable: delim
E15: Invalid expression: delim ==# ''
line 17:
E121: Undefined variable: delim
E15: Invalid expression: delim
Error detected while processing function NERDComment[34]..44_CommentLines[23]..44_SwapOuterMultiPartDelimsForPlaceHolders[4]..44_Left:
line 3:
E121: Undefined variable: b:NERDCommenterDelims
E15: Invalid expression: has_key(params, 'alt') ? b:NERDCommenterDelims['leftAlt'] : b:NERDCommenterDelims['left']
line 5:
E121: Undefined variable: delim
E15: Invalid expression: delim ==# ''
line 17:
E121: Undefined variable: delim
E15: Invalid expression: delim
Error detected while processing function NERDComment[34]..44_CommentLines[23]..44_SwapOuterMultiPartDelimsForPlaceHolders[4]..44_Right:
line 3:
E121: Undefined variable: b:NERDCommenterDelims
E15: Invalid expression: has_key(params, 'alt') ? b:NERDCommenterDelims['rightAlt'] : b:NERDCommenterDelims['right']
line 5:
E121: Undefined variable: delim
E15: Invalid expression: delim ==# ''
line 17:
E121: Undefined variable: delim
E15: Invalid expression: delim
Error detected while processing function NERDComment[34]..44_CommentLines[28]..44_Left:
line 3:
E121: Undefined variable: b:NERDCommenterDelims
E15: Invalid expression: has_key(params, 'alt') ? b:NERDCommenterDelims['leftAlt'] : b:NERDCommenterDelims['left']
line 5:
E121: Undefined variable: delim
E15: Invalid expression: delim ==# ''
line 17:
E121: Undefined variable: delim
E15: Invalid expression: delim
Error detected while processing function NERDComment[34]..44_CommentLines[28]..44_Right:
line 3:
E121: Undefined variable: b:NERDCommenterDelims
E15: Invalid expression: has_key(params, 'alt') ? b:NERDCommenterDelims['rightAlt'] : b:NERDCommenterDelims['right']
line 5:
E121: Undefined variable: delim
E15: Invalid expression: delim ==# ''
line 17:
E121: Undefined variable: delim
E15: Invalid expression: delim
Error detected while processing function NERDComment[34]..44_CommentLines[28]..44_Left:
line 3:
E121: Undefined variable: b:NERDCommenterDelims
E15: Invalid expression: has_key(params, 'alt') ? b:NERDCommenterDelims['leftAlt'] : b:NERDCommenterDelims['left']
line 5:
E121: Undefined variable: delim
E15: Invalid expression: delim ==# ''
line 17:
E121: Undefined variable: delim
E15: Invalid expression: delim
Error detected while processing function NERDComment[34]..44_CommentLines[28]..44_Right:
line 3:
E121: Undefined variable: b:NERDCommenterDelims
E15: Invalid expression: has_key(params, 'alt') ? b:NERDCommenterDelims['rightAlt'] : b:NERDCommenterDelims['right']
line 5:
E121: Undefined variable: delim
E15: Invalid expression: delim ==# ''
line 17:
E121: Undefined variable: delim
E15: Invalid expression: delim
Error detected while processing function NERDComment[34]..44_CommentLines[35]..44_Left:
line 3:
E121: Undefined variable: b:NERDCommenterDelims
E15: Invalid expression: has_key(params, 'alt') ? b:NERDCommenterDelims['leftAlt'] : b:NERDCommenterDelims['left']
line 5:
E121: Undefined variable: delim
E15: Invalid expression: delim ==# ''
line 17:
E121: Undefined variable: delim
E15: Invalid expression: delim
Error detected while processing function NERDComment[34]..44_CommentLines[40]..44_Right:
line 3:
E121: Undefined variable: b:NERDCommenterDelims
E15: Invalid expression: has_key(params, 'alt') ? b:NERDCommenterDelims['rightAlt'] : b:NERDCommenterDelims['right']
line 5:
E121: Undefined variable: delim
E15: Invalid expression: delim ==# ''
line 17:
E121: Undefined variable: delim
E15: Invalid expression: delim

@alerque
Copy link
Member

alerque commented Dec 8, 2020

create a new file

How exactly do you do this? What filetype ends up being set in the resulting buffer?

@washtubs
Copy link

washtubs commented Dec 19, 2020

I don't know how this is possible but this happens to me when I require 'lspconfig'.sumneko_lua.setup {}. I literally narrowed it to this specific lspconfig of the 3 I have installed. Sorry I can't be more help, but I'm just disabling it for now cause I don't use it.

Presumably it's happening somewhere here: https://github.com/neovim/nvim-lspconfig/blob/master/lua/lspconfig/sumneko_lua.lua

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

No branches or pull requests

3 participants