3

Currently I'm editing some SQLite scripts with my filetype set to ft=sql and some types aren't being highlighted and :

  • REAL
  • TEXT

There is some configuration that I'm missing ? I've searched for a syntax file specific for SQLite and didn't found any.

5

As far as I know Vim doesn't have special support for SQLite, but mysql should come pretty close for this purpose:

:SQLSetType mysql

For more information: :help ft_sql.txt.

  • Thanks, :SQLSetType was exactly what I needed. – vappolinario Aug 3 '15 at 12:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.