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

editing html files vs viewing html files #18

Open
fbrau opened this issue Feb 22, 2016 · 3 comments
Open

editing html files vs viewing html files #18

fbrau opened this issue Feb 22, 2016 · 3 comments

Comments

@fbrau
Copy link

fbrau commented Feb 22, 2016

The html viewer is cute and sometimes it saves the day but for serious development
or viewing is pretty vague.

Setting the syntax mode on the elvis.syn wont do nothing (I read it somewhere in the docs)
I have fixed syntax mode in elvis.arf (or elvis.brf, dont remember).

But now when I open the :help I get syntax mode too.

I think elvis should accept set declarations related to the syntax in elvis.syn (currently does not)
or even better some kind of pattern to decide which mode html files get considering
the help files should always be in html mode.

@ib
Copy link
Contributor

ib commented Feb 22, 2016

I can hardly understand what you are talking about.

You are opening html files in syntax mode instead of html mode and want to see help files in html mode? What about :display html then? (Or, without changing elvis' configuration, what about :display syntax html in a html file?)

@fbrau
Copy link
Author

fbrau commented Feb 22, 2016

.html files in sytax mode and help html files in htmlmode but automatically not calling display

@mbert
Copy link
Owner

mbert commented Feb 24, 2016

Thanks for the pull request, @fbrau , I'll take a look at it on the weekend. Regarding this debate - I've stumbled across this behaviour, too. However I got used to it. If somebody wants to create a patch, I'll be fine with it as long as any changed behaviour will be optional.

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

3 participants