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

Error with orgmode files #360

Closed
robertgzr opened this issue Jan 1, 2019 · 4 comments
Closed

Error with orgmode files #360

robertgzr opened this issue Jan 1, 2019 · 4 comments

Comments

@robertgzr
Copy link

Error detected while processing /home/user/.config/nvim/plugged/vim-polyglot/ftplugin/org.vim:
line  174:
E171: Missing :endif

Looks like neovim doesn't like the embedded python blocks

@shuwens
Copy link

shuwens commented Jan 6, 2019

Yeah I have this problem too. Unfortunately doing a polyglot_disabled org can't help here

@gpanders
Copy link

gpanders commented Jan 8, 2019

Confirmed. Setting g:polyglot_disabled = ["org"] does not make the problem go away.

Changing line 110 of ftplugin/org.vim to

python << EOF

solves it.

@Oddegamra
Copy link

The whole orgmode folder containing the necessary python files from the original orgmode plugin is missing in this collection, which may be the root cause of the problems.

jreybert added a commit to jreybert/vim-polyglot that referenced this issue Feb 15, 2019
Disabling orgmode in polyglot works, but gives an error meesage at vim
startup.

To disable orgmode, add this line in vimrc:
```
let g:polyglot_disabled = ['org']
```

It makes the file ftplugin/org.vim syntax wrong, producing this error
message:

```
Error detected while processing
.../.vim/plugged/vim-polyglot/ftplugin/org.vim:
line  174:
E171: Missing :endif
E171: Missing :endif
```

Fix sheerun#360
@sheerun
Copy link
Owner

sheerun commented Mar 4, 2019

Fixed this with 1597b7b but I'm also removing orgmode plugin because it isn't lightweight anymore and requires python to set ORGMODE variable

@sheerun sheerun closed this as completed Mar 4, 2019
sheerun added a commit that referenced this issue Mar 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants