Giter Site home page Giter Site logo

Comments (11)

CorentinDeBoisset avatar CorentinDeBoisset commented on August 17, 2024 7

This is causing many issues with macos since the HFS+ file system is case-insensitive:

colors/darkBlue.vim and colors/darkblue.vim is clearly not working well in there

from vim-colorschemes.

alsemyonov avatar alsemyonov commented on August 17, 2024 2

And there is the same issue with colors/darkBlue.vim and colors/darkblue.vim on newer APFS.

Git always report dirty state of repo, and there is no way to checkout clean master branch.

Has anybody forked this repository to fix this ↑ issue already?

from vim-colorschemes.

flazz avatar flazz commented on August 17, 2024

do you have any data on how many existing color schemes violate this?

from vim-colorschemes.

haaspors avatar haaspors commented on August 17, 2024

Piggybacking on this issue,

I was trying out monokai today. To my surprise it didn't load:
colorscheme monokai

Error detected while processing $HOME/.vimrc:
line    6:
E185: Cannot find color scheme 'monokai'
Press ENTER or type command to continue

so I changed to colorscheme Monokai

Error detected while processing /usr/share/vim/vim74/syntax/synload.vim:
line   19:
E185: Cannot find color scheme 'monokai'
Press ENTER or type command to continue

after that I did mv Monokai.vim monokai.vim
which now works

using:

VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Oct 21 2015 13:03:49)
Included patches: 1-712
Modified by [email protected]
Compiled by buildd@

so yeah, this seems to work well on case sensitive filesystems </sarcasm>

from vim-colorschemes.

flazz avatar flazz commented on August 17, 2024

My current opinion is that this repo is true to upstream. If there is an issue preventing a colorscheme from being used maybe we take out the offending theme until upstream is fixed.

I'm open to discussion, but it might take a while.

from vim-colorschemes.

xbeta avatar xbeta commented on August 17, 2024

@flazz

I am not sure why is this not merged? The fix is obvious and simple, and it is impacting all case-insensitive filesystem (e.g. default APFS, Windows)

from vim-colorschemes.

chrispaterson avatar chrispaterson commented on August 17, 2024

I second the vote for this!

from vim-colorschemes.

flazz avatar flazz commented on August 17, 2024

sorry all for the late reply,

I was able to reproduce much of the complaint. I just did a fresh checkout on mojave and did :colorscheme Mono<TAB> and it works. dark blue didn't tab complete for me but did work when typing :colorscheme darkBlue and git does show colors/darkBlue.vim as modified.

So it seems there is an issue with git+apfs; an issue with vim's autocompletion. Is there any upstream knowledge around these?

Mandating all files are lower case will solve these specific issues, but will the root causes manifest outside of latin case?

from vim-colorschemes.

chris-roerig avatar chris-roerig commented on August 17, 2024

I agree an upstream fix would be better but I wonder how long that would take to trickle out.

from vim-colorschemes.

flazz avatar flazz commented on August 17, 2024

Someone want to get a branch (or three) up (apologies if one exists and I dismissed it) with changes specific to these files.

Let's get the changes out upstream too. Considering upstream traction we can work towards getting these into master.

Thanks for all the concern and patience folks.

from vim-colorschemes.

chris-roerig avatar chris-roerig commented on August 17, 2024

@flazz see #156

from vim-colorschemes.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.