haskell-vim-now
haskell-vim-now copied to clipboard
Error while processing function
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/
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?