haskell-vim-now icon indicating copy to clipboard operation
haskell-vim-now copied to clipboard

Error while processing function

Open tsoernes opened this issue 8 years ago • 1 comments

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/

tsoernes avatar Mar 03 '17 17:03 tsoernes

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?

begriffs avatar Mar 05 '17 20:03 begriffs