Giter Site home page Giter Site logo

vim-tex-syntax's People

Contributors

gi1242 avatar konfekt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

neil-penning

vim-tex-syntax's Issues

Dollar in listing breaks highlighting

It seems that a dollar sign in program code enters math mode. Example:

\documentclass{article}

\usepackage{listings}

\begin{document}

\begin{lstlisting}[language=Haskell]
main = do
  val <- (read <$> getLine :: IO Int)
  print val
\end{lstlisting}

Highlighting no longer works here.

\end{document}

spell check title

For example the Beamer or BeamerPoster class require that \title{...}
be put Before \begin{document}.

Thus there is no spell check in the title string which, to the
over-reliant user, can end up embarrassing.

Is it possible to change the TeX syntax file so that \title{...} is
always spell checked, regardless if it comes before or after
\begin{document} ?

This happens with the original, as well as with this syntax file.

does not highlight `\emph{some text}`

This is what i get with your syntax file:

emph

This is what i have with my current:

mine

Also, superscripts and subscript are not highlighted, but that may be due to your style preferences.)
Otherwise, your new green highlighting in formulas is way better than the default.

conceallevel

Thanks for this plugin! The default syntax file blatantly misses on folding other environments than align and equation.

My issue: Is it on purpose or accident that g:tex_conceal in my case has no longer any effect?

Here are my settings:

let g:tex_isk = '48-57,a-z,A-Z,192-255'.",`,',-,:"
let g:tex_flavor = "latex"
let g:tex_comment_nospell= 1
let g:tex_verbspell= 0
let g:tex_conceal = 'abdgm'
let g:tex_fold_enabled=1

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.