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 while processing function #234

Open
tsoernes opened this issue Mar 3, 2017 · 1 comment
Open

Error while processing function #234

tsoernes opened this issue Mar 3, 2017 · 1 comment

Comments

@tsoernes
Copy link

tsoernes commented Mar 3, 2017

When opening a Haskell file, I get this:

"../.gitignore" [dos] 49L, 697C                                                                                                             
Error detected while processing function <SNR>21_WildignoreFromGitignore:                                                                   
line   14:                                                                                                                                  
E518: Unknown option: Items,.apdisk,dist/*,.stack-work/*                                                                                    
Press ENTER or type command to continue     

Does not occur when vimming normal files (but possibly with other git projects).

The gitignore file is an auto-generated one, which works in other environments:

# Windows image file caches
Thumbs.db
ehthumbs.db

# Folder config file
Desktop.ini

# Recycle Bin used on file shares
$RECYCLE.BIN/

# Windows Installer files
*.cab
*.msi
*.msm
*.msp

# Windows shortcuts
*.lnk

# =========================
# Operating System Files
# =========================

# OSX
# =========================

.DS_Store
.AppleDouble
.LSOverride

# Thumbnails
._*

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fsevents
```d
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Temporary Items
.apdisk

dist/
.stack-work/
@begriffs
Copy link
Owner

begriffs commented Mar 5, 2017

Thanks for the bug report, I just confirmed it on my own installation.

I discovered that the problem comes from the https://github.com/vim-scripts/gitignore plugin which we include in the vimrc.

Could you help me out and see if there's a better plugin we could use for this, or possibly fork and fix the existing one?

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

2 participants