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.

1 Answer 1


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. Aug 3, 2015 at 12:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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