5 Commits

Author SHA1 Message Date
8277ad04ab Add <> to % matches in cpp filetype 2022-02-03 14:25:41 +00:00
7491736987 Don't set nospell in requirements.txt 2021-07-12 13:47:00 +01:00
30c601e8b3 Add pip requirements.txt syntax highlighting 2021-07-12 13:36:44 +01:00
46d27c17fd Move formatexpr config in-tree, out of plugin
Introduces the `format` Python module which provides `clang_format()`
and `yapf()` functions which efficiently (compared to vimscript) invoke
`clang-format` or `yapf` respectively then apply the minimal number of
changes using `difflib.SequenceMatcher`.

Additionally, in order to invoke these Python functions add |autoload|
functions `format#clang_format()` and `format#yapf()` which can be
directly used by the 'formatexpr' setting.

Finally, add |ftplugin| files which set 'formatexpr' when the |autoload|
functions are available.
2021-04-19 20:10:29 +01:00
65d3e645b1 Add cmakecache filetype for CMakeCache.txt files 2019-10-04 20:30:04 +01:00