-
copy into your .vim folder:
ftdetect indent syntax
-
or even better use one of the many plugin managers for vim
-
files ending with
.gringo
or.lp
will be highlighted then
rkaminsk/vim-syntax-clingo
📜 Syntax highlighting and auto indentation for clingo/gringo.
Vim ScriptNOASSERTION